Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
how to consume java webservice in wpf C# using wsdl
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
punitha purusothaman
12y
2k
1
Reply
ServiceReference4.WebserviceClient p = new ServiceReference4.WebserviceClient();
ServiceReference4.Cuisine_BE cui = new ServiceReference4.Cuisine_BE();
cui = p.getcuisine("Italian");
i used this for consuming the java webservice through wsdl..
am getting an error in this line cui=p.getcuisine("Italian");
An error s
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://webservice.restaurant.notionss:getcuisineResponse. The InnerException message was 'Error in line 1 position 389. 'EndElement' 'getcuisineReturn' from namespace 'http://webservice.restaurant.notionss' is not expected. Expecting element 'cuisineno'.'. Please see InnerException for more details.
what to do for this???????????
i searched lot of websites!!!!!!!!!!!!!!!!!!
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
WindowsFormsHost web browser is not supported ActiveX controls in wpf application
How to isntall WPF for VS2005 with .net version 2.0