aspose file tools*
The moose likes Web Services and the fly likes how to write soap sending message with java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "how to write soap sending message with java?" Watch "how to write soap sending message with java?" New topic
Author

how to write soap sending message with java?

Liz Brown
Ranch Hand

Joined: Oct 22, 2002
Posts: 112
i have a soap format:
POST /FinanceService/FinanceService.asmx HTTP/1.1
Host: wang.bp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.abc.com/finance/getQuote"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<QuoteRequest xmlns="http://www.abc.com/Finance/Request">
<symbol>string</symbol>
</QuoteRequest>
</soap:Body>
</soap:Envelope>
how to use soap api to send message?
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
Hi shivan,
If you are using Apache SOAP, the following steps you can follow to write full code.

Regards,
Ganapathy,S
[ December 30, 2003: Message edited by: S. Ganapathy ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to write soap sending message with java?