0
Answer

how to consume java webservice in wpf C# using wsdl

Ask a question
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!!!!!!!!!!!!!!!!!!