Hi Mushthaq,

I tried the same operation in SOAPUI and it works fine. "readNinewells" is
a correct operation.

Thanks.

On Sun, Nov 12, 2017 at 12:55 AM, Mushthaq Rumy <[email protected]> wrote:

> Hi Pririya,
>
> Seems like the operation you use is an incorrect operation. Was this
> working fine in SOAPUI? Could you please check if *"readNinewells" *is
> the correct operation?
>
> Thanks & Regards,
> Mushthaq
>
> On Sat, Nov 11, 2017 at 11:59 PM, Piriya Sivalingam <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am creating an API in ESB 5.0.0 for GET Resource, where I have a
>> secured SOAP backend service. Below is my synapse configuration of the API.
>> I find some error logged in the console.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <api xmlns="http://ws.apache.org/ns/synapse";
>>      name="PatientAPI"
>>      context="/patientapi">
>>    <resource methods="GET" uri-template="/{patientId}">
>>       <inSequence>
>>          <header name="Authorization"
>>                  scope="transport"
>>                  value="Basic cGlyaXlhOnBpcml5YTEyMw=="/>
>>          <payloadFactory media-type="xml">
>>             <format>
>>                <soapenv:Envelope xmlns:soapenv="http://schemas.
>> xmlsoap.org/soap/envelope/"
>>                                  xmlns:ser="http://service.sam
>> ple.ninewells.com">
>>                   <soapenv:Header/>
>>                   <soapenv:Body>
>>                      <ser:readNinewells>
>>                         <ser:patientId>1111</ser:patientId>
>>                      </ser:readNinewells>
>>                   </soapenv:Body>
>>                </soapenv:Envelope>
>>             </format>
>>             <args>
>>                <arg value="1990"/>
>>             </args>
>>          </payloadFactory>
>>          <header name="Action" value="urn:readNinewells"/>
>>          <property name="SOAPAction" value="urn:readNinewells"
>> scope="transport"/>
>>          <property name="messageType"
>>                    value="application/soap+xml"
>>                    scope="axis2"
>>                    type="STRING"/>
>>          <send>
>>             <endpoint>
>>                <address uri="https://xxxx.xx.xx.xx:xxx
>> 3/services/NinewellsPatientService"
>>                         format="soap11"/>
>>             </endpoint>
>>          </send>
>>       </inSequence>
>>       <outSequence>
>>          <property name="messageType"
>>                    value="application/json"
>>                    scope="axis2"
>>                    type="STRING"/>
>>          <send/>
>>       </outSequence>
>>    </resource>
>> </api>
>>
>> There is a 500 Internal Server Error logged in the console.
>>
>> Below is the exception found.
>> {"faultstring":"The endpoint reference (EPR) for the Operation not found
>> is /services/DurdansPatientService and the WSA Action = null. If this
>> EPR was previously reachable, please contact the server administrator."}
>>
>> Highly appreciate your advice on this.
>>
>> Thanks.
>>
>> --
>> Regards,
>>
>> *Piriya Sivalingam*
>>
>> *Software Engineer - Support Team*
>>
>> *WSO2*
>> *Mobile : +94 77 8462039 <+94%2077%20846%202039>*
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Mushthaq Rumy
> *Software Engineer*
> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
> Email : [email protected]
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
> <http://wso2.com/signature>
>



-- 
Regards,

*Piriya Sivalingam*

*Software Engineer - Support Team*

*WSO2*
*Mobile : +94 77 8462039*

[image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to