Receiving "Unknown Source" error on Job Agent's report tab (below) when executing "wsdl":

Document ID : KB000089426
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Receiving "Unknown Source" error on Job Agent's report tab (below) when executing "wsdl":
Resolution:

Symptoms

Receives "Unknown Source" error on Job Agent's report tab (below) when executing "wsdl":

++++++++++++++++++++++++++++++++++++ Start of Runtime Exception ++++++++++++++++++++++++++++++++++++
java.lang.NullPointerException
 at uctest2.AEWebServiceStub.FTPService(AEWebServiceStub.java:165)
 at uctest2.AEWebService$FTPService.call(Unknown Source)
 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
 at Script1.run(Script1.groovy:155)
 at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
 at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
 at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
 at groovy.lang.GroovyShell$evaluate.call(Unknown Source)
 at WebserviceExecJob.runJob(WebserviceExecAgent.groovy:1379)
 at WebserviceExecJob$runJob.call(Unknown Source)
 at WebserviceExecAgentImpl.dispatchJob(WebserviceExecAgent.groovy:2770)
 at com.automic.ex.cit.CITJob.execute(CITJob.java:173)
 at com.automic.ex.Job.run(Job.java:453)
 at com.automic.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
++++++++++++++++++++++++++++++++++++++ End of Runtime Exception ++++++++++++++++++++++++++++++++++++++

Cause

Possibly trying to use the URL of the WSDL in the Connection object rather than the URL to the WebService


Resolution

Possibly trying to use the URL of the WSDL in the Connection object rather than the URL to the WebService:

http://dal01dumqm000.atmosenergy.com:7803/services/uc4?wsdl

The URL to the WebService should not end with a ?WSDL.

The URL to the WSDL is used to create the Adapter.

For example, the Stock Quote WebService.

The URL to the WSDL is:

http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?WSDL

The URL to the WebService would be:

http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx

The WebService URL should appear like so when seen in a Browser Window, it will lis the Methods available:

The following operations are supported. For a formal definition, please review the Service Description.

GetQuickQuote

This method retrieves just a stock price. Use a license key of 0 for testing.

GetQuote

This method retrieves a current stock quote. Use a license key of 0 for testing.

GetQuoteDataSet

This method retrieves the stock information and returns it in a dataset. Use a , to display multiple quotes. Use a license key of 0 for testing.