Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error when invoking soap web service

184 views
Skip to first unread message

pug...@gmail.com

unread,
May 31, 2016, 6:14:49 PM5/31/16
to
Hi all, I am getting the below error when trying to call a simple web service that i am developing an adapter for a client. the service is SOAP based and uses complex types etc. I have all that code in place and hit a brick wall as soon as i tried to test it out . Note this service works fine via SOAPUI so i know this is TDI puking on the wsdl format.

May 31, 2016, 5:58:23 PM INFO - [callLegalPersonservice] CTGDIS495I handleException , initialize, javax.xml.rpc.JAXRPCException: Cannot set location URI: java.net.MalformedURLException: unknown protocol: jms
May 31, 2016, 5:58:23 PM DEBUG - [callLegalPersonservice] CTGDIS057I Hook initialize_fail not enabled.
May 31, 2016, 5:58:23 PM ERROR - [callLegalPersonservice] CTGDIS810E handleException - cannot handle exception , initialize
May 31, 2016, 5:58:23 PM javax.xml.rpc.JAXRPCException: Cannot set location URI: java.net.MalformedURLException: unknown protocol: jms
May 31, 2016, 5:58:23 PM at org.apache.axis.client.Call.setOperation(Call.java:1646)
May 31, 2016, 5:58:23 PM at org.apache.axis.client.Call.setOperation(Call.java:1592)
May 31, 2016, 5:58:23 PM at org.apache.axis.client.Service.createCall(Service.java:527)
May 31, 2016, 5:58:23 PM at com.ibm.di.fc.webservice.AxisEasyInvokeSoapWS.initialize(AxisEasyInvokeSoapWS.java:230)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.FunctionComponent.doInitialize(FunctionComponent.java:167)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.FunctionComponent.initialize(FunctionComponent.java:146)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.initConnectors(AssemblyLine.java:1912)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.msInitConn(AssemblyLine.java:3566)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.executeMainStep(AssemblyLine.java:3376)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:3000)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:2983)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.executeAL(AssemblyLine.java:2952)
May 31, 2016, 5:58:23 PM at com.ibm.di.server.AssemblyLine.run(AssemblyLine.java:1319)


There are jms references in the wsdl but since this same wsdl works via soapui and through java code, I cant exactly tell the wsdl provider to remove the references for me to get tdi to work right. Is has anyone seen this sort of stuff before and know how to work around it? I am using the AxisEasyInvoke soap FC after setting up my complex types in a script.

pug...@gmail.com

unread,
Jun 1, 2016, 3:30:45 PM6/1/16
to
I was able to get past the first exception. Now i am getting a different error when i call the WS using Axis2 WS FC. anyone seen this before?

2016-06-01 15:20:11,081 INFO [org.apache.axis2.transport.http.HTTPSender] - Unable to sendViaPost to url[http://localhost:7800/LegalPerson]
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:200)
at java.net.SocketInputStream.read(SocketInputStream.java:132)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:560)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:403)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:228)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:514)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.ibm.di.fc.axis2.Axis2WSClientFC.perform(Axis2WSClientFC.java:315)
at com.ibm.di.server.AssemblyLineComponent.executeOperation(AssemblyLineComponent.java:3368)
at com.ibm.di.server.FunctionComponent.callreply(FunctionComponent.java:304)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(AssemblyLine.java:3801)
at com.ibm.di.server.AssemblyLine.executeMainStep(AssemblyLine.java:3392)
at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:3000)
at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:2983)
at com.ibm.di.server.AssemblyLine.executeAL(AssemblyLine.java:2952)
at com.ibm.di.server.AssemblyLine.run(AssemblyLine.java:1319)
2016-06-01 15:20:11,082 INFO [AssemblyLine.AssemblyLines/LegalPersonServiceCall.24] - [Axis2WebServiceClientFunctionComponent] CTGDIS495I handleException , functioncall, java.lang.Exception: CTGDIA207E An Exception occured while tring to invoke the Web Service. Exception message: Connection reset
2016-06-01 15:20:11,093 ERROR [AssemblyLine.AssemblyLines/LegalPersonServiceCall.24] - [Axis2WebServiceClientFunctionComponent] CTGDIS810E handleException - cannot handle exception , functioncall
java.lang.Exception: CTGDIA207E An Exception occured while tring to invoke the Web Service. Exception message: Connection reset
at com.ibm.di.fc.axis2.Axis2WSClientFC.perform(Axis2WSClientFC.java:355)
at com.ibm.di.server.AssemblyLineComponent.executeOperation(AssemblyLineComponent.java:3368)
at com.ibm.di.server.FunctionComponent.callreply(FunctionComponent.java:304)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(AssemblyLine.java:3801)
at com.ibm.di.server.AssemblyLine.executeMainStep(AssemblyLine.java:3392)
at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:3000)
at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:2983)
at com.ibm.di.server.AssemblyLine.executeAL(AssemblyLine.java:2952)
at com.ibm.di.server.AssemblyLine.run(AssemblyLine.java:1319)
2016-06-01 15:20:11,096 ERROR [AssemblyLine.AssemblyLines/LegalPersonServiceCall.24] - CTGDIS266E Error in NextConnectorOperation. Exception occurred: java.lang.Exception: CTGDIA207E An Exception occured while tring to invoke the Web Service. Exception message: Connection reset
java.lang.Exception: CTGDIA207E An Exception occured while tring to invoke the Web Service. Exception message: Connection reset
at com.ibm.di.fc.axis2.Axis2WSClientFC.perform(Axis2WSClientFC.java:355)
at com.ibm.di.server.AssemblyLineComponent.executeOperation(AssemblyLineComponent.java:3368)
at com.ibm.di.server.FunctionComponent.callreply(FunctionComponent.java:304)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(AssemblyLine.java:3801)
at com.ibm.di.server.AssemblyLine.executeMainStep(AssemblyLine.java:3392)
at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:3000)
at com.ibm.di.server.AssemblyLine.executeMainLoop(AssemblyLine.java:2983)
at com.ibm.di.server.AssemblyLine.executeAL(AssemblyLine.java:2952)
at com.ibm.di.server.AssemblyLine.run(AssemblyLine.java:1319)
2016-06-01 15:20:11,102 INFO [AssemblyLine.AssemblyLines/LegalPersonServiceCall.24] - CTGDIS100I Printing the Connector statistics.


The same request works right away via soapUI. The localhost:7800 is basically an SSH tunnel i use for now since i dont have full acces to the customers environment. Again, soapUI doesnt seem to care about this and can send the soap response back just fine but for some reason tdi is not a happy camper.
0 new messages