Web Service Client Fails: Service invocation exception
Posted: Mon Feb 25, 2013 9:16 am
Hello DataStagers:
AIX 6.2, IIS 8.7. I have a simple Web Service Client to Peek calling the Weather Web Service (http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL) I enter the appropriate information, zip, and get the following error:
wscWeather,0: Info: Weather_WebService_Call.wscWeather: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception:
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1602)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
at com.ascentialsoftware.jds.StageFactory.runSource(StageFactory.java:335)
Caused by: java.lang.NullPointerException
at com.ascentialsoftware.wsclient.xml.DerivationParser.match(DerivationParser.java:622)
at com.ascentialsoftware.wsclient.xml.DerivationParser.element(DerivationParser.java:367)
at com.ascentialsoftware.wsclient.xml.DerivationParser.segment(DerivationParser.java:271)
at com.ascentialsoftware.wsclient.xml.DerivationParser.segment(DerivationParser.java:293)
at com.ascentialsoftware.wsclient.xml.DerivationParser.segment(DerivationParser.java:208)
at com.ascentialsoftware.wsclient.xml.DerivationParser.expr(DerivationParser.java:171)
at com.ascentialsoftware.wsclient.xml.DerivationParser.parse(DerivationParser.java:138)
at com.ascentialsoftware.wsclient.xml.TreeBuilder.compileRules(TreeBuilder.java:84)
at com.ascentialsoftware.wsclient.MappingHandler.fromArray(MappingHandler.java:304)
at com.ascentialsoftware.wsclient.InputRequest.buildRequestBodyDocument(InputRequest.java:908)
at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1625)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
... 4 more
Notice the Caused by: java.lang.NullPointerException. This error is not a HTTPS or XML type error as typically reported. My XML and Java stages work fine.
I have set the DSHOME explicitly in the Admin and also added and removed the JRE and JVM variables that were previously reported for the java fixes as a potential fix but the error persists.
I saw someone had a similiar Service Invocation issue about one year ago (can't find the post again) but no responses.
This error occurs for both server and parallel jobs. In addition, I get the error when I try to call a DataStage job deployed as a web service. Also, I was successful calling both from a Windows installation, so there is something about a Unix install that is being missed.
Any help would be appreciated.
God Bless
AIX 6.2, IIS 8.7. I have a simple Web Service Client to Peek calling the Weather Web Service (http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL) I enter the appropriate information, zip, and get the following error:
wscWeather,0: Info: Weather_WebService_Call.wscWeather: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception:
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1602)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
at com.ascentialsoftware.jds.StageFactory.runSource(StageFactory.java:335)
Caused by: java.lang.NullPointerException
at com.ascentialsoftware.wsclient.xml.DerivationParser.match(DerivationParser.java:622)
at com.ascentialsoftware.wsclient.xml.DerivationParser.element(DerivationParser.java:367)
at com.ascentialsoftware.wsclient.xml.DerivationParser.segment(DerivationParser.java:271)
at com.ascentialsoftware.wsclient.xml.DerivationParser.segment(DerivationParser.java:293)
at com.ascentialsoftware.wsclient.xml.DerivationParser.segment(DerivationParser.java:208)
at com.ascentialsoftware.wsclient.xml.DerivationParser.expr(DerivationParser.java:171)
at com.ascentialsoftware.wsclient.xml.DerivationParser.parse(DerivationParser.java:138)
at com.ascentialsoftware.wsclient.xml.TreeBuilder.compileRules(TreeBuilder.java:84)
at com.ascentialsoftware.wsclient.MappingHandler.fromArray(MappingHandler.java:304)
at com.ascentialsoftware.wsclient.InputRequest.buildRequestBodyDocument(InputRequest.java:908)
at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1625)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
... 4 more
Notice the Caused by: java.lang.NullPointerException. This error is not a HTTPS or XML type error as typically reported. My XML and Java stages work fine.
I have set the DSHOME explicitly in the Admin and also added and removed the JRE and JVM variables that were previously reported for the java fixes as a potential fix but the error persists.
I saw someone had a similiar Service Invocation issue about one year ago (can't find the post again) but no responses.
This error occurs for both server and parallel jobs. In addition, I get the error when I try to call a DataStage job deployed as a web service. Also, I was successful calling both from a Windows installation, so there is something about a Unix install that is being missed.
Any help would be appreciated.
God Bless