Re: Retrieving data from a SOAP packet

2002-06-06 Thread Sudhir
tegrity without knowledge is weak and useless, and knowledge without integrity is dangerous and dreadful. - Original Message - From: Chris Haddad To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 8:52 AM Subject: RE: Retrieving data from a SOAP packet

RE: Retrieving data from a SOAP packet

2002-06-06 Thread Chris Haddad
get the wsdl, and generate a client using wsdl2java.   Hope this helps,   /Chris     -Original Message- From: Anna Chen [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: Re: Retrieving data from a SOAP packet   Ok, here is my actual c

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Paul Johnston
Anna,   You are a star!  Thanks loads for that.  It does exactly what I need it to!   Thanks loads   Paul - Original Message - From: Anna Chen To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 3:57 PM Subject: Re: Retrieving data from a SOAP packet Ok

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Anna Chen
Ok, here is my actual code: javax.xml.rpc.namespace.QName p0QName = new javax.xml.rpc.namespace.QName("controtex.com", "code1");     call.addParameter(p0QName, new javax.xml.rpc.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, javax.xml.rpc.ParameterMode.IN);

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Paul Johnston
Here is the code I am using:       Service  service = new Service();    Call call    = (Call) service.createCall();        // create the endpoint URL    String endpoint = "http://localhost:8900/Soap-Control";    // set up the call information    ca

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Anna Chen
Maybe you could try to use: RPCElement[] input = new RPCElement[1];     RPCParam arg1 = new RPCParam("XXXnamespace", "XXXparameter name", (Object)parameter value));     input[0] = new RPCElement("XXXnamespace", "XXXmethod name", new Object[]{arg1});     Vector  elems =

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Paul Johnston
Still having a problem... Getting quite urgent now! > > I suppose you mean deserialization and not serialization. If you have a > service in Axis: I have sent the SOAP request and the response is throwing an error: [java] - Exception: [java] org.xml.sax.SAXException: SimpleDeser canno

RE: Retrieving data from a SOAP packet

2002-05-28 Thread Ramon Turnes
I suppose you mean deserialization and not serialization. If you have a service in Axis: request = MessageContext.getCurrentContext().getRequestMessage(); returns you the request message. And envelope = request.getSOAPEnvelope(); returns you the SOAPEnvelope and enve