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:9443/services/DurdansPatientService"/>
            </endpoint>
         </send>
      </inSequence>
      <outSequence>
         <send/>
      </outSequence>
   </target>
   <publishWSDL uri="
http://192.168.55.160:9763/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[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