Hi All,,

Does anyone have an idea where can i find the BAM  internal datamodel
(NOSQl)?

Best Regards,
Filipe


-----Mensagem original-----
De: [email protected] [mailto:[email protected]] Em nome de Jorge
Infante Osorio
Enviada: quarta-feira, 20 de Junho de 2012 12:42
Para: [email protected]
Assunto: Re: [User] Issue with chunking (DISABLE_CHUNKING) in ESB 4.0.3 (:
wasClientHandler Received an internal server error )

Hi all. Any idea on this issue?

It´s a bug in ESB or a misconfiguration in my proxy service?

Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Jorge
Infante Osorio Enviado el: lunes, 18 de junio de 2012 15:15
Para: [email protected]
Asunto: Re: [User] ClientHandler Received an internal server error

Searching a little more I used tcpmon and the request message is something
like that:

POST /servicios/v4/okWS.php HTTP/1.1
Content-Type: multipart/related;
boundary="MIMEBoundary_2aee9e7047627ce0f35c3ba88926c57616e828687dcd5dd5";
type="text/xml";
start="<[email protected]>"
Accept-Encoding: gzip,deflate
SOAPAction: "urn:okWSAction"
Transfer-Encoding: chunked
Host: servicio.uci.cu:80
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

2a8
--MIMEBoundary_2aee9e7047627ce0f35c3ba88926c57616e828687dcd5dd5
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <[email protected]>

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ass="http://cdae.uci.cu/servicios/ok";><soapenv:Body>
      
   <urn:ObtenerPersonaDadoIdExpediente xmlns:urn="urn:okWS"><IdExpediente
xmlns="http://ws.apache.org/ns/synapse";>11496</IdExpediente></urn:ObtenerPer
sonaDadoIdExpediente></soapenv:Body></soapenv:Envelope>
--MIMEBoundary_2aee9e7047627ce0f35c3ba88926c57616e828687dcd5dd5--

0

I assume that the apache server doesn’t not support http/1.1 so I search how
to force http/1.0 and also eliminate the use of  chunked. 

In axis2.xml I didn´t  found the parameter Transfer-Encoding enable, it was
comment by default and in axis2_client.xml I commented it because it was
enable.

Also in the proxy I put this two properties:
            <property name="FORCE_HTTP_1.0" value="true" scope="axis2" />

            <property name="DISABLE_CHUNKING" scope="axis2" value="true"/>


But without success, as you can see I still have the MIMEBoundary section
and the apache server doesn´t understand that :

POST /servicios/v4/okWS.php HTTP/1.0
Content-Type: multipart/related;
boundary="MIMEBoundary_bde3029c337554a9712bb588eb3e31078c0a8f38a5adfc21";
type="text/xml";
start="<[email protected]>"
Accept-Encoding: gzip,deflate
SOAPAction: "urn:okWSAction"
Content-Length: 680
Host: servicio.uci.cu:5555
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

--MIMEBoundary_bde3029c337554a9712bb588eb3e31078c0a8f38a5adfc21
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <[email protected]>

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ass="http://cdae.uci.cu/servicios/ok";><soapenv:Body>
      
   <urn:ObtenerPersonaDadoIdExpediente xmlns:urn="urn:okWS"><IdExpediente
xmlns="http://ws.apache.org/ns/synapse";>11496</IdExpediente></urn:ObtenerPer
sonaDadoIdExpediente></soapenv:Body></soapenv:Envelope>
--MIMEBoundary_bde3029c337554a9712bb588eb3e31078c0a8f38a5adfc21--


Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.

De: [email protected] [mailto:[email protected]] En nombre de Jorge
Infante Osorio Enviado el: lunes, 18 de junio de 2012 13:37
Para: [email protected]
Asunto: [User] ClientHandler Received an internal server error

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

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


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

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


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

_______________________________________________
User mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/user

Reply via email to