I am attaching the WSDL of my proxy service.


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

> Hi Piriya,
>
> Can you attach the proxy WSDL file?
>
> Thanks & Regards,
> Mushthaq
>
> On Sun, Nov 12, 2017 at 10:53 AM, Piriya Sivalingam <[email protected]>
> wrote:
>
>> 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 <+94%2077%20846%202039>*
>>
>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>
>>
>
>
> --
> 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>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:ns="http://service.sample.ninewells.com"; xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:ns1="http://org.apache.axis2/xsd"; xmlns:ax215="http://dto.service.sample.ninewells.com/xsd"; xmlns:ax213="http://service.sample.ninewells.com/xsd"; xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; targetNamespace="http://service.sample.ninewells.com";>
   <wsdl:documentation>NinewellsPatientService</wsdl:documentation>
   <wsdl:types>
      <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://dto.service.sample.ninewells.com/xsd";>
         <xs:complexType name="Patient">
            <xs:sequence>
               <xs:element minOccurs="0" name="insurer" nillable="true" type="ax215:Insurer"/>
               <xs:element minOccurs="0" name="medical" nillable="true" type="ax215:Medical"/>
               <xs:element minOccurs="0" name="parentGuardian" nillable="true" type="ax215:ParentGuardian"/>
               <xs:element minOccurs="0" name="patientContact" nillable="true" type="ax215:PatientContact"/>
               <xs:element minOccurs="0" name="patientFullName" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="patientId" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="physician" nillable="true" type="ax215:Physician"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="Insurer">
            <xs:sequence>
               <xs:element minOccurs="0" name="insurerEmail" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="insurerName" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="insurerPhone" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="Medical">
            <xs:sequence>
               <xs:element minOccurs="0" name="condition" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="treatment" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="ParentGuardian">
            <xs:sequence>
               <xs:element minOccurs="0" name="guardianEmail" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="guardianName" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="guardianPhone" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="PatientContact">
            <xs:sequence>
               <xs:element minOccurs="0" name="address" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="email" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="phone" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="Physician">
            <xs:sequence>
               <xs:element minOccurs="0" name="physicianEmail" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="physicianName" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="physicianPhone" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
      </xs:schema>
      <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.sample.ninewells.com/xsd";>
         <xs:complexType name="NinewellsException">
            <xs:sequence/>
         </xs:complexType>
      </xs:schema>
      <xs:schema xmlns:ax214="http://service.sample.ninewells.com/xsd"; xmlns:ax216="http://dto.service.sample.ninewells.com/xsd"; attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.sample.ninewells.com";>
         <xs:import namespace="http://service.sample.ninewells.com/xsd"/>
         <xs:import namespace="http://dto.service.sample.ninewells.com/xsd"/>
         <xs:element name="NinewellsPatientServiceNinewellsException">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="NinewellsException" nillable="true" type="ax214:NinewellsException"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="readNinewells">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="patientId" nillable="true" type="xs:string"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="readNinewellsResponse">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="return" nillable="true" type="ax216:Patient"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="postNinewells">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="patient" nillable="true" type="ax216:Patient"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="readRecordNinewells">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="patientId" nillable="true" type="xs:string"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="readRecordNinewellsResponse">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="return" nillable="true" type="ax216:Patient"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="putNinewells">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="patient" nillable="true" type="ax216:Patient"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="deleteNinewells">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="patientId" nillable="true" type="xs:string"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
      </xs:schema>
   </wsdl:types>
   <wsdl:message name="deleteNinewellsRequest">
      <wsdl:part name="parameters" element="ns:deleteNinewells"/>
   </wsdl:message>
   <wsdl:message name="NinewellsPatientServiceNinewellsException">
      <wsdl:part name="parameters" element="ns:NinewellsPatientServiceNinewellsException"/>
   </wsdl:message>
   <wsdl:message name="readRecordNinewellsRequest">
      <wsdl:part name="parameters" element="ns:readRecordNinewells"/>
   </wsdl:message>
   <wsdl:message name="readRecordNinewellsResponse">
      <wsdl:part name="parameters" element="ns:readRecordNinewellsResponse"/>
   </wsdl:message>
   <wsdl:message name="putNinewellsRequest">
      <wsdl:part name="parameters" element="ns:putNinewells"/>
   </wsdl:message>
   <wsdl:message name="postNinewellsRequest">
      <wsdl:part name="parameters" element="ns:postNinewells"/>
   </wsdl:message>
   <wsdl:message name="readNinewellsRequest">
      <wsdl:part name="parameters" element="ns:readNinewells"/>
   </wsdl:message>
   <wsdl:message name="readNinewellsResponse">
      <wsdl:part name="parameters" element="ns:readNinewellsResponse"/>
   </wsdl:message>
   <wsdl:portType name="NinewellsProxyService1PortType">
      <wsdl:operation name="deleteNinewells">
         <wsdl:input message="ns:deleteNinewellsRequest" wsaw:Action="urn:deleteNinewells"/>
         <wsdl:fault message="ns:NinewellsPatientServiceNinewellsException" name="NinewellsPatientServiceNinewellsException" wsaw:Action="urn:deleteNinewellsNinewellsPatientServiceNinewellsException"/>
      </wsdl:operation>
      <wsdl:operation name="readRecordNinewells">
         <wsdl:input message="ns:readRecordNinewellsRequest" wsaw:Action="urn:readRecordNinewells"/>
         <wsdl:output message="ns:readRecordNinewellsResponse" wsaw:Action="urn:readRecordNinewellsResponse"/>
         <wsdl:fault message="ns:NinewellsPatientServiceNinewellsException" name="NinewellsPatientServiceNinewellsException" wsaw:Action="urn:readRecordNinewellsNinewellsPatientServiceNinewellsException"/>
      </wsdl:operation>
      <wsdl:operation name="putNinewells">
         <wsdl:input message="ns:putNinewellsRequest" wsaw:Action="urn:putNinewells"/>
         <wsdl:fault message="ns:NinewellsPatientServiceNinewellsException" name="NinewellsPatientServiceNinewellsException" wsaw:Action="urn:putNinewellsNinewellsPatientServiceNinewellsException"/>
      </wsdl:operation>
      <wsdl:operation name="postNinewells">
         <wsdl:input message="ns:postNinewellsRequest" wsaw:Action="urn:postNinewells"/>
         <wsdl:fault message="ns:NinewellsPatientServiceNinewellsException" name="NinewellsPatientServiceNinewellsException" wsaw:Action="urn:postNinewellsNinewellsPatientServiceNinewellsException"/>
      </wsdl:operation>
      <wsdl:operation name="readNinewells">
         <wsdl:input message="ns:readNinewellsRequest" wsaw:Action="urn:readNinewells"/>
         <wsdl:output message="ns:readNinewellsResponse" wsaw:Action="urn:readNinewellsResponse"/>
         <wsdl:fault message="ns:NinewellsPatientServiceNinewellsException" name="NinewellsPatientServiceNinewellsException" wsaw:Action="urn:readNinewellsNinewellsPatientServiceNinewellsException"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="NinewellsProxyService1Soap11Binding" type="ns:NinewellsProxyService1PortType">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document"/>
      <wsdl:operation name="deleteNinewells">
         <soap:operation soapAction="urn:deleteNinewells" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="readRecordNinewells">
         <soap:operation soapAction="urn:readRecordNinewells" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="putNinewells">
         <soap:operation soapAction="urn:putNinewells" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="postNinewells">
         <soap:operation soapAction="urn:postNinewells" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="readNinewells">
         <soap:operation soapAction="urn:readNinewells" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="NinewellsProxyService1Soap12Binding" type="ns:NinewellsProxyService1PortType">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; style="document"/>
      <wsdl:operation name="deleteNinewells">
         <soap12:operation soapAction="urn:deleteNinewells" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap12:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="readRecordNinewells">
         <soap12:operation soapAction="urn:readRecordNinewells" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap12:body use="literal"/>
         </wsdl:output>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap12:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="putNinewells">
         <soap12:operation soapAction="urn:putNinewells" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap12:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="postNinewells">
         <soap12:operation soapAction="urn:postNinewells" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap12:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
      <wsdl:operation name="readNinewells">
         <soap12:operation soapAction="urn:readNinewells" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap12:body use="literal"/>
         </wsdl:output>
         <wsdl:fault name="NinewellsPatientServiceNinewellsException">
            <soap12:fault use="literal" name="NinewellsPatientServiceNinewellsException"/>
         </wsdl:fault>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="NinewellsProxyService1HttpBinding" type="ns:NinewellsProxyService1PortType">
      <http:binding verb="POST"/>
      <wsdl:operation name="deleteNinewells">
         <http:operation location="deleteNinewells"/>
         <wsdl:input>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:input>
      </wsdl:operation>
      <wsdl:operation name="readRecordNinewells">
         <http:operation location="readRecordNinewells"/>
         <wsdl:input>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:input>
         <wsdl:output>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="putNinewells">
         <http:operation location="putNinewells"/>
         <wsdl:input>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:input>
      </wsdl:operation>
      <wsdl:operation name="postNinewells">
         <http:operation location="postNinewells"/>
         <wsdl:input>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:input>
      </wsdl:operation>
      <wsdl:operation name="readNinewells">
         <http:operation location="readNinewells"/>
         <wsdl:input>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:input>
         <wsdl:output>
            <mime:content type="text/xml" part="parameters"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="NinewellsProxyService1">
      <wsdl:port name="NinewellsProxyService1HttpSoap11Endpoint" binding="ns:NinewellsProxyService1Soap11Binding">
         <soap:address location="http://piriya-ThinkPad-X1-Carbon-5th:8286/services/NinewellsProxyService1.NinewellsProxyService1HttpSoap11Endpoint"/>
      </wsdl:port>
      <wsdl:port name="NinewellsProxyService1HttpsSoap11Endpoint" binding="ns:NinewellsProxyService1Soap11Binding">
         <soap:address location="https://piriya-ThinkPad-X1-Carbon-5th:8249/services/NinewellsProxyService1.NinewellsProxyService1HttpsSoap11Endpoint"/>
      </wsdl:port>
      <wsdl:port name="NinewellsProxyService1HttpSoap12Endpoint" binding="ns:NinewellsProxyService1Soap12Binding">
         <soap12:address location="http://piriya-ThinkPad-X1-Carbon-5th:8286/services/NinewellsProxyService1.NinewellsProxyService1HttpSoap12Endpoint"/>
      </wsdl:port>
      <wsdl:port name="NinewellsProxyService1HttpsSoap12Endpoint" binding="ns:NinewellsProxyService1Soap12Binding">
         <soap12:address location="https://piriya-ThinkPad-X1-Carbon-5th:8249/services/NinewellsProxyService1.NinewellsProxyService1HttpsSoap12Endpoint"/>
      </wsdl:port>
      <wsdl:port name="NinewellsProxyService1HttpEndpoint" binding="ns:NinewellsProxyService1HttpBinding">
         <http:address location="http://piriya-ThinkPad-X1-Carbon-5th:8286/services/NinewellsProxyService1.NinewellsProxyService1HttpEndpoint"/>
      </wsdl:port>
      <wsdl:port name="NinewellsProxyService1HttpsEndpoint" binding="ns:NinewellsProxyService1HttpBinding">
         <http:address location="https://piriya-ThinkPad-X1-Carbon-5th:8249/services/NinewellsProxyService1.NinewellsProxyService1HttpsEndpoint"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to