Re: [Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-13 Thread Paul Fremantle
Tony The URL you are using is not a SOAP endpoint URL. Maybe that is what is wrong!? Paul On 11/12/06, Tony Fang [EMAIL PROTECTED] wrote: Hi, there. I always get the exception like org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already been done.; nested

Re: [Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-13 Thread Tony Fang
Yes, I find I Used wrong URL, and I should send the Operation instead of send whole SOAP Envelope. Thanks Tony 2006/11/13, Paul Fremantle [EMAIL PROTECTED]: TonyThe URL you are using is not a SOAP endpoint URL.Maybe that is what is wrong!? PaulOn 11/12/06, Tony Fang [EMAIL PROTECTED] wrote: Hi,

[Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-12 Thread Tony Fang
Hi, there.I always get the exception like org.apache.axis2.AxisFault: Can not outputXML declaration, after other output has already been done.; nested exceptionis: when I try to run the following code. Does some one also meet this AxisFault before?you can find the Web Service here, both WSDL

Re: [Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-12 Thread Paul Fremantle
Tony I can't see the SOAP response. Can you please repost it? Ta Paul On 11/12/06, Tony Fang [EMAIL PROTECTED] wrote: Hi, there. I always get the exception like org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already been done.; nested exception is: when I

Re: [Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-12 Thread Paul Fremantle
Also, can you please use TCPMON to capture the actual request/response that you are getting from Axis2. Paul On 11/12/06, Paul Fremantle [EMAIL PROTECTED] wrote: Tony I can't see the SOAP response. Can you please repost it? Ta Paul On 11/12/06, Tony Fang [EMAIL PROTECTED] wrote: Hi, there.

Re: [Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-12 Thread Tony Fang
HI, Paul you can find the all the related source here. http://www.xignite.com/xFutures.asmx/GetFutureSymbol the response should like ?xml version=1.0 encoding=utf-8 ? FutureSymbol xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance

Fw: [Axis2][SOAP]Can not output XML declaration, after other output has already been done.

2006-11-12 Thread Martin Gainty
: Sunday, November 12, 2006 8:27 AM Subject: Re: [Axis2][SOAP]Can not output XML declaration, after other output has already been done. Also, can you please use TCPMON to capture the actual request/response that you are getting from Axis2. Paul On 11/12/06, Paul Fremantle [EMAIL PROTECTED