We're using the JAXM package to generate SOAP Messages with code out of the JAXM package. And I've been told one can (will be able to) use JAXM with Axis.
Something like the following. MessageFactory mf = MessageFactory.newInstance(); SOAPMessage msg = mf.createMessage(); SOAPPart sp = msg.getSOAPPart(); SOAPEnvelope envelope = sp.getEnvelope(true); SOAPHeader hdr = envelope.getHeader(); SOAPBody bdy = envelope.getBody(); ... SOAPMessage reply = con.call(msg, urlEndpoint); For our needs we haven't needed RPC over soap yet, and have just needed to pass around SOAP messages w/ attachments. I'm sure the RPC side is equally distinct, and SOAP seems very flexible. I'm always hearing people talking about passing entire messages as Strings or doing this or that via messaging and or rpc. - HTH -----Original Message----- From: Krishnamurthy, Ramanathan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 5:43 PM To: '[EMAIL PROTECTED]' Subject: RPC Vs Messaging Is this distinction necessary ? Isn't messaging a special case of RPC. I recently moved from SOAP_2_2 to Axis. And axis doesn't seem to differentiate the two. Thanks for any insight. ram ---------------------------------------------------------------------------- ------------ Ramanathan Krishnamurthy AP Engines, Inc. Five Clock Tower Place, Suite 250 Maynard, MA 01754