Solved

SOAP API to get the WSDL methods...

Posted on 2014-02-19
3
330 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

770 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