J
jms
I want to build a client to consume some webservices.
The SOAP payload is quite simple:
<mns:getList xmlns:mns="urn:asbws" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<parm1 xsi:type="xsd:string">12345</parm1>
<parm2 xsi:type="xsd:string">unix</parm2>
<parm3 xsi:type="xsd:string">test</parm3>
<parm4 xsi:type="xsd:int">911</parm4>
</mns:getList>
So I do not need tools to create this. I can make a simple HTTP POST over an HttpURLConnection.
But if there is a lightweight tool...ok.
The resulting XML is a bit more tricky because it contains multiRef-tags.
So the question is: which toolbox/API should I use for constructing and parsing the XML?
(I do not prefer tool collections which have a few MB when the task can be done with telnet
Or is it ok to do it with javax.xml ?
Martin
The SOAP payload is quite simple:
<mns:getList xmlns:mns="urn:asbws" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<parm1 xsi:type="xsd:string">12345</parm1>
<parm2 xsi:type="xsd:string">unix</parm2>
<parm3 xsi:type="xsd:string">test</parm3>
<parm4 xsi:type="xsd:int">911</parm4>
</mns:getList>
So I do not need tools to create this. I can make a simple HTTP POST over an HttpURLConnection.
But if there is a lightweight tool...ok.
The resulting XML is a bit more tricky because it contains multiRef-tags.
So the question is: which toolbox/API should I use for constructing and parsing the XML?
(I do not prefer tool collections which have a few MB when the task can be done with telnet
Or is it ok to do it with javax.xml ?
Martin