Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-15 Thread Harald Herrmann

Hi everyone,

Here's some additional info to my problem:

I made a simple but interesting experiment: I wrote a HTML form to post 
something to the webservice

and debugged the AxisServlet.doPost() method as before.
This time the InputStream contained the data I posted.
The webservice failed of course, as the posted data was no valid soap 
request.


But something seems to cut off the request body if it's containing XML.

Regards,
H. Herrmann



Hi everyone,

I get following exception as response when accessing the Version 
webservice from the Axis 2-1.1

distribution:

org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: 
Unexpected EOF in prolog

 at [row,col {unknown-source}]: [1,0]
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)

at sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
at Test.start(Test.java:11)
at Test.main(Test.java:18)

I generated the stub classes with wsdl2java and wrote following test 
class:


import sample.axisversion.VersionStub;
import sample.axisversion.VersionStub.GetVersionResponse;

public class Test {

public void start()
throws Exception
{
VersionStub versionStub = new 
VersionStub("http://localhost:8080/axis2/services/Version";);

GetVersionResponse response = versionStub.getVersion();
System.out.println(response.get_return());
}

public static void main(String[] args)
throws Exception{
Test test = new Test();
test.start();
}

}
   


This is my system:
Windows XP (SP2)
Java 1.5.0 Update 10
Apache Tomcat 6.0.2
Axis 2-1.1 webapp (from war file)

Tomcat starts up without error messages, and the Axis2 webapp is 
available. The Version service and

its operation getVersion is listed and marked as active.

The validation page shows following message:
 There was a problem in Axis2 version service , may be the service not 
available or some thing has gone
 wrong. But this does not mean system is not working ! Try to upload 
some other service and check to see

 whether it is working.

The rest of this page seems to be ok (I also get the message "The core 
axis2 libraries are present.").




I did some debugging and found out that in the 
AxisServlet.doPost()-method the HttpServletRequest's

InputStream is empty.

I checked the communication with TCPMon - but the request seemed to be ok.
Here are the messages:

Request:
POST /axis2/services/Version HTTP/1.1
User-Agent: Axis2
Host: 127.0.0.1:
Transfer-Encoding: chunked
Content-Type: application/soap+xml; 
charset=UTF-8;action="urn:getVersion";


c0
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>/>

0

Response:
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=63E04CA3673054DE46016A969755DF4B; Path=/axis2
Content-Type: application/soap+xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 15 Dec 2006 16:43:19 GMT
Connection: close

320
xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>http://www.w3.org/2005/08/addressing/noneurn:uuid:759F1D5C854B55ED1511662009998903http://www.w3.org/2005/08/addressing/soap/faultsoapenv:Senderxml:lang="en-US">com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in 
prolog
 at [row,col {unknown-source}]: 
[1,0]

0



Does anyone have a clue?

Thanks and best regards,
H. Herrmann




--

? TourismusSuite - Ihre Destination im Griff
++ Internet Booking Engine ++ Touristisches Content Management ++ 
Destinations Management


Erfahren Sie mehr unter www.tourismussuite.com 



--
*Harald Herrmann*
Backend / Entwicklung

inexweb ralf emanuel GmbH
Hellersbergstraße 2a
D-41460 Neuss
Fon: +49 (0) 21 31 / 3 66 60-84
Fax: +49 (0) 21 31 / 3 66 60-88
www.inexweb.de 


Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-16 Thread moxi moxi

I have the same problem,

I wrote a dotNET client, !surprise my WebService is working!, the problem
is  when I call webservice with the  generated stub classes(Axis2, release
1.1).

   org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
   at org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:308)
   at ...



2006/12/15, Harald Herrmann <[EMAIL PROTECTED]>:


 Hi everyone,

Here's some additional info to my problem:

I made a simple but interesting experiment: I wrote a HTML form to post
something to the webservice
and debugged the AxisServlet.doPost() method as before.
This time the InputStream contained the data I posted.
The webservice failed of course, as the posted data was no valid soap
request.

But something seems to cut off the request body if it's containing XML.

Regards,
H. Herrmann


 Hi everyone,

I get following exception as response when accessing the Version
webservice from the Axis 2-1.1
distribution:

org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
at org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:308)
at sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
at Test.start(Test.java:11)
at Test.main(Test.java:18)

I generated the stub classes with wsdl2java and wrote following test
class:

import sample.axisversion.VersionStub;
import sample.axisversion.VersionStub.GetVersionResponse;

public class Test {

public void start()
throws Exception
{
VersionStub versionStub = new VersionStub(
"http://localhost:8080/axis2/services/Version";
);
GetVersionResponse response = versionStub.getVersion();
System.out.println(response.get_return());
}

public static void main(String[] args)
throws Exception{
Test test = new Test();
test.start();
}

}


This is my system:
Windows XP (SP2)
Java 1.5.0 Update 10
Apache Tomcat 6.0.2
Axis 2-1.1 webapp (from war file)

Tomcat starts up without error messages, and the Axis2 webapp is
available. The Version service and
its operation getVersion is listed and marked as active.

The validation page shows following message:
 There was a problem in Axis2 version service , may be the service not
available or some thing has gone
 wrong. But this does not mean system is not working ! Try to upload some
other service and check to see
 whether it is working.

The rest of this page seems to be ok (I also get the message "The core
axis2 libraries are present.").



I did some debugging and found out that in the AxisServlet.doPost()-method
the HttpServletRequest's
InputStream is empty.

I checked the communication with TCPMon - but the request seemed to be ok.
Here are the messages:

Request:
POST /axis2/services/Version HTTP/1.1
User-Agent: Axis2
Host: 127.0.0.1:
Transfer-Encoding: chunked
Content-Type: application/soap+xml;
charset=UTF-8;action="urn:getVersion";

c0
http://www.w3.org/2003/05/soap-envelope";>
0

Response:
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=63E04CA3673054DE46016A969755DF4B; Path=/axis2
Content-Type: application/soap+xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 15 Dec 2006 16:43:19 GMT
Connection: close

320
http://www.w3.org/2005/08/addressing";xmlns:soapenv=
"http://www.w3.org/2003/05/soap-envelope";
>
http://www.w3.org/2005/08/addressing/none
urn:uuid:759F1D5C854B55ED1511662009998903
http://www.w3.org/2005/08/addressing/soap/faultsoapenv:Sendercom.ctc.wstx.exc.WstxEOFException: Unexpected EOF in
prolog
 at [row,col {unknown-source}]:
[1,0]
0



Does anyone have a clue?

Thanks and best regards,
H. Herrmann



--

► TourismusSuite - Ihre Destination im Griff
 ++ Internet Booking Engine ++ Touristisches Content Management ++
Destinations Management

 Erfahren Sie mehr unter www.tourismussuite.com
--
 *Harald Herrmann*
Backend / Entwicklung

inexweb ralf emanuel GmbH
Hellersbergstraße 2a
D-41460 Neuss
Fon: +49 (0) 21 31 / 3 66 60-84
Fax: +49 (0) 21 31 / 3 66 60-88
www.inexweb.de



Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-16 Thread Thilina Gunarathne

Please log a Jira.. If possible attach your client as well..

~Thilina

On 12/16/06, moxi moxi <[EMAIL PROTECTED]> wrote:

I have the same problem,

I wrote a dotNET client, !surprise my WebService is working!, the problem is
 when I call webservice with the  generated stub classes(Axis2, release
1.1).

 org.apache.axis2.AxisFault:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
  at [row,col {unknown-source}]: [1,0]
 at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
 at ...



2006/12/15, Harald Herrmann <[EMAIL PROTECTED] >:
>
> Hi everyone,
>
> Here's some additional info to my problem:
>
> I made a simple but interesting experiment: I wrote a HTML form to post
something to the webservice
> and debugged the AxisServlet.doPost() method as before.
> This time the InputStream contained the data I posted.
> The webservice failed of course, as the posted data was no valid soap
request.
>
> But something seems to cut off the request body if it's containing XML.
>
> Regards,
> H. Herrmann
>
>
>
> Hi everyone,
>
> I get following exception as response when accessing the Version
webservice from the Axis 2-1.1
> distribution:
>
> org.apache.axis2.AxisFault:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
> at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
> at
sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
> at Test.start(Test.java:11)
> at Test.main(Test.java:18)
>
> I generated the stub classes with wsdl2java and wrote following test
class:
>
> import sample.axisversion.VersionStub;
> import
sample.axisversion.VersionStub.GetVersionResponse;
>
> public class Test {
>
> public void start()
> throws Exception
> {
> VersionStub versionStub = new
VersionStub("http://localhost:8080/axis2/services/Version";);
> GetVersionResponse response = versionStub.getVersion();
> System.out.println(response.get_return());
> }
>
> public static void main(String[] args)
> throws Exception{
> Test test = new Test();
> test.start();
> }
>
> }
>
>
> This is my system:
> Windows XP (SP2)
> Java 1.5.0 Update 10
> Apache Tomcat 6.0.2
> Axis 2-1.1 webapp (from war file)
>
> Tomcat starts up without error messages, and the Axis2 webapp is
available. The Version service and
> its operation getVersion is listed and marked as active.
>
> The validation page shows following message:
>  There was a problem in Axis2 version service , may be the service not
available or some thing has gone
>  wrong. But this does not mean system is not working ! Try to upload some
other service and check to see
>  whether it is working.
>
> The rest of this page seems to be ok (I also get the message "The core
axis2 libraries are present.").
>
>
>
> I did some debugging and found out that in the AxisServlet.doPost()-method
the HttpServletRequest's
> InputStream is empty.
>
> I checked the communication with TCPMon - but the request seemed to be ok.
> Here are the messages:
>
> Request:
> POST /axis2/services/Version HTTP/1.1
> User-Agent: Axis2
> Host: 127.0.0.1:
> Transfer-Encoding: chunked
> Content-Type: application/soap+xml;
charset=UTF-8;action="urn:getVersion";
>
> c0
> http://www.w3.org/2003/05/soap-envelope";>
> 0
>
> Response:
> HTTP/1.1 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Set-Cookie:
JSESSIONID=63E04CA3673054DE46016A969755DF4B; Path=/axis2
> Content-Type: application/soap+xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 15 Dec 2006 16:43:19 GMT
> Connection: close
>
> 320
> http://www.w3.org/2005/08/addressing";
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
http://www.w3.org/2005/08/addressing/noneurn:uuid:759F1D5C854B55ED1511662009998903
http://www.w3.org/2005/08/addressing/soap/faultsoapenv:Sendercom.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
>  at [row,col {unknown-source}]:
[1,0]
> 0
>
>
>
> Does anyone have a clue?
>
> Thanks and best regards,
> H. Herrmann
>
>
>
>
> --
>
>
> ► TourismusSuite - Ihre Destination im Griff
>  ++ Internet Booking Engine ++ Touristisches Content Management ++
Destinations Management
>
>  Erfahren Sie mehr unter www.tourismussuite.com --
> Harald Herrmann
> Backend / Entwicklung
>
> inexweb ralf emanuel GmbH
> Hellersbergstraße 2a
> D-41460 Neuss
> Fon: +49 (0) 21 31 / 3 66 60-84
> Fax: +49 (0) 21 31 / 3 66 60-88
> www.inexweb.de





--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/


Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-16 Thread Martin Gainty
Moxo/Hermann
for verifying proper response for method getVersion as a quick check  can you 
go to your version wsdl located at
http://localhost:8080/axis2/services/version?wsdl
your prolog should look something like
http://schemas.xmlsoap.org/wsdl/"; 
xmlns:axis2="http://ws.apache.org/axis2"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:ns0="http://axisversion.sample/xsd"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:ns1="http://org.apache.axis2/xsd"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
targetNamespace="http://ws.apache.org/axis2";>

any whitespace characters (space,tab,any non-displayable characters) before 

-   
-   


 


Thanks,
M-
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
  - Original Message ----- 
  From: moxi moxi 
  To: axis-user@ws.apache.org 
  Sent: Saturday, December 16, 2006 12:06 PM
  Subject: Re: [Axis2] com.ctc.wstx.exc.WstxEOFException


  I have the same problem, 

  I wrote a dotNET client, !surprise my WebService is working!, the problem is  
when I call webservice with the  generated stub classes(Axis2, release 1.1).

  org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: Unexpected 
EOF in prolog
   at [row,col {unknown-source}]: [1,0]
  at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
  at ...




  2006/12/15, Harald Herrmann <[EMAIL PROTECTED] >:
Hi everyone,

Here's some additional info to my problem:

I made a simple but interesting experiment: I wrote a HTML form to post 
something to the webservice
and debugged the AxisServlet.doPost() method as before.
This time the InputStream contained the data I posted. 
The webservice failed of course, as the posted data was no valid soap 
request.

But something seems to cut off the request body if it's containing XML.

Regards,
H. Herrmann



  Hi everyone,

  I get following exception as response when accessing the Version 
webservice from the Axis 2-1.1
  distribution:

  org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: 
Unexpected EOF in prolog
   at [row,col {unknown-source}]: [1,0]
  at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
  at sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
  at Test.start(Test.java:11)
  at Test.main(Test.java:18)

  I generated the stub classes with wsdl2java and wrote following test 
class:

  import sample.axisversion.VersionStub;
  import sample.axisversion.VersionStub.GetVersionResponse;

  public class Test {

  public void start()
  throws Exception
  {
  VersionStub versionStub = new 
VersionStub("http://localhost:8080/axis2/services/Version";);
  GetVersionResponse response = versionStub.getVersion();
  System.out.println(response.get_return());
  }

  public static void main(String[] args)
  throws Exception{
  Test test = new Test();
  test.start();
  }

  }
  

  This is my system:
  Windows XP (SP2)
  Java 1.5.0 Update 10
  Apache Tomcat 6.0.2
  Axis 2-1.1 webapp (from war file)

  Tomcat starts up without error messages, and the Axis2 webapp is 
available. The Version service and
  its operation getVersion is listed and marked as active.

  The validation page shows following message:
   There was a problem in Axis2 version service , may be the service not 
available or some thing has gone
   wrong. But this does not mean system is not working ! Try to upload some 
other service and check to see
   whether it is working.

  The 

Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-18 Thread Harald Herrmann
It seems like Kaspersky Internet Security 6 ist cutting off the request 
body.

After uninstallation things work well.



Martin Gainty schrieb:

Moxo/Hermann
for verifying proper response for method getVersion as a quick check  
can you go to your version wsdl located at

http://localhost:8080/axis2/services/version?wsdl
your prolog should look something like
http://schemas.xmlsoap.org/wsdl/*";
xmlns:axis2="*http://ws.apache.org/axis2*";
xmlns:mime="*http://schemas.xmlsoap.org/wsdl/mime/*";
xmlns:ns0="*http://axisversion.sample/xsd*";
xmlns:soap12="*http://schemas.xmlsoap.org/wsdl/soap12/*";
xmlns:http="*http://schemas.xmlsoap.org/wsdl/http/*";
xmlns:ns1="*http://org.apache.axis2/xsd*";
xmlns:xs="*http://www.w3.org/2001/XMLSchema*";
xmlns:soap="*http://schemas.xmlsoap.org/wsdl/soap/*";
targetNamespace="*http://ws.apache.org/axis2*";>

any whitespace characters (space,tab,any non-displayable characters) 
before an EOF char
 
then display the element within your wsdl labeled 'getVersionResponse'

you *should* have an element that looks somewhat similar to
*-* <http://localhost:8080/axis2/services/version?wsdl#> name="*getVersionResponse*">
*-* <http://localhost:8080/axis2/services/version?wsdl#>   

*-* <http://localhost:8080/axis2/services/version?wsdl#>   


* *  
* *   
* *


Thanks,
M-
--- 

This e-mail message (including attachments, if any) is intended for 
the use of the individual or entity to which it is addressed and may 
contain information that is privileged, proprietary , confidential and 
exempt from disclosure. If you are not the intended recipient, you are 
notified that any dissemination, distribution or copying of this 
communication is strictly prohibited.
--- 

Le présent message électronique (y compris les pièces qui y sont 
annexées, le cas échéant) s'adresse au destinataire indiqué et peut 
contenir des renseignements de caractère privé ou confidentiel. Si 
vous n'êtes pas le destinataire de ce document, nous vous signalons 
qu'il est strictement interdit de le diffuser, de le distribuer ou de 
le reproduire.


- Original Message -
*From:* moxi moxi <mailto:[EMAIL PROTECTED]>
*To:* axis-user@ws.apache.org <mailto:axis-user@ws.apache.org>
*Sent:* Saturday, December 16, 2006 12:06 PM
*Subject:* Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

I have the same problem,

I wrote a dotNET client, !surprise my WebService is working!, the
problem is  when I call webservice with the  generated stub
classes(Axis2, release 1.1).

org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
at

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
at ...



2006/12/15, Harald Herrmann <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:

Hi everyone,

Here's some additional info to my problem:

I made a simple but interesting experiment: I wrote a HTML
form to post something to the webservice
and debugged the AxisServlet.doPost() method as before.
This time the InputStream contained the data I posted.
The webservice failed of course, as the posted data was no
valid soap request.

But something seems to cut off the request body if it's
containing XML.

Regards,
H. Herrmann



Hi everyone,

I get following exception as response when accessing the
Version webservice from the Axis 2-1.1
distribution:

org.apache.axis2.AxisFault:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
at

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
at
sample.axisversion.VersionStub.getVersion(VersionStub.java:155)
at Test.start(Test.java:11)
at Test.main(Test.java:18)

I generated the stub classes with wsdl2java and wrote
following test class:

import sample.axisversion.VersionStub;
import sample.axisversion.VersionStub.GetVersionResponse;

public class Test {

public void start()
throws Exception
{
VersionStub versionStub = new
VersionStub("http://localhost:8080/axis2/services/Version";
<http://localhost:8080/axis2/services/Version>);
GetVersionResponse response =
versionStub.getVersion

Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-18 Thread Martin Gainty
Vielen Danke Harald
Mit freundlich Grüßen,
Martin --
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
  - Original Message - 
  From: Harald Herrmann 
  To: axis-user@ws.apache.org 
  Sent: Monday, December 18, 2006 8:16 AM
  Subject: Re: [Axis2] com.ctc.wstx.exc.WstxEOFException


  It seems like Kaspersky Internet Security 6 ist cutting off the request body. 
  After uninstallation things work well.



  Martin Gainty schrieb: 
Moxo/Hermann
for verifying proper response for method getVersion as a quick check  can 
you go to your version wsdl located at
http://localhost:8080/axis2/services/version?wsdl
your prolog should look something like
http://schemas.xmlsoap.org/wsdl/"; 
xmlns:axis2="http://ws.apache.org/axis2"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:ns0="http://axisversion.sample/xsd"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:ns1="http://org.apache.axis2/xsd"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
targetNamespace="http://ws.apache.org/axis2";>

any whitespace characters (space,tab,any non-displayable characters) before 

-   
-   


 


Thanks,
M-
--- 
This e-mail message (including attachments, if any) is intended for the use 
of the individual or entity to which it is addressed and may contain 
information that is privileged, proprietary , confidential and exempt from 
disclosure. If you are not the intended recipient, you are notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, 
le cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
  - Original Message ----- 
  From: moxi moxi 
  To: axis-user@ws.apache.org 
  Sent: Saturday, December 16, 2006 12:06 PM
  Subject: Re: [Axis2] com.ctc.wstx.exc.WstxEOFException


  I have the same problem, 

  I wrote a dotNET client, !surprise my WebService is working!, the problem 
is  when I call webservice with the  generated stub classes(Axis2, release 1.1).

  org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: 
Unexpected EOF in prolog
   at [row,col {unknown-source}]: [1,0]
  at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
  at ...




  2006/12/15, Harald Herrmann <[EMAIL PROTECTED] >: 
Hi everyone,

Here's some additional info to my problem:

I made a simple but interesting experiment: I wrote a HTML form to post 
something to the webservice
and debugged the AxisServlet.doPost() method as before.
This time the InputStream contained the data I posted. 
The webservice failed of course, as the posted data was no valid soap 
request.

But something seems to cut off the request body if it's containing XML.

Regards,
H. Herrmann



  Hi everyone,

  I get following exception as response when accessing the Version 
webservice from the Axis 2-1.1
  distribution:

  org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: 
Unexpected EOF in prolog
   at [row,col {unknown-source}]: [1,0]
  at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
  at 
sample.axisversion.VersionStub.ge

RE: [Axis2] com.ctc.wstx.exc.WstxEOFException

2006-12-25 Thread George Stanchev
Wow!
 
Thanks for the tip!!!
 
I was stuck on this same error for a while!!!
 
Disabling Kaspersky fixed it for me too
 
George Stanchev



From: Harald Herrmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 18, 2006 6:17 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] com.ctc.wstx.exc.WstxEOFException


It seems like Kaspersky Internet Security 6 ist cutting off the request body. 
After uninstallation things work well.



Martin Gainty schrieb: 

Moxo/Hermann
for verifying proper response for method getVersion as a quick check  
can you go to your version wsdl located at
http://localhost:8080/axis2/services/version?wsdl
your prolog should look something like
http://schemas.xmlsoap.org/wsdl/"; 
xmlns:axis2="http://ws.apache.org/axis2"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:ns0="http://axisversion.sample/xsd"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:ns1="http://org.apache.axis2/xsd"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
targetNamespace="http://ws.apache.org/axis2";>

any whitespace characters (space,tab,any non-displayable characters) 
before http://localhost:8080/axis2/services/version?wsdl#>  
- <http://localhost:8080/axis2/services/version?wsdl#>

- <http://localhost:8080/axis2/services/version?wsdl#>



 


Thanks,
M-

--- 
This e-mail message (including attachments, if any) is intended for the 
use of the individual or entity to which it is addressed and may contain 
information that is privileged, proprietary , confidential and exempt from 
disclosure. If you are not the intended recipient, you are notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited.

--- 
Le présent message électronique (y compris les pièces qui y sont 
annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir 
des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.

- Original Message - 
From: moxi moxi <mailto:[EMAIL PROTECTED]>  
    To: axis-user@ws.apache.org 
Sent: Saturday, December 16, 2006 12:06 PM
Subject: Re: [Axis2] com.ctc.wstx.exc.WstxEOFException

I have the same problem, 

I wrote a dotNET client, !surprise my WebService is working!, 
the problem is  when I call webservice with the  generated stub classes(Axis2, 
release 1.1).

org.apache.axis2.AxisFault: 
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
at ...




2006/12/15, Harald Herrmann <[EMAIL PROTECTED] >: 

Hi everyone,

Here's some additional info to my problem:

I made a simple but interesting experiment: I wrote a 
HTML form to post something to the webservice
and debugged the AxisServlet.doPost() method as before.
This time the InputStream contained the data I posted. 
The webservice failed of course, as the posted data was 
no valid soap request.

But something seems to cut off the request body if it's 
containing XML.

Regards,
H. Herrmann




Hi everyone,

I get following exception as response when 
accessing the Version webservice from the Axis 2-1.1
distribution:

org.apache.axis2.AxisFault: 
com.ctc.wstx.exc.WstxEOFException: Unexpecte