Hi all.
I have a proxy service that transform the incoming request from doc/literal to rpc/encoded and forward it to a rpc/encoded service in PHP. This transformation work fine, if I use the message generated by payloadfactory in a soapui project I can obtain the correct response from the PHP service. The php service work fine with a java client, with soapui and with the try it functionality in ESB. But if I use the ESB I see this error in console: [2012-06-18 12:59:42,888] WARN - ClientHandler Received an internal server error : Internal Service Error For : ipserver:80 For Request : Axis2Request [ Message ID : urn:uuid:9fa93041-cb37-425b-a1ea-8278daa31bfb] [Status Completed : true] [Status SendingCompleted : true] This type of error is related with a 500 internal server error in the apache server. And the PHP service response: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>Bad Request</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> A fragment of the proxy service: <proxy xmlns="http://ws.apache.org/ns/synapse" name="servicioproxy" transports="https http" startOnLoad="true" trace="disable"> <target faultSequence="fault"> <inSequence> <log level="full" separator=","> <property name="SECUENCIAENTRADA" value="inSequence - pasando por la transformacion de entrada"/> </log> <property xmlns:p="http://cdae.uci.cu/servicios/ok" name="idexp" expression="//p:ObtenerPersonaDadoIdExpediente/IdExpediente" scope="default" type="STRING"/> <payloadFactory> <format> <urn:ObtenerPersonaDadoIdExpediente xmlns:urn="urn:okWS"> <IdExpediente>$1</IdExpediente> </urn:ObtenerPersonaDadoIdExpediente> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" expression="get-property('idexp')"/> </args> </payloadFactory> <log level="full" category="INFO" separator=","/> <send> <endpoint> <address uri="http://servicio.uci.cu/servicios/v4/okWS.php"/> </endpoint> </send> <drop/> </inSequence> </target> If I use a mock service simulating the php service, my proxy service work fine. But also the building message with payloadfactory in the insequence is ok. So I don´t know where is the problem. Saludos, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. Fac. 5. UCI. 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci
_______________________________________________ User mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/user
