axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishnu Vardhan Reddy" <>
Subject RE: AXIS2 WebServices: Processing Response which does not contain SOAP Headers
Date Wed, 25 Nov 2009 11:29:43 GMT
AIXS2 version using in application is  axis2-1.4.1

I am sending and receiving plain/XMl (SOAP 1.1 Request and Response)


Problem is response from server is plain xml it does not contain any
SOAP headers. but operation client is expecting SOAP headers to process
the response XML .







From: Amila Suriarachchi [] 
Sent: Wednesday, November 25, 2009 4:38 PM
Subject: Re: AXIS2 WebServices: Processing Response which does not
contain SOAP Headers



On Wed, Nov 25, 2009 at 4:22 PM, Vishnu Vardhan Reddy
<> wrote:

HI ,


I am using AXIS2 client API to invoke third party web services. Response
we are getting from  the web service is XML but it doe contain any SOAP
headers its just plain xml file as response, but while sending request
it includes SOAP Headers .I cheeked the response though TC/IP monitor,
receiving plain XML file .Client API is giving following error while
processing the response XML SOAPProcessingException: First Element must
contain the local name, Envelope .

What is the Axis2 version you use?
What is the content type of the response? if it is application/xml the
it should process as a plain xml file.



	How can we force Operation client to by pass soap header
processing and getting XML file and process by AXIOM.


	Thanks in advance for your kind support.


	Thanks & regards,




Amila Suriarachchi
WSO2 Inc.

View raw message