xml data exchange
here, i m developing a code in which i have to send a soap request to weblogic/tomcat server, in response i have to collect data in XML format.i m new to soap,,, plz help me. i m pasting my code with requests..
tell me , what more changes i have to make, do i needa java file of soaprequest.....tell in brief so that i can send request to destined server...
POST /filetransferAtResponse/FTService
HTTP/1.1
Host:"http:// xxxxxxxxxxxxxxxx:xxxx""
Content-Type: text/xml;
charset=utf-8
Connection: close
SOAPAction: " http://soapinterop.org/"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "
xmlns:soapenv="http://schemas.xmlsoap.org/soap/encoding/ "
xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<soap:Header>
<tns:LoginHeader>
<s1:username>xyz</s1:username>
<s1:password>xyz123</s1:password>
</tns:LoginHeader>
</soap:Header>
<soap:Body>
<tns:PNR search>
<tns:rec_loc>12345</tns:rec_loc>
<tns:pax_nam>y</tns:pax_nam>
<tns:flt_dep>y</tns:flt_dep>
<tns:flt_arr>y</tns:flt_arr>
</soap:Body>
</soap:Envelope>

