FYI, I am currently working on client side header support. Won't help you for now. I believe you could certainly use a handler to get the work done on the server.
Sylvain. -----Original Message----- From: Ramon Turnes [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:14 AM To: '[EMAIL PROTECTED]' Subject: Processing of headers Hi, my Web Service needs to process some SOAP headers targeteed at http://schemas.xmlsoap.org/soap/actor.next and with mustUnderstand set to 1. I get an axis exception on the server side because the headers are not processed. Should I write a handler to process the headers before they are delivered to my WS? how can I configure my WS so it processes all the SOAP headers? they are processed there? Thanks in advance. Ram�n. > -----Original Message----- > From: Chris Haddad [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 4:15 PM > To: [EMAIL PROTECTED] > Subject: RE: XML as a Parameter > > > Mark - > > Yes, an xml document can be passed as a parameter to an RPC > style call. > You can simple make the parameter a java.lang.String in your service > handler method. > > Deploy the service, and pull the wsdl using ?wsdl or running > Java2WSDL. > > A client stub generated using WSDL2Java then defines this code for the > client: > > javax.xml.rpc.namespace.QName p0QName = new > javax.xml.rpc.namespace.QName("", "credentials"); > > call.addParameter(p0QName, new > javax.xml.rpc.namespace.QName("http://schemas.xmlsoap.org/soap > /encoding/ > ", "string"), javax.xml.rpc.ParameterMode.PARAM_MODE_IN); > > .... > > Object resp = call.invoke(new Object[] {credentials}); > > > /Chris > > -----Original Message----- > From: Mark Kurley [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 9:52 AM > To: '[EMAIL PROTECTED]' > Subject: XML as a Parameter > > Is it possible to pass an xml document as a parameter for an > RPC call in > axis. With Apache-SOAP you can pass xml as a parameter using the > Constants.NS_URI_LITERAL_XML. I am looking for the > equivalent in axis. > > > > Thanks for the help in advance. > -mark > > > Visit our website at http://www.p21.com/visit > The information in this e-mail is confidential and may contain legally > privileged information. It is intended solely for the person > or entity > to > which it is addressed. Access to this e-mail by anyone else is > unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution, action taken, or action omitted to be taken in > reliance on it, is prohibited and may be unlawful. If you > received this > e-mail in error, please contact the sender and delete the > material from > any > computer. > > > > > This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
