Solved

Duplicate WSDL from third party WSDL

Posted on 2010-11-10
4
931 Views
Last Modified: 2013-12-17
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?
0
Comment
Question by:cpertuz
4 Comments
 
LVL 23

Accepted Solution

by:
Siva Prasanna Kumar earned 250 total points
ID: 34110275
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

http://wscfblue.codeplex.com/

Reference: http://stackoverflow.com/questions/3038785/how-do-i-create-a-web-service-in-visual-studio-net-using-a-wsdl-file
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 34111988
What are the namespaces in the 3rd party WSDL?
0
 
LVL 13

Expert Comment

by:SameerJagdale
ID: 34117757
Web Service Contract First also known as WSCF.blue will help you.
0
 

Author Closing Comment

by:cpertuz
ID: 34243033
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.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn how to count occurrences of each item in an array.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now