Solved

SOAP API to get the WSDL methods...

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

757 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

18 Experts available now in Live!

Get 1:1 Help Now