RE: Axis2 : Namespace is incorrectly modified in the response !
I have created JIRA AXIS2-2066 (https://issues.apache.org/jira/browse/AXIS2-2066) for this issue. Gul -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 11:59 PM To: axis-user@ws.apache.org Subject: Re: Axis2 : Namespace is incorrectly modified in the response ! Hi Gul; Please create a JIRA and provide steps to re-create the issue. Thanks Deepal > > I am seeing very strange behavior in Axis2 with the namespace in the > responses. > > My web service uses RawXMLINOutMessageReceiver and > RawXMLINOnlyMessageReceiver message receivers. My service methods > (actions) look like : > > *public* OMElement method1(OMElement inputMsg)* throws* AxisFault { > OMElement response; > // prepare response > return response; > } > > What I am seeing is that the response I receive on the client side > contains a namespace that is different that what I set it to, > > On the server side. > > Just before return statements, my methods print response OMElement on > the server. In these printouts the namespaces are set to the correct > ones. However on the client side, I see entirely different namespace > inserted in to the responses. > > For example, printout from within my methods on the web service > implementation, I see something like this : > > ?xml version="1.0" encoding="UTF-8"?> > http://www.mycompany.com/*XX*";> > .. Other stuff > > > However, on the client side printout, I see namespace changed to > something else : > > ?xml version="1.0" encoding="UTF-8"?> > http://www.mycompany.com/*YY*";> > .. Other stuff > > > Any ideas ? > > Gul > -- Thanks, Deepal "The highest tower is built one brick at a time" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis2 : Namespace is incorrectly modified in the response !
Hi Gul; Please create a JIRA and provide steps to re-create the issue. Thanks Deepal > > I am seeing very strange behavior in Axis2 with the namespace in the > responses. > > My web service uses RawXMLINOutMessageReceiver and > RawXMLINOnlyMessageReceiver > message receivers. My service methods (actions) look like : > > *public* OMElement method1(OMElement inputMsg)* throws* AxisFault { > OMElement response; > // prepare response > return response; > } > > What I am seeing is that the response I receive on the client side > contains a namespace that is different that what I set it to, > > On the server side. > > Just before return statements, my methods print response OMElement on > the server. In these printouts the namespaces > are set to the correct ones. However on the client side, I see > entirely different namespace inserted in to the responses. > > For example, printout from within my methods on the web service > implementation, I see something like this : > > ?xml version="1.0" encoding="UTF-8"?> > http://www.mycompany.com/*XX*";> > .. Other stuff > > > However, on the client side printout, I see namespace changed to > something else : > > ?xml version="1.0" encoding="UTF-8"?> > http://www.mycompany.com/*YY*";> > .. Other stuff > > > Any ideas ? > > Gul > -- Thanks, Deepal "The highest tower is built one brick at a time" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis2 : Namespace is incorrectly modified in the response !
I am seeing very strange behavior in Axis2 with the namespace in the responses. My web service uses RawXMLINOutMessageReceiver and RawXMLINOnlyMessageReceiver message receivers. My service methods (actions) look like : public OMElement method1(OMElement inputMsg) throws AxisFault { OMElement response; // prepare response return response; } What I am seeing is that the response I receive on the client side contains a namespace that is different that what I set it to, On the server side. Just before return statements, my methods print response OMElement on the server. In these printouts the namespaces are set to the correct ones. However on the client side, I see entirely different namespace inserted in to the responses. For example, printout from within my methods on the web service implementation, I see something like this : ?xml version="1.0" encoding="UTF-8"?> http://www.mycompany.com/XX";> .. Other stuff However, on the client side printout, I see namespace changed to something else : ?xml version="1.0" encoding="UTF-8"?> http://www.mycompany.com/YY";> .. Other stuff Any ideas ? Gul