Is it the client that is stalling?
Then I would guess it is waiting for the correct terminating character.
(Is there some terminator that the http protocol uses to end a
response??) When I emailed the request/response http headers, I used
tcpmon to capture them, and that may have stripped off any terminating
character, so I can't see it.

Can you turn on your debugger and step through the code and see if the
client is stalled waiting for the response to complete?
-jeff


 

-----Original Message-----
From: Demetris G [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 1:51 PM
To: axis-user@ws.apache.org
Subject: Re: SOAP response


Hi Jeff,

    yes you are absolutely right - I took a look at the 
axis.transport.http.HTTPSender
and the code expects the headers. So on the server side I got the header

from the
post object and fed them back into the client engine. That took care of 
the number
format issue - now it is just stalling without complaining. Hmm .. I 
wonder what else
it needs.

Thanks again man

Walker, Jeff wrote:
> Hi Demetris,
> I'm using Axis 1.3, but these are the HTTP headers that my requests
tend
> to have:
>
> POST /axis/services/ExampleAxisService HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related,
> text/*
> User-Agent: Axis/1.3
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: ""
> Content-Length: 445
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope ...>
>
> And these are the ones on the response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Set-Cookie: JSESSIONID=09876Jeffrey; Domain=pag; Expires=Thu,
> 21-Jun-2007 15:31:07 GMT
> Content-Type: text/xml;charset=utf-8
> Date: Thu, 21 Jun 2007 12:44:27 GMT
> Connection: close
>
> <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope ...>
>
>
> Obviously, you can change the SOAPAction and a few of the others, but
> the answer I believe is yes, the HTTP headers do matter in web
services
> that go over the http protocol.
> -jeff
>
>
>
>  
>
> -----Original Message-----
> From: Demetris G [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 20, 2007 8:00 PM
> To: Demetris G
> Cc: axis-user@ws.apache.org
> Subject: Re: SOAP response
>
>
> Hi again,
>
>     I didn't get a response for the simple issue below so I am trying 
> again. I intercept the
> response from a legitimate SOAP call to a remote Axis container and I 
> return it back
> to the client by simply feeding it into the socket that the client
wrote
>
> the HTTP bundle
> to. Shouldn't this work ? what I am missing ? Is the client side 
> excepting to see HTTP
> headers etc and not just the SOAP response ? I will appreciate any
ideas
>
> on this.
>
> Thanks
>
> Demetris G wrote:
>   
>> Hi all,
>>
>>    I am manually feeding the following SOAP response into an Axis 
>> engine that requested
>> this through a SOAP message and Axis responds with a 
>> java.lang.NumberFormatException
>> For input string &quot;version=&quot;1.0&quot; etc.
>>
>>    Shouldn't the msg below be accepted with no issues from the engine

>> ?? What is it missing?
>>
>> Thanks much
>>
>>
>>
>> <?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><ns1
> :getBundlesResponse 
>   
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>>
>>     
>
xmlns:ns1="http://soapobject.bundle.knopflerfish.org";><getBundlesReturn 
>   
>> soapenc:arrayType="xsd:long[24]" xsi:type="soapenc:Array" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";><getBundlesRet
> urn 
>   
>> href="#id0"/><getBundlesReturn href="#id1"/><getBundlesReturn 
>> href="#id2"/><getBundlesReturn href="#id3"/><getBundlesReturn 
>> href="#id4"/><getBundlesReturn href="#id5"/><getBundlesReturn 
>> href="#id6"/><getBundlesReturn href="#id7"/><getBundlesReturn 
>> href="#id8"/><getBundlesReturn href="#id9"/><getBundlesReturn 
>> href="#id10"/><getBundlesReturn href="#id11"/><getBundlesReturn 
>> href="#id12"/><getBundlesReturn href="#id13"/><getBundlesReturn 
>> href="#id14"/><getBundlesReturn href="#id15"/><getBundlesReturn 
>> href="#id16"/><getBundlesReturn href="#id17"/><getBundlesReturn 
>> href="#id18"/><getBundlesReturn href="#id19"/><getBundlesReturn 
>> href="#id20"/><getBundlesReturn href="#id21"/><getBundlesReturn 
>> href="#id22"/><getBundlesReturn 
>> href="#id23"/></getBundlesReturn></ns1:getBundlesResponse><multiRef 
>> id="id12" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>18</multiRef><
> multiRef 
>   
>> id="id22" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>22</multiRef><
> multiRef 
>   
>> id="id17" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>23</multiRef><
> multiRef 
>   
>> id="id14" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>13</multiRef><
> multiRef 
>   
>> id="id18" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>17</multiRef><
> multiRef 
>   
>> id="id16" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>12</multiRef><
> multiRef 
>   
>> id="id20" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>6</multiRef><m
> ultiRef 
>   
>> id="id9" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>20</multiRef><
> multiRef 
>   
>> id="id23" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>3</multiRef><m
> ultiRef 
>   
>> id="id3" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>11</multiRef><
> multiRef 
>   
>> id="id15" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>10</multiRef><
> multiRef 
>   
>> id="id21" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>7</multiRef><m
> ultiRef 
>   
>> id="id1" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>4</multiRef><m
> ultiRef 
>   
>> id="id2" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>14</multiRef><
> multiRef 
>   
>> id="id11" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>19</multiRef><
> multiRef 
>   
>> id="id8" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>21</multiRef><
> multiRef 
>   
>> id="id5" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>9</multiRef><m
> ultiRef 
>   
>> id="id0" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>5</multiRef><m
> ultiRef 
>   
>> id="id4" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>8</multiRef><m
> ultiRef 
>   
>> id="id19" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>0</multiRef><m
> ultiRef 
>   
>> id="id6" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>1</multiRef><m
> ultiRef 
>   
>> id="id7" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>15</multiRef><
> multiRef 
>   
>> id="id13" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>2</multiRef><m
> ultiRef 
>   
>> id="id10" soapenc:root="0" 
>> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
>> xsi:type="xsd:long" 
>>
>>     
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>16</multiRef><
> /soapenv:Body></soapenv:Envelope>] 
>   
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to