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" <[email protected]>
Sent: Monday, May 03, 2010 10:09 AM
To: "Apache AXIS C User List" <[email protected]>
Subject: Re: Client problem

2010/5/2 卢杨 <[email protected]>

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: [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