Solved

Need help with SOAP Request/Response

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
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 …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

735 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