| Author |
Constructing SOAP Request
|
babu babu
Greenhorn
Joined: Apr 01, 2005
Posts: 1
|
|
I trying to construct a SOAP request using SAAJ APIs. The operation name is "stop" and below xml is the parameter <?xml version="1.0" encoding="UTF-8"?> <McomStopRunningMandateRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\tibco\administrator\5.1\tomcat\webapps\ROOT\rm_cc\css\pub\request_message_mandateterminate_css\css\Main.xsd"> <MSISDN>+0000</MSISDN> <Mandate_ID>xxxxxxxxxxxxxxxx:xxxx</Mandate_ID> </McomStopRunningMandateRequest> Are there any API's available to convert the avive into SOAP message. Can anyone help me ? Thanks in advance , Babu
|
 |
William Barnes
Ranch Hand
Joined: Mar 16, 2001
Posts: 965
|
|
SAAJ is the low level way of doing this. JAX-RPC is built on top of SAAJ and does a lot of the work for you. But to answer your question the SAAJ api is javax.xml.soap and you would use "addBodyElement" method from the SOAPElement class. This is assuming you have lots of other stuff set up correctly also.
|
Please ignore post, I have no idea what I am talking about.
|
 |
 |
|
|
subject: Constructing SOAP Request
|
|
|