Hi Eran,
        Thanks for your help.Below is the output I got after monitoring the 
soap messages using TCPMON.I chaged the helloWorld operation in 
http://wwww.basis.ncl.ac.uk/web-services/kashif.py to accept no argument and 
return string.I am quite surprised it works.




Request:


POST /web-services/kashif.py HTTP/1.1

User-Agent: Axis/2.0

SOAPAction: 

Connection: Keep-Alive

Host: basis.ncl.ac.uk:8080

Content-Length: 749

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



<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";><soapenv:Header><wsa:To
 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>http://localhost:8080/web-services/kashif.py</wsa:To><wsa:ReplyTo
 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID
 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>A98863E478E239A7CF11432173236951</wsa:MessageID></soapenv:Header><soapenv:Body><example1:helloWorld
 xmlns:example1="http://example1.org/example1"; 
/></soapenv:Body></soapenv:Envelope>



Response:


HTTP/1.1 200 OK

Date: Fri, 24 Mar 2006 16:19:45 GMT

Server: Apache/1.3.33 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 
mod_fastcgi/2.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Transfer-Encoding: chunked

Content-Type: text/xml



257

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; 
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; >
<SOAP-ENV:Body>
<helloWorldResponse>
<SOAP-ENC:string id="414285c0">This is a hello world operation with no 
argument</SOAP-ENC:string>
</helloWorldResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>





Kind Regards
Kashif Saleem


-----Original Message-----
From: Eran Chinthaka [mailto:[EMAIL PROTECTED]
Sent: Thu 23/03/2006 17:50
To: [email protected]
Subject: Re: RE-[Axis2] Problem in accessing the python service
 


Kashif Saleem wrote:
> Hi Eran,
>         I found out that I can access the python services without any problem 
> which does not contain input arguments.So the problem occurs only if 
> webservice needs some input arguments.As I understood ZSI cant understand the 
> way input argument send by the AXIS2 and as a result it gives fault message 
> "unparsable messages" as mentioned in the below email.Any thoughts on it 
> would highly be regarded.Thanks.
>   
Strange. Can you please send me the SOAP message which your python
server treats as correct ? Then I can see what is wrong with the message
Axis2 sends out.

-- Chinthaka
>
> Kind Regards
> Kashif Saleem
>   



Reply via email to