I'm trying to write java code to create the following SOAP message and return message, and am wondering if someone could please talk me through it? (PS I've starred out parts of it as they are private to my company!)
Expand|Select|Wrap|Line Numbers
- POST /*****/*****.asmx HTTP/1.1
- Host: localhost
- Content-Type: application/soap+xml; charset=utf-8
- Content-Length: length
- <?xml version="1.0" encoding="utf-8"?>
- <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
- <soap12:Body>
- <GetList xmlns="http://***.***.***.***/***">
- <requestId>long</requestId>
- <laNumber>int</laNumber>
- <hashCode>string</hashCode>
- </GetList>
- </soap12:Body>
- </soap12:Envelope>
- HTTP/1.1 200 OK
- Content-Type: application/soap+xml; charset=utf-8
- Content-Length: length
- <?xml version="1.0" encoding="utf-8"?>
- <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
- <soap12:Body>
- <GetListResponse xmlns="http://***.***.***.***/***">
- <GetListResult>xml</GetListResult>
- </GetListResponse>
- </soap12:Body>
- </soap12:Envelope>
Thanks