Solved

SOAP API to get the WSDL methods...

Posted on 2014-02-19
3
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Calendar Control 5 54
Run tasks synchronously in background thread 19 82
aspx ascx, c# 7 45
Load XML element 3 43
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

710 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