Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SOAP API to get the WSDL methods...

Posted on 2014-02-19
3
Medium Priority
?
372 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 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 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.
Suggested Courses

885 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