Link to home
Start Free TrialLog in
Avatar of cpertuz
cpertuz

asked on

Duplicate WSDL from third party WSDL

I was given a WSDL from a third party. Using the wsdl tool (Visual Studio 2008 Command Prompt) I generated the Data Contract classes:

wsdl /language:CS /serverInterface wsdl_location

Now I have the "skeleton interface" of my web service. I deployed to my QA environment, but the WSDL I get from this newly created web service is quite different from the third party WSDL, example:

Original WSDL:

<wsdl:operation name="syncProduct">
      <wsdl:input message="tns:syncProductRequest" name="syncProductRequest"/>
      <wsdl:output message="tns:syncProductResponse" name="syncProductResponse"/>
      <wsdl:fault message="tns:syncProductError" name="syncProductError" />
</wsdl:operation>

Regenerated WSDL:

<wsdl:operation name="syncProduct">
      <wsdl:input wsaw:Action="http://tempuri.org/IeMenuWebService/syncProduct" message="tns:IeMenuWebService_syncProduct_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IeMenuWebService/syncProductResponse" message="tns:IeMenuWebService_syncProduct_OutputMessage" />
</wsdl:operation>

Is there a process to get a WSDL similar to the original one?
ASKER CERTIFIED SOLUTION
Avatar of Siva Prasanna Kumar
Siva Prasanna Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What are the namespaces in the 3rd party WSDL?
Web Service Contract First also known as WSCF.blue will help you.
Avatar of cpertuz
cpertuz

ASKER

The tool provided in the link was very helpful. I thought that .Net would generate automatically the same WSDL provided by the third party, but it looks like you have to upload it manually.