I am trying the echoString operation in the Axis2SampleDocLit example. According to the WSDL, it should be a rpc/literal operation but axis2 will only accept document/literal. I have to write php code to change the client request to doc/literal style to get a 200 reponse but the return type is doc/literal again. I use the Axis2 on tomcat as the server and php 5.1.1 as the client for the testing and I capture the packet trace from Ethereal. The captured encoding in the soap body are:

rpc/literal
<echoString>
   <a>
      <echoStringParam>

doc/literal
<echoStringParam>

Reply via email to