Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Getting an Error while assigning the job to service

Hello,
I have created the service in Talend esb and its wsdl schema is automatically generated in the xml metadata.
and when i right click on the service in this scenario storeList and assign the job then job is created
automatically in job design workspace.
There were two default components were there tESBProviderRequest and tESBProviderResponse.
Then I mapped the tESBProviderRequest to tlogRow and from tLogRow to tESBProviderResponse.
tESBProviderRequest ---> tlogrow ---> tESBProviderResponse.
and run the job I got the below error.
Exception in thread "Thread-1" javax.xml.ws.WebServiceException: java.lang.RuntimeException: Protocol mismatch for port -1: engine's protocol is http, the url protocol is https
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:369)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:152)
at javax.xml.ws.Endpoint.publish(Unknown Source)
at bista_esb_52.mage_api_model_server_wsi_handlerporttype_storelist_0_1.Mage_Api_Model_Server_Wsi_HandlerPortType_storeList$HandlerThread_tESBProviderRequest_1.run(Mage_Api_Model_Server_Wsi_HandlerPortType_storeList.java:744)
Caused by: java.lang.RuntimeException: Protocol mismatch for port -1: engine's protocol is http, the url protocol is https
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:162)
at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:307)
at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:142)
at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)
at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:454)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
... 4 more
Caused by: java.io.IOException: Protocol mismatch for port -1: engine's protocol is http, the url protocol is https
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory.createJettyHTTPServerEngine(JettyHTTPServerEngineFactory.java:270)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.retrieveEngine(JettyHTTPDestination.java:127)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:160)
... 12 more

Please suggest me or anyone has solutions to above please share it with me.
I tried the same thing in the Talend ESB 5.3.2 and Talend ESB 5.2.2. and in both versions I am getting the same error.
the wsdl which I am using is : " http://adminnike.gostorego.com/api/wsi_soap/?wsdl"
Thanking you,
with kind regards,
Akash S.
Labels (5)
1 Reply
Anonymous
Not applicable
Author

Hi,
Protocol mismatch for port -1: engine's protocol is http, the url protocol is https

Did you set the wsdl service as "https" which probably cause this issue (The default is "http").
<wsdl:service name="ff">
<wsdl 0683p000009MAB6.pngort name="ffPort" binding="tns:ffBinding">
<soap:address location="https://localhost:8090/services/ff" />
</wsdl 0683p000009MAB6.pngort>
</wsdl:service>
Best regards
Sabrina
0683p000009MCx7.jpg