Hello,
 I would have need of an example of message-oriented services in apache SOAP.
The documentation says:
message-oriented service implementations must all conform to a single interface:
void name(SOAPEnvelope request-envelope, SOAPContext request-context, SOAPContext response-context)

where name is the name of the method/function, request-envelope is the SOAPEnvelope containing the incoming message, request-context is the SOAPContext for the incoming message, and response-context is the SOAPContext which may be used for a response if one is needed.

If the communications transport which you are using supports two-way interaction, such as HTTP, then you can use the response context to send a response back to the client. If you want to send a SOAP Envelope back to the client, you can use the org.apache.soap.Envelope's marshall(...) method to marshall your envelope to a java.io.StringWriter, and then invoke the response context's setRootPart(...) method, passing the StringWriter as the first argument. If you want to send back any other data types, then you may need to invoke other methods in the response context.

I'm novice in SOAP message services, I would have need of code java to study.
Thanks

----
Prendi GRATIS l'email universale che ti paga: clicca qui

Sponsor:Una chiocciola d'argento simbolo della rete in omaggio.
Clicca qui

Reply via email to