axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 卢杨 <lylyl...@hotmail.com>
Subject Re: Client problem
Date Mon, 03 May 2010 04:15:06 GMT
Dear Chinatana,

This is my request:

- <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:q0="http://ws.apache.org/axis2/services/Calculator/types" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <q0:add>
  <param_1>2</param_1>
  <param_2>3</param_2>
  </q0:add>
  </soapenv:Body>
  </soapenv:Envelope>

This is the sample code "Calculator" from axis2c.

Yours sincerely,
Jason

--------------------------------------------------
From: "Chintana Wilamuna" <chintanaw@gmail.com>
Sent: Monday, May 03, 2010 10:09 AM
To: "Apache AXIS C User List" <c-user@axis.apache.org>
Subject: Re: Client problem

> 2010/5/2 卢杨 <lylylytc@hotmail.com>
>
>> Can the service and client be put in different server?
>
> Yes.
>
>> And I encounter a new problem. I have already put axis2c into Apache 2.2 
>> by the manual in your website. And when I launch the client. It shows me:
>> IWAB0135E An unexpected error has occurred.
>> java.net.ConnectException
>> Connection refused: connect
>> And I start the axis2_http_server.exe the simple server. It got to run 
>> but show this:
>>
>> - <soapenv:Envelope 
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>> - <soapenv:Body>
>> - <soapenv:Fault>
>>   <faultcode>soapenv:Sender</faultcode>
>>   <faultstring>Invalid XML format in request</faultstring>
>>   </soapenv:Fault>
>>   </soapenv:Body>
>>   </soapenv:Envelope>
>>
>> The service side shows me:
>> Calculator service ERROR: invalid XML in request.
>
> Could you please post the request that your client is sending to the 
> service?
>
> You can use TCPMon (http://ws.apache.org/commons/tcpmon/) to catch this.
>
> Bye,
>
>    -Chintana
>
> --
> blog: http://engwar.com/
> photos: http://flickr.com/photos/chintana
> linkedin: http://www.linkedin.com/in/engwar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Mime
View raw message