• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 965
  • Last Modified:

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" />

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" />

Is there a process to get a WSDL similar to the original one?
1 Solution
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
are you implementing the web service for the given 3rd party WSDL?

I think here is a tool which can help you achieve it with any changes in the WSDL


Reference: http://stackoverflow.com/questions/3038785/how-do-i-create-a-web-service-in-visual-studio-net-using-a-wsdl-file
Bob LearnedCommented:
What are the namespaces in the 3rd party WSDL?
Web Service Contract First also known as WSCF.blue will help you.
cpertuzAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now