I need to invoke a Java Web service from a .NET client. The Java Web service is hosted on Apache-Axis using JBoss. How do I convert my WSDL created from Java services to the .NET client?
WSDL does not describe services with any specific programming language constructs or syntax. Therefore, a WSDL file describing a Web service implemented in Java can be translated to any other programming language using the appropriate utilities. Microsoft provides just such a utility called wsdl.exe. To use wsdl.exe to generate a C# client/proxy for a WSDL file located at http://hostname.com/wsdllocation, use the following command line:
wsdl /language:cs http://hostname.com/wsdllocation?wsdlname
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.