Solved

Need help with SOAP Request/Response

Posted on 2016-09-15
2
23 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

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