Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-14 Thread Dilusha Alphonso
Hi

As it is mentioned already, I have set this property only for POST method.
I haven't tested it for the GET method as it was working fine without this
property.

Thanks
Dilusha

On Wed, Nov 15, 2017 at 11:31 AM, Chanika Geeganage 
wrote:

> If you set OUT_ONLY property to true then the response is not sent back to
> the client, since a callback is not registered. That's why the response is
> dropped. Therefore, you can't set OUT_ONLY for GET requests.
>
> On Tue, Nov 14, 2017 at 10:38 AM, Buddhimala Ranasinghe <
> buddhim...@wso2.com> wrote:
>
>> Hi Dilusha,
>>
>> I encountered the same problem and tried out the solution as given. But
>> now, when I invoke the proxy with GET method using SOAPUI, I don't see the
>> response in SOAPUI. But when I checked the wirelogs, the response is sent
>> from BE to the proxy and from proxy, it gets dropped. Have you too noticed
>> this behaviour? If so, how did you overcome this problem?
>>
>> Regards,
>> Buddhimala
>>
>> On Mon, Nov 13, 2017 at 3:21 PM, Dilusha Alphonso 
>> wrote:
>>
>>> Thank you for your solution. It works fine.
>>>
>>> Thanks
>>> Dilusha
>>>
>>> On Mon, Nov 13, 2017 at 3:03 PM, Saneth Dharmakeerthi 
>>> wrote:
>>>
 Hi Dilusha,

 Your  calling method is In only

 wsdl:operation name="postMediData">
 
 
 


 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.

 **



 Thanks and Best Regards,

 Saneth Dharmakeerthi
 *Associate Technical Lead*
 WSO2, Inc.
 Mobile: +94772325511 <+94%2077%20232%205511>

 

 On Mon, Nov 13, 2017 at 12:52 PM, Dilusha Alphonso 
 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
> >> "http://schemas.
> xmlsoap.org/soap/envelope/" xmlns:ser="http://service.samp
> le.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
> >> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
> >> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
> >> "  [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
> >> " [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
> >> " [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
> >> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
> >> "[\n]"
> [2017-11-13 

Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-14 Thread Chanika Geeganage
If you set OUT_ONLY property to true then the response is not sent back to
the client, since a callback is not registered. That's why the response is
dropped. Therefore, you can't set OUT_ONLY for GET requests.

On Tue, Nov 14, 2017 at 10:38 AM, Buddhimala Ranasinghe  wrote:

> Hi Dilusha,
>
> I encountered the same problem and tried out the solution as given. But
> now, when I invoke the proxy with GET method using SOAPUI, I don't see the
> response in SOAPUI. But when I checked the wirelogs, the response is sent
> from BE to the proxy and from proxy, it gets dropped. Have you too noticed
> this behaviour? If so, how did you overcome this problem?
>
> Regards,
> Buddhimala
>
> On Mon, Nov 13, 2017 at 3:21 PM, Dilusha Alphonso 
> wrote:
>
>> Thank you for your solution. It works fine.
>>
>> Thanks
>> Dilusha
>>
>> On Mon, Nov 13, 2017 at 3:03 PM, Saneth Dharmakeerthi 
>> wrote:
>>
>>> Hi Dilusha,
>>>
>>> Your  calling method is In only
>>>
>>> wsdl:operation name="postMediData">
>>> 
>>> 
>>> 
>>>
>>>
>>> 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.
>>>
>>> **
>>>
>>>
>>>
>>> Thanks and Best Regards,
>>>
>>> Saneth Dharmakeerthi
>>> *Associate Technical Lead*
>>> WSO2, Inc.
>>> Mobile: +94772325511 <+94%2077%20232%205511>
>>>
>>> 
>>>
>>> On Mon, Nov 13, 2017 at 12:52 PM, Dilusha Alphonso 
>>> 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
 >> "http://schemas.
 xmlsoap.org/soap/envelope/" xmlns:ser="http://service.samp
 le.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
 >> "   [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "   [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "  [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> " [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> " [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "[\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "[\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "   [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "   ?[\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "   [\n]"
 [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
 >> "   

Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-13 Thread Buddhimala Ranasinghe
Hi Dilusha,

I encountered the same problem and tried out the solution as given. But
now, when I invoke the proxy with GET method using SOAPUI, I don't see the
response in SOAPUI. But when I checked the wirelogs, the response is sent
from BE to the proxy and from proxy, it gets dropped. Have you too noticed
this behaviour? If so, how did you overcome this problem?

Regards,
Buddhimala

On Mon, Nov 13, 2017 at 3:21 PM, Dilusha Alphonso  wrote:

> Thank you for your solution. It works fine.
>
> Thanks
> Dilusha
>
> On Mon, Nov 13, 2017 at 3:03 PM, Saneth Dharmakeerthi 
> wrote:
>
>> Hi Dilusha,
>>
>> Your  calling method is In only
>>
>> wsdl:operation name="postMediData">
>> 
>> 
>> 
>>
>>
>> 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.
>>
>> **
>>
>>
>>
>> Thanks and Best Regards,
>>
>> Saneth Dharmakeerthi
>> *Associate Technical Lead*
>> WSO2, Inc.
>> Mobile: +94772325511 <+94%2077%20232%205511>
>>
>> 
>>
>> On Mon, Nov 13, 2017 at 12:52 PM, Dilusha Alphonso 
>> 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
>>> >> "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
>>> >> "   [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "  [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> " [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> " [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "[\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "[\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   ?[\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   ?[\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   [\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "   ?[\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "[\n]"
>>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1
>>> >> "[\n]"
>>> 

Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-13 Thread Dilusha Alphonso
Thank you for your solution. It works fine.

Thanks
Dilusha

On Mon, Nov 13, 2017 at 3:03 PM, Saneth Dharmakeerthi 
wrote:

> Hi Dilusha,
>
> Your  calling method is In only
>
> wsdl:operation name="postMediData">
> 
> 
> 
>
>
> 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.
>
> **
>
>
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> *Associate Technical Lead*
> WSO2, Inc.
> Mobile: +94772325511 <+94%2077%20232%205511>
>
> 
>
> On Mon, Nov 13, 2017 at 12:52 PM, Dilusha Alphonso 
> 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 >>
>> "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 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "  [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> " [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> " [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   ?[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   ?[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   ?[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   ?[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   [\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
>> "   ?[\n]"
>> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>

Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-13 Thread Saneth Dharmakeerthi
Hi Dilusha,

Your  calling method is In only

wsdl:operation name="postMediData">





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.

**



Thanks and Best Regards,

Saneth Dharmakeerthi
*Associate Technical Lead*
WSO2, Inc.
Mobile: +94772325511



On Mon, Nov 13, 2017 at 12:52 PM, Dilusha Alphonso  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 >>
> "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 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "  [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> " [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> " [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   ?[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   ?[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   ?[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   ?[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   [\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "   ?[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "[\n]"
> [2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
> "

Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-12 Thread Dilusha Alphonso
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 >>
"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 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"  [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
" [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
" [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,487] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   [\n]"
[2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"   ?[\n]"
[2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"
[2017-11-13 12:48:06,488] DEBUG - wire HTTPS-Listener I/O dispatcher-1 >>
"[\n]"

Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-12 Thread Saneth Dharmakeerthi
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



On Sat, Nov 11, 2017 at 3:22 PM, Dilusha Alphonso  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.
>
> 
> http://ws.apache.org/ns/synapse;
>name="Durdans"
>startOnLoad="true"
>statistics="disable"
>trace="disable"
>transports="http,https">
>
>   
>  scope="transport"
>value="Basic ZGlsdXNoYTpkaWx1c2hhMTIz"/>
>  
> 
>https://192.168.55.160:9443/services/
> DurdansPatientService"/>
> 
>  
>   
>   
>  
>   
>
>http://192.168.55.160:9763/services/
> DurdansPatientService?wsdl"/>
>
> 
>
> 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 
> 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 
>> 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]
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 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]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-11 Thread Dilusha Alphonso
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.


http://ws.apache.org/ns/synapse;
   name="Durdans"
   startOnLoad="true"
   statistics="disable"
   trace="disable"
   transports="http,https">
   
  
 
 

   https://192.168.55.160:9443/services/DurdansPatientService"/>

 
  
  
 
  
   
   http://192.168.55.160:9763/services/DurdansPatientService?wsdl"/>
   


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 
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 
> 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]
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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] *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-10 Thread Vijitha Ekanayake
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  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.
> 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)
>
> 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]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Exception while invoking proxy service in ESB 5.0.0

2017-11-10 Thread Dilusha Alphonso
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.handleMessage(
SynapseCallbackReceiver.java:324)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(
SynapseCallbackReceiver.java:188)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(
ClientWorker.java:261)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$
1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.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[image: http://wso2.com/signature] *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev