axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heiko Braun <hbr...@jamba-ag.de>
Subject http transport problem
Date Mon, 23 Sep 2002 16:01:48 GMT
hi,
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:

---snip---

AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.lang.NumberFormatException: version="1.0"
 faultActor: null
 faultDetail: 
	stackTrace: java.lang.NumberFormatException: version=&quot;1.0&quot;
	at java.lang.Integer.parseInt(Integer.java:414)
	at java.lang.Integer.parseInt(Integer.java:463)
	at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:590)
	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:129)

--- /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,
heiko


Mime
View raw message