You can enable wire logs and see where the issue is. (i.e. the API itself
or backend).

Thanks,
Bhathiya

On Sun, Nov 12, 2017 at 11:22 PM, Thivya Mahenthirarasa <[email protected]>
wrote:

> Hi,
>
> I created an API for CRUD operation in ESB 5.0.0 and tried to access a
> soap backend. And where
> the responses I get from all CRUD operations are 202 accepted. But no of
> the operations are performed. Also, I'm not observing any error logs.
>
> I have attached here the GET operation resource of my API as a sample.
>
>
>
>  <resource methods="GET" url-mapping="/readCMedi">
>       <inSequence>
>          <payloadFactory media-type="soap+xml">
>             <format>
>                <soap:Envelope xmlns:soap="http://www.w3.org/
> 2003/05/soap-envelope">
>                   <soap:Body>
>                      <ser:readCMedi xmlns:ser="http://service.samp
> le.central.com">
>                         <ser:patientId>$1</ser:patientId>
>                      </ser:readCMedi>
>                   </soap:Body>
>                </soap:Envelope>
>             </format>
>             <args>
>                <arg xmlns:m0="http://dto.service.sample.central.com/xsd";
> evaluator="xml" expression="//m0:patientId"/>
>             </args>
>          </payloadFactory>
>          <header name="Authorization" scope="transport" value="Basic
> dGhpdnlhOnRoaXZ5YTEyMw=="/>
>          <log level="full"/>
>          <send>
>             <endpoint>
>                <address uri="https://192.168.55.160:94
> 43/services/CentralPatientService" format="soap11"/>
>             </endpoint>
>          </send>
>          <log/>
>       </inSequence>
>       <outSequence>
>          <log level="full"/>
>          <property name="messageType" value="application/json"
> scope="axis2" type="STRING"/>
>          <send/>
>       </outSequence>
>    </resource>
>
>
> WSDL location http://192.168.55.160:9763/services/CentralPatientService?
> wsdl
>
> Could you please advice on this?
>
>
> Cheers,
> Thivya
>
>
> --
>
> *Thivya Mahenthirarasa*
>
> *Software Engineer -Support Team | WSO2*
>
>
> *Email: [email protected] <[email protected]>*
>
> *Mobile: +94766461966 <076%20646%201966> <http://wso2.com/signature>*
> *Web: http://wso2.com <http://wso2.com>*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Bhathiya Jayasekara*
*Associate Technical Lead,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to