Solved

Need help with SOAP Request/Response

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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