axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva" <supu...@gmail.com>
Subject Re: Issue talking to Axis2/C on IIS
Date Tue, 03 Jun 2008 11:26:56 GMT
Hi Asankha,

We have send a request using the full URL with  the POST method. But it
seems that IIS discards the request before it give the control to the IIS
module. So it seems like it is a bug in the IIS itself.

Supun.

On Tue, Jun 3, 2008 at 4:10 PM, Supun Kamburugamuva <supun06@gmail.com>
wrote:

> Hi Asankha,
>
> Can you please explain, how can I reproduce the failed message?
>
> Supun..
>
> On Tue, Jun 3, 2008 at 3:08 AM, Samisa Abeysinghe <samisa@wso2.com> wrote:
>
>> Asankha C. Perera wrote:
>>
>>> Hi All
>>>
>>> When I talk to Axis2/C hosted on IIS, it returns a method not allowed
>>> exception as shown below.. however, if the POST only uses the "path"
>>> segment, the call succeeds.. Is this a bug with IIS or Axis2/C ?
>>>
>>
>> Looks like it is an IIS issue. Since, the error is form IIS.
>>
>>
>>> If the message fails due to a Content-Length error etc, Axis2/C returns a
>>> smiley "Unknown Error :(" in the SOAP fault.. which I think is not
>>> appropriate.
>>>
>>
>> This is a bug. Someone has introduced an error number and have not
>> instantiated the error message map. That needs to be fixed.
>>
>> Samisa...
>>
>>
>>> asankha
>>>
>>> _Smiley in the error message_
>>>
>>> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>
>>> http://ws.apache.org/axis2/c/samples/echoString</wsa:Action><wsa:MessageID>24998111-fa1e-4a8f-944a-d5e504400bd1</wsa:MessageID><wsa:RelatesTo
>>> wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply"
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing">192274ef-5497-49c0-aa93-23d967e12e1e</wsa:RelatesTo></soapenv:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text
>>> xml:lang="en">*Unknown Error
>>> :(*</soapenv:Text></soapenv:Reason><soapenv:Detail><EchoServiceError>Echo
>>> service failed
>>> </EchoServiceError></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>>>
>>> _Successful request_
>>>
>>> asankha@asankha:~/perf$ telnet 10.100.1.228 8081
>>> Trying 10.100.1.228...
>>> Connected to 10.100.1.228.
>>> Escape character is '^]'.
>>> POST /axis2/services/echo HTTP/1.1
>>> Host: 127.0.0.1:8081
>>> Content-Length: 590
>>> Content-Type: application/soap+xml; charset=UTF-8
>>> User-Agent: Axis2/C
>>>
>>> HTTP/1.1 100 Continue
>>> Server: Microsoft-IIS/5.1
>>> Date: Tue, 03 Jun 2008 08:32:27 GMT
>>>
>>> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>>> ">
>>>   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
>>>      <wsa:To>http://localhost:8081/axis2/services/echo</wsa:To>
>>>      <wsa:Action>http://ws.apache.org/axis2/c/samples/echoString
>>> </wsa:Action>
>>>      <wsa:MessageID>192274ef-5497-49c0-aa93-23d967e12e1e</wsa:MessageID>
>>>   </soapenv:Header>
>>>   <soapenv:Body>
>>>      <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/services/echo
>>> ">
>>>         <text>Hello World!</text>
>>>      </ns1:echoString>
>>>   </soapenv:Body></soapenv:Envelope>
>>>
>>>
>>>
>>> HTTP/1.1 200 OK
>>> Server: Microsoft-IIS/5.1
>>> Date: Tue, 03 Jun 2008 08:32:35 GMT
>>> Content-Type: application/soap+xml;charser:UTF-8
>>> Content-Length: 721
>>>
>>> <soapenv:Envelope ....>
>>>
>>> _Failure Request_
>>>
>>> asankha@asankha:~/perf$ telnet 10.100.1.228 8081
>>> Trying 10.100.1.228...
>>> Connected to 10.100.1.228.
>>> Escape character is '^]'.
>>> POST *http://10.100.1.228:8081*/axis2/services/echo HTTP/1.1
>>> Host: 10.100.1.228:8081
>>> Content-Length: 590
>>> Content-Type: application/soap+xml;charset=UTF-8
>>>
>>> HTTP/1.1 100 Continue
>>> Server: Microsoft-IIS/5.1
>>> Date: Tue, 03 Jun 2008 08:33:02 GMT
>>>
>>> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>>> ">
>>>   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
>>>      <wsa:To>http://localhost:8081/axis2/services/echo</wsa:To>
>>>      <wsa:Action>http://ws.apache.org/axis2/c/samples/echoString
>>> </wsa:Action>
>>>      <wsa:MessageID>192274ef-5497-49c0-aa93-23d967e12e1e</wsa:MessageID>
>>>   </soapenv:Header>
>>>   <soapenv:Body>
>>>      <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/services/echo
>>> ">
>>>         <text>Hello World!</text>
>>>      </ns1:echoString>
>>>   </soapenv:Body></soapenv:Envelope>
>>>
>>>
>>>
>>> HTTP/1.1 405 Method not allowed
>>> Server: Microsoft-IIS/5.1
>>> Date: Tue, 03 Jun 2008 08:33:08 GMT
>>> Connection: close
>>> Allow: OPTIONS, TRACE, GET, HEAD
>>> Content-Length: 3923
>>> Content-Type: text/html
>>>
>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">....
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG. Version: 8.0.100 / Virus Database: 269.24.5/1479 -
>>> Release Date: 6/2/2008 7:02 PM
>>>
>>>
>>
>>
>> --
>> Samisa Abeysinghe Director, Engineering; WSO2 Inc.
>>
>> http://www.wso2.com/ - "The Open Source SOA Company"
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>

Mime
View raw message