axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heiko Braun <>
Subject http transport problem
Date Mon, 23 Sep 2002 16:01:48 GMT
i am invoking a call on a remote host using the 
http sender class. actually my wsdl generated files
choose it for the best transport available ;)

everything went fine, except that the remote host 
doesnt deliver a reponse carrying http headers,
which causes the http client to exit with the follwoing exception:


 faultCode: {}Server.userException
 faultString: java.lang.NumberFormatException: version="1.0"
 faultActor: null
	stackTrace: java.lang.NumberFormatException: version=&quot;1.0&quot;
	at java.lang.Integer.parseInt(
	at java.lang.Integer.parseInt(
	at org.apache.axis.transport.http.HTTPSender.invoke(

--- /snip ---

It looks like the http sender is exepcting http headers,
but finds raw xml in its response. a look at the response message 
confirms that the remote host answers without supplying http headers.

Q1.) is their a way to steer around this problem, 
or do i have change the transport?

Q2.) is there a transport implementation which supports raw socket 
communication, without http encupsulation?

Q3.) at which point does the wsdl2java tool chose the transport 
that is going to be used? can i modify it?

any help or suggestions appreciated,

View raw message