Hi Dilusha,

Seems like you have a problem with your data service. Make sure it's
working by accessing the wsdl from your browser as below.
https://10.100.7.44:9773/services/CUSTOMER_INPUT_DataService?wsdl

Thanks,
Iqbal

On Thu, Dec 14, 2017 at 12:10 AM, Pubudu Gunatilaka <[email protected]>
wrote:

> Hi Dilusha,
>
> Based on the stack trace, it looks like you have a mismatch with the
> protocol and the port. Make sure you have used the correct ports.
>
> Thank you!
>
> On Wed, Dec 13, 2017 at 7:49 PM, Firzhan Naqash <[email protected]> wrote:
>
>> Hi Dilusha,
>>
>> Can you set the Accept header with your CURL command?
>>
>> Regards,
>> Firzhan
>>
>>
>> email: [email protected]
>> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
>> blog: http://firzhanblogger.blogspot.com/
>> <http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
>> *twitter: https://twitter.com/firzhan007
>> <https://twitter.com/firzhan007> | linked-in: 
>> **https://www.linkedin.com/in/firzhan
>> <https://www.linkedin.com/in/firzhan>*
>>
>> On Wed, Dec 13, 2017 at 7:40 PM, Dilusha Alphonso <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> I am trying to invoke an API deployed in WSO2ESB 5.0.0 with 'GET'
>>> resource. The endpoint of the API in a data service hosted in WSO2 DSS. I
>>> encountered an error in the console while invoking the API using cURL
>>> command
>>>
>>> Below is the error encountered in the console:
>>>
>>> [2017-12-13 19:21:07,890] DEBUG - wire HTTP-Listener I/O dispatcher-3 >>
>>> "GET /getcardata/10 HTTP/1.1[\r][\n]"
>>> [2017-12-13 19:21:07,890] DEBUG - wire HTTP-Listener I/O dispatcher-3 >>
>>> "Host: 10.100.7.44:8280[\r][\n]"
>>> [2017-12-13 19:21:07,890] DEBUG - wire HTTP-Listener I/O dispatcher-3 >>
>>> "User-Agent: curl/7.52.1[\r][\n]"
>>> [2017-12-13 19:21:07,890] DEBUG - wire HTTP-Listener I/O dispatcher-3 >>
>>> "Accept: */*[\r][\n]"
>>> [2017-12-13 19:21:07,890] DEBUG - wire HTTP-Listener I/O dispatcher-3 >>
>>> "Authorization: Bearer 2ad64c91-2757-3a2d-834b-32ca671e08fe[\r][\n]"
>>> [2017-12-13 19:21:07,891] DEBUG - wire HTTP-Listener I/O dispatcher-3 >>
>>> "[\r][\n]"
>>> [2017-12-13 19:21:07,997]  WARN - SynapseJsonPath Json Payload is empty.
>>> [2017-12-13 19:21:08,006] ERROR - TargetHandler I/O error: Unrecognized
>>> SSL message, plaintext connection?
>>> javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
>>> connection?
>>> at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(Eng
>>> ineInputRecord.java:156)
>>> at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:868)
>>> at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)
>>> at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
>>> at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOS
>>> ession.java:245)
>>> at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSL
>>> IOSession.java:280)
>>> at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady
>>> (SSLIOSession.java:410)
>>> at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputRea
>>> dy(AbstractIODispatch.java:119)
>>> at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(Base
>>> IOReactor.java:159)
>>> at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEv
>>> ent(AbstractIOReactor.java:338)
>>> at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEv
>>> ents(AbstractIOReactor.java:316)
>>> at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(A
>>> bstractIOReactor.java:277)
>>> at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseI
>>> OReactor.java:105)
>>> at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReacto
>>> r$Worker.run(AbstractMultiworkerIOReactor.java:586)
>>> at java.lang.Thread.run(Thread.java:748)
>>> [2017-12-13 19:21:08,007]  WARN - EndpointContext Endpoint :
>>> AnonymousEndpoint with address https://10.100.7.44:9773/servi
>>> ces/CUSTOMER_INPUT_DataService/ will be marked SUSPENDED as it failed
>>> [2017-12-13 19:21:08,007]  WARN - EndpointContext Suspending endpoint :
>>> AnonymousEndpoint with address https://10.100.7.44:9773/servi
>>> ces/CUSTOMER_INPUT_DataService/ - current suspend duration is : 30000ms
>>> - Next retry after : Wed Dec 13 19:21:38 IST 2017
>>> [2017-12-13 19:21:08,008]  INFO - LogMediator To: /getcardata/10,
>>> MessageID: urn:uuid:ceff8fa9-bc8e-4cf5-9272-9ed612aad557, Direction:
>>> request, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 101500,
>>> ERROR_MESSAGE = Error in Sender, Envelope: <?xml version='1.0'
>>> encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.o
>>> rg/2003/05/soap-envelope"><soapenv:Body><p:select_with_key_CUSTOMER_INPUT_operation
>>> xmlns:p="https://car.input.wso2.com";><xs:ORDER_ID xmlns:xs="
>>> https://car.input.wso2.com"/></p:select_with_key_C
>>> USTOMER_INPUT_operation></soapenv:Body></soapenv:Envelope>
>>> [2017-12-13 19:24:08,079]  WARN - SourceHandler Connection time out
>>> after request is read: http-incoming-43 Socket Timeout : 180000 Remote
>>> Address : /10.100.7.44:57608
>>>
>>> Can you please suggest on overcoming this issue?
>>>
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Irham Iqbal
Software Engineer
WSO2
phone: +94 777888452
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to