Solved

SOAP API to get the WSDL methods...

Posted on 2014-02-19
3
327 Views
Last Modified: 2016-02-26
I have been given a WSDL from a vendor of ours.  They have a ton of operations like:

operation name="pullData"

Which I can add a service reference in visual studio 2013 and use the operations as methods in C#.  However, the vendor has given us code in Java that references the <service name="Xyz">.  How could I leverage that?

They use Xyz like methods as if it were a namespace.  When I new that up, I get no methods at all?
0
Comment
Question by:cyimxtck
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Valeri
ID: 39872858
service name is not so important...
the important thing is "soap:address" and the value of "location"
0
 

Author Comment

by:cyimxtck
ID: 39873225
But they use it and I need to use it....
0
 
LVL 16

Accepted Solution

by:
Valeri earned 500 total points
ID: 39873325
As I understood you have to create your own stub in C# from the wsdl file, then you have to be able to see the methods...?!
does the wsdl file that you have received the same that the wsdl from the service?
take the value of "location" attribute, add "?wsdl" at the end and get the wsdl from the browser. if the wsdl is the same, then you are doing something in wrong way, if you are not able to see the methods of the service.
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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

910 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

22 Experts available now in Live!

Get 1:1 Help Now