Hi Chamikara

Thanks for your help. You are all rigth.

Now, I can access tomcat, but it returns an error: HTTP/1.1 500 Internal Error Servlet The server met an internal error which stopped the request. I can't say more because I do not have more information.
The http request caugth in tcpmon is:

POST /axis2/services/RMSampleService HTTP/1.1
User-Agent: Axis2
SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence
Host: 127.0.0.1:8070
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8

320
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";>
     <soapenv:Header>
<wsa:To>http://127.0.0.1:8080/axis2/services/RMSampleService</wsa:To>
        <wsa:ReplyTo>
<wsa:Address>http://129.183.149.72:6060/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_OUT_IN__</wsa:Address>
        </wsa:ReplyTo>
<wsa:MessageID>urn:uuid:07B228029E7191235511496802483123</wsa:MessageID> <wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action>
     </soapenv:Header>
     <soapenv:Body>
<wsrm:CreateSequence xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm";>
           <wsrm:AcksTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
           </wsrm:AcksTo>
        </wsrm:CreateSequence>
     </soapenv:Body>
  </soapenv:Envelope>0

Do you have an idea?

Elodie


Chamikara Jayalath wrote:

Hi Elodie,

Have you configured the tcp monitor correctly. You should start tomcat in the port 8080 and have a mapping in tcp monitor from port 8070 to 8080.

Add the following additional line to the client code to send the request through the ctp monitor. clientOptions.setProperty(MessageContextConstants.TRANSPORT_URL,"http://localhost:8070/axis2/services/RMSampleService";);


Chamikara



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

Reply via email to