Thank you for your solution. It works fine.

Thanks
Dilusha

On Mon, Nov 13, 2017 at 3:03 PM, Saneth Dharmakeerthi <[email protected]>
wrote:

> Hi Dilusha,
>
> Your  calling method is In only
>
> wsdl:operation name="postMediData">
> <wsdl:input message="ns:postMediDataRequest" wsaw:Action="urn:postMediData
> "/>
> <wsdl:fault message="ns:DurdansPatientServiceDurdansException" name="
> DurdansPatientServiceDurdansException" wsaw:Action="urn:
> postMediDataDurdansPatientServiceDurdansException"/>
> </wsdl:operation>
>
>
> If the WSDL is defined the service endpoint as an IN-ONLY operation, then
> you should call that service in the same manner. For that; we can use the
> below property before calling that particular service.
>
> *<property name="OUT_ONLY" value="true" scope="default" type="STRING"/>*
>
>
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> *Associate Technical Lead*
> WSO2, Inc.
> Mobile: +94772325511 <+94%2077%20232%205511>
>
> <http://wso2.com/signature>
>
> On Mon, Nov 13, 2017 at 12:52 PM, Dilusha Alphonso <[email protected]>
> wrote:
>
>> 1.I invoke the proxy service in ESB 5.0.0.
>>
>> 2.I attached a wire log of the proxy service.
>>
>> [2017-11-13 12:48:06,483] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "POST /services/Durdans HTTP/1.1[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "Accept-Encoding: gzip,deflate[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "SOAPAction: "urn:postMediData"[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "Content-Length: 2149[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "Host: dilusha-ThinkPad-X1-Carbon-5th:8243[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "Connection: Keep-Alive[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "[\r][\n]"
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >> POST
>> /services/Durdans HTTP/1.1
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >>
>> Accept-Encoding: gzip,deflate
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >>
>> Content-Type: text/xml;charset=UTF-8
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >> SOAPAction:
>> "urn:postMediData"
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >>
>> Content-Length: 2149
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >> Host:
>> dilusha-ThinkPad-X1-Carbon-5th:8243
>> [2017-11-13 12:48:06,484] DEBUG - headers http-incoming-4 >> Connection:
>> Keep-Alive
>> [2017-11-13 12:48:06,485] DEBUG - headers http-incoming-4 >> User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "<soapenv:Envelope xmlns:soapenv="http://schemas.
>> xmlsoap.org/soap/envelope/" xmlns:ser="http://service.sample.durdans.com";
>> xmlns:xsd="http://dto.service.sample.durdans.com/xsd";>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   <soapenv:Header/>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   <soapenv:Body>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "      <ser:postMediData>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "         <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "         <ser:patient>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:insurer>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:insurerEmail>?</xsd:insurerEmail>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:insurerName>?</xsd:insurerName>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:insurerPhone>?</xsd:insurerPhone>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            </xsd:insurer>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:medical>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:condition>?</xsd:condition>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:treatment>?</xsd:treatment>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            </xsd:medical>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:parentGuardian>[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:guardianEmail>?</xsd:guardianEmail>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:guardianName>?</xsd:guardianName>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:guardianPhone>?</xsd:guardianPhone>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            </xsd:parentGuardian>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:patientContact>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:address>?</xsd:address>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:email>?</xsd:email>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:phone>?</xsd:phone>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            </xsd:patientContact>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:patientFullName>abc</xsd:patientFullName>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:patientId>80</xsd:patientId>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            <xsd:physician>[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:physicianEmail>?</xsd:physicianEmail>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:physicianName>?</xsd:physicianName>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "               <xsd:physicianPhone>?</xsd:physicianPhone>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "            </xsd:physician>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "         </ser:patient>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "      </ser:postMediData>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   </soapenv:Body>[\n]"
>> [2017-11-13 12:48:06,489] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "</soapenv:Envelope>"
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >> POST
>> /services/DurdansPatientService HTTP/1.1
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >>
>> Authorization: Basic ZGlsdXNoYTpkaWx1c2hhMTIz
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >>
>> Accept-Encoding: gzip,deflate
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >>
>> Content-Type: text/xml;charset=UTF-8
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >> SOAPAction:
>> "urn:postMediData"
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >>
>> Transfer-Encoding: chunked
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >> Host:
>> 192.168.55.160:9443
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >> Connection:
>> Keep-Alive
>> [2017-11-13 12:48:06,509] DEBUG - headers http-outgoing-2 >> User-Agent:
>> Synapse-PT-HttpComponents-NIO
>> [2017-11-13 12:48:06,509] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "POST /services/DurdansPatientService HTTP/1.1[\r][\n]"
>> [2017-11-13 12:48:06,509] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "Authorization: Basic ZGlsdXNoYTpkaWx1c2hhMTIz[\r][\n]"
>> [2017-11-13 12:48:06,509] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "Accept-Encoding: gzip,deflate[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "SOAPAction: "urn:postMediData"[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "Transfer-Encoding: chunked[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "Host: 192.168.55.160:9443[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "Connection: Keep-Alive[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "865[\r][\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "<soapenv:Envelope xmlns:soapenv="http://schemas.
>> xmlsoap.org/soap/envelope/" xmlns:ser="http://service.sample.durdans.com";
>> xmlns:xsd="http://dto.service.sample.durdans.com/xsd";>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "   <soapenv:Header/>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "   <soapenv:Body>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "      <ser:postMediData>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "         <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "         <ser:patient>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:insurer>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:insurerEmail>?</xsd:insurerEmail>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:insurerName>?</xsd:insurerName>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:insurerPhone>?</xsd:insurerPhone>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            </xsd:insurer>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:medical>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:condition>?</xsd:condition>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:treatment>?</xsd:treatment>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            </xsd:medical>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:parentGuardian>[\n]"
>> [2017-11-13 12:48:06,510] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:guardianEmail>?</xsd:guardianEmail>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:guardianName>?</xsd:guardianName>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:guardianPhone>?</xsd:guardianPhone>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            </xsd:parentGuardian>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:patientContact>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:address>?</xsd:address>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:email>?</xsd:email>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:phone>?</xsd:phone>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            </xsd:patientContact>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:patientFullName>abc</xsd:patientFullName>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:patientId>80</xsd:patientId>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            <xsd:physician>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:physicianEmail>?</xsd:physicianEmail>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:physicianName>?</xsd:physicianName>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <!--Optional:-->[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "               <xsd:physicianPhone>?</xsd:physicianPhone>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "            </xsd:physician>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "         </ser:patient>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "      </ser:postMediData>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "   </soapenv:Body>[\n]"
>> [2017-11-13 12:48:06,511] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "</soapenv:Envelope>[\r][\n]"
>> [2017-11-13 12:48:06,512] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "0[\r][\n]"
>> [2017-11-13 12:48:06,512] DEBUG - wire HTTPS-Sender I/O dispatcher-2 <<
>> "[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "HTTP/1.1 202 Accepted[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "Transfer-Encoding: chunked[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "Date: Mon, 13 Nov 2017 07:18:06 GMT[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "Server: WSO2 Carbon Server[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "[\r][\n]"
>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 << HTTP/1.1 202
>> Accepted
>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 <<
>> Content-Type: text/xml;charset=UTF-8
>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 <<
>> Transfer-Encoding: chunked
>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 << Date: Mon,
>> 13 Nov 2017 07:18:06 GMT
>> [2017-11-13 12:48:06,537] DEBUG - headers http-outgoing-2 << Server: WSO2
>> Carbon Server
>> [2017-11-13 12:48:06,538] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "0[\r][\n]"
>> [2017-11-13 12:48:06,538] ERROR - NativeWorkerPool Uncaught exception
>> java.lang.UnsupportedOperationException: An access occurred that is not
>> valid.
>> at org.apache.axis2.description.InOnlyAxisOperation.getMessage(
>> InOnlyAxisOperation.java:117)
>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handle
>> Message(SynapseCallbackReceiver.java:324)
>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receiv
>> e(SynapseCallbackReceiver.java:188)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at org.apache.synapse.transport.passthru.ClientWorker.run(Clien
>> tWorker.java:261)
>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.
>> run(NativeWorkerPool.java:172)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>> at java.lang.Thread.run(Thread.java:748)
>> [2017-11-13 12:48:06,538] DEBUG - wire HTTPS-Sender I/O dispatcher-2 >>
>> "[\r][\n]"
>>
>>
>>
>> On Mon, Nov 13, 2017 at 12:08 PM, Saneth Dharmakeerthi <[email protected]>
>> wrote:
>>
>>> Hi Dilusha,
>>>
>>>
>>> Its bit unclear  how you execute this,
>>>
>>> 1) From SOAP-UI you invoke APIM or ESB?
>>>
>>> 2) Enable the wire logs and share them (both APIM and ESB as needed)
>>>
>>>
>>>
>>>
>>>
>>> Thanks and Best Regards,
>>>
>>> Saneth Dharmakeerthi
>>> *Associate Technical Lead*
>>> WSO2, Inc.
>>> Mobile: +94772325511 <+94%2077%20232%205511>
>>>
>>> <http://wso2.com/signature>
>>>
>>> On Sat, Nov 11, 2017 at 3:22 PM, Dilusha Alphonso <[email protected]>
>>> wrote:
>>>
>>>> I have attached the diagram of task.
>>>> [image: Inline image 1]
>>>>
>>>> In ESB 5.0.0 I created the proxy service. Those configurations attached
>>>> below.
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <proxy xmlns="http://ws.apache.org/ns/synapse";
>>>>        name="Durdans"
>>>>        startOnLoad="true"
>>>>        statistics="disable"
>>>>        trace="disable"
>>>>        transports="http,https">
>>>>    <target>
>>>>       <inSequence>
>>>>          <property name="Authorization"
>>>>                    scope="transport"
>>>>                    value="Basic ZGlsdXNoYTpkaWx1c2hhMTIz"/>
>>>>          <send>
>>>>             <endpoint>
>>>>                <address uri="https://192.168.55.160:94
>>>> 43/services/DurdansPatientService"/>
>>>>             </endpoint>
>>>>          </send>
>>>>       </inSequence>
>>>>       <outSequence>
>>>>          <send/>
>>>>       </outSequence>
>>>>    </target>
>>>>    <publishWSDL uri="http://192.168.55.160:976
>>>> 3/services/DurdansPatientService?wsdl"/>
>>>>    <description/>
>>>> </proxy>
>>>>
>>>> When I invoke the proxy service using SOAPUI. I got the above exception.
>>>>
>>>> Thanks
>>>> Dilusha
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Nov 11, 2017 at 12:38 AM, Vijitha Ekanayake <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Dilusha,
>>>>>
>>>>> Can you provide more context about the scenario and share the complete
>>>>> configurations to provide you a solution.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Fri, Nov 10, 2017 at 5:29 PM, Dilusha Alphonso <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I am working on the scenario. where I have to create a proxy
>>>>>> service in ESB 5.0.0 using a WSDL of a SOAP backend service. When I 
>>>>>> invoke
>>>>>> the proxy service using SOAPUI I am getting some error.
>>>>>>
>>>>>>  When I invoke the service with the GET method I get the proper
>>>>>> response, but for POST method I could get 202 Accepted response with some
>>>>>> exception in the log.
>>>>>>
>>>>>>         java.lang.UnsupportedOperationException: An access occurred
>>>>>> that is not valid.
>>>>>> at org.apache.axis2.description.InOnlyAxisOperation.getMessage(
>>>>>> InOnlyAxisOperation.java:117)
>>>>>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handle
>>>>>> Message(SynapseCallbackReceiver.java:324)
>>>>>> at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receiv
>>>>>> e(SynapseCallbackReceiver.java:188)
>>>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>>>> at org.apache.synapse.transport.passthru.ClientWorker.run(Clien
>>>>>> tWorker.java:261)
>>>>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>>>>>> un(NativeWorkerPool.java:172)
>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>>>>> Executor.java:1142)
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>>>>> lExecutor.java:617)
>>>>>> at java.lang.Thread.run(Thread.java:748)
>>>>>>
>>>>>> Could you please advice on this?
>>>>>>
>>>>>> Thanks
>>>>>> Dilusha
>>>>>> --
>>>>>>
>>>>>>
>>>>>> *Best Regards,Dilusha Alphonso*
>>>>>>
>>>>>> *Software Engineer - Support Team*
>>>>>>
>>>>>>
>>>>>> *WSO2*
>>>>>> *Mobile : *
>>>>>>
>>>>>> *+94766837098 <+94%2076%20683%207098>[image:
>>>>>> http://wso2.com/signature] <http://wso2.com/signature>*
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Vijitha Ekanayake
>>>>> Senior Software Engineer*, *WSO2, Inc.; http://wso2.com/
>>>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>>>> lean.enterprise.middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Best Regards,Dilusha Alphonso*
>>>>
>>>> *Software Engineer - Support Team*
>>>>
>>>>
>>>> *WSO2*
>>>> *Mobile : *
>>>>
>>>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>>>> <http://wso2.com/signature>*
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>>
>> --
>>
>>
>> *Best Regards,Dilusha Alphonso*
>>
>> *Software Engineer - Support Team*
>>
>>
>> *WSO2*
>> *Mobile : *
>>
>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>> <http://wso2.com/signature>*
>>
>
>


-- 


*Best Regards,Dilusha Alphonso*

*Software Engineer - Support Team*


*WSO2*
*Mobile : *

*+94766837098[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