Solved

Need help with SOAP Request/Response

Posted on 2016-09-15
2
20 Views
Last Modified: 2016-11-02
I have never used SOAP before (please keep hygiene jokes to a minimum :) ) I have some API documentation of a product that uses the SOAP protocol to interface with an application server.

I have put together a simple xml code snippet and am trying to launch it from within my xml editor. Can I simply test the code by executing it from within my xml editor OR does the code have to be called from java or something else?

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

-<soap:Body>
-<IsAvailable xmlns="http://xxxxxxxxx">

        <tag1>val1</tag1>

        <tag2>val2</tag2>

</IsAvailable>
</soap:Body>
</soap:Envelope>

The above Method 'IsAvailable' should return a simple true or false based on the validation of the values of tag1 and tag2 at the nameservice location.

How can I simply test this xml code?

Thanks in advance for your help.
0
Comment
Question by:kbios
2 Comments
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 500 total points
ID: 41801406
If you send an XML, you probably try to call a webservice

Download SoupUI that's a ran nice Soap test tool.
Just crate a Soap project within SoapUI and add the WSDL to it.

SoapUI is generating all available functions and XML examples that you can use.

GoodLuck
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

Title # Comments Views Activity
c# advanced xml like string split - Help needed 15 73
character entities and entity references in XML 17 111
Path of Workbook 3 60
Adding Namespace to the second node of the xml 16 64
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

15 Experts available now in Live!

Get 1:1 Help Now