HI Thomas
In fact messaging style services are lot more easies when the size of
the payload is very high it takes of the burden of marshalling and
demarshalling also it case U want to sent documents there is no
substitute.

I am enclosing an example on that, try this one.

IMP: Just type anything as argument when you run the client, say your
name "Thomas"
Krish

-----Original Message-----
From: Thomas Forrester [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 14, 2004 6:56 PM
To: [EMAIL PROTECTED]
Subject: Does anyone use the message style services in AXIS or is every
oneusing RPC style only?

Does anyone out there use the message style services?

I am coming to the impression that nobody uses these methods, everyone
uses the RPC style.

Is this the case, if so what do people use for Message style web
services, the JAAXM API's in the JWSDP possibly?
I would appreciate some dialog on this subject to get on the right
track.
I am of the feeling that if I use the JWSDP API's that both Server and
Client have to have be developed with them (but not sure of my ground
here).

I have looked into the AXIS message service, but have not been able to
get much further than the sing SOAPBodyElement example, and there seems
to be little or no other information out there.

The message style signatures mentioned in the Axis User Guide are:
public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
public Document method(Document body);
public void method(SOAPEnvelope req, SOAPEnvelope resp);

Any help in this direction will be very welcome.

Message style web service seem best for my problem area, which is to
create a server that polls a database for info, when found that info is
sent to a web service as an XML document, and the server deals with any
SOAP faults in the response.

Thanks,

Tom

Attachment: GetSession.java
Description: GetSession.java

Attachment: undeploy.wsdd
Description: undeploy.wsdd

Attachment: Client.java
Description: Client.java

Attachment: deploy.wsdd
Description: deploy.wsdd

Attachment: EnvelopeService.java
Description: EnvelopeService.java

Reply via email to