[jboss-user] [Beginners Corner] - Axis, SOAP RPC and Socket Timeout (Read Timed ou)

Birgit1011 do-not-reply at jboss.com
Mon Dec 3 06:30:45 EST 2007


Hi,

Using JBoss 4.0.3SP1 and Axis 1.4; 
I try to implement a web-service client generated with ant task wsdl2java into my jboss application. The client send the request and I can watch the HTTP response after few sec(!!) with the TCPMon Tool. But the 
client (Stub) get a Read timed out (I've set the timeout to 20000 msec)!

Request:
-----------
POST /ws/BoxConfigurationService HTTP/1.0

Content-Type: text/xml; charset=utf-8

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.4

Host: 127.0.0.1:9092

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 411



<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         
            <arg0 xmlns="">530000000001</arg0>
            <arg1 xmlns="">EPG_Hamburg</arg1>
         
      </soapenv:Body>
   </soapenv:Envelope>


Response:
-------------
HTTP/1.1 200 OK

Content-type: text/xml; charset=utf-8

Content-length: 326



<?xml version="1.0" ?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <soapenv:Body>
         <ans:removeGroupFromBoxResponse xmlns:ans="http://service.stbmanager.more.tv">
            SUCCESS
         </ans:removeGroupFromBoxResponse>
      </soapenv:Body>
   </soapenv:Envelope>


----------------------------------------------------

If I use the webservice client outside JBoss (with JUnit e.g.) everything is ok. I don't know what is going wrong in JBoss.

Thank you for helping!
 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109797#4109797

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109797



More information about the jboss-user mailing list