To all,
I have developed a web service.
The web service makes calls to a third party piece of software.
To invoke this third party piece of software requires a license token.
At the point where I instantiate an object of the type provided by the
third party software provider,
the third party software checks for the availability of the license
token, and if one is available, returns the object.
Otherwise, it throws an instance of a subclass of Exception.
In my case, things work out fine if no license tokens are available.
The appropriate Exception is thrown and things terminate smoothly.
If, however, a token is available, periodically, the entire Apache
Tomcat/Axis
process goes down on the server (and, obviously, an instance of
java.rmi.RemoteException
is thrown with the message that:
AxisFault

 faultCode: {http://xml.apache.org/axis/}HTTP

 faultSubcode:

 faultString: (0)null

 faultActor:

 faultNode:

 faultDetail:

      {}string: return code:  0





(0)null

      at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)

      at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)

      at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)

      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)

      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)

      at org.apache.axis.client.Call.invokeEngine(Call.java:2564)

      at org.apache.axis.client.Call.invoke(Call.java:2553)

      at org.apache.axis.client.Call.invoke(Call.java:2248)

      at org.apache.axis.client.Call.invoke(Call.java:2171)

      at org.apache.axis.client.Call.invoke(Call.java:1691)

      at port_webservice.ReModel.solveModel(ReModel.java:6069)

      at port_webservice.ReModel.main_old(ReModel.java:1380)

      at port_webservice.ReModel.main(ReModel.java:1238)

Exception in thread "main"

Has anyone else had difficulties invoking licensed third party software
from
within web services when using Axis (especially in the case where the
licensing scheme
involves tokens)?

Thanks for your assistance.

Best regards, Charlie

-------------------------
Charles H. Rosa, Ph.D.
Staff Research Engineer
General Motors Corporation
R&D and Planning
Mail Code 480-106-359
30500 Mound Rd
Warren, MI 48090-9055
Tel/work/cell: +1 248 670-8389
Fax/work: +1 586 986-0574
Email: [EMAIL PROTECTED]


Reply via email to