Hello,

as mentioned in the title I have problems with doing a web service call from the globus container. The situation is looks like this.

I have created a grid services which needs to do a regular web service call at a few points. The application itself without being used within the grid service works 100% correct. When integrating it in the service and deploying it into my local globus container (ws-core 4.0.6) I get the attached exceptions. The first one appears only when the container has been newly started. Every call afterwards produces the second error. All libraries are where they belong, there is nothing missing and to the point where web service call comes in everything works as it should.

From what I coulf find out searching the internet it is a problem with the version of axis used by globus toolkit and the stubs I use which where created using axis 1.2.2. So what I did was trying to use the globus axis library's WSDL2Java to generate my own stubs. Unfortunately that didn't work out at all because the tool mixes up all parameters and lists them in the wrong order. Also leaves out some. So there is no way to use those.

Second thing I did to make sure that axis is the problem, was trying to use the stubs generate with globus' axis with my applikation right from eclipse and not within the grid service. Same exceptions here, where when using the other axis.jar it worked. So I'm sure now that the problem is definitely the incompatibility of the axis.jar that comes with globus and any other I need to use to create the stubs correctly (1.1, 1.2.2 and 1.4 work flawlessly).

So does anybody have an idea how I can
- either explicitly tell the application to use a different axis.jar which I might package with the service and not the one that is in the globus lib folder
- or another solution I can't think of at the moment.

Any suggestions are welcome. Thanks!

Tobias Kunz


AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Error processing request; nested exception is: 
        java.lang.NoSuchFieldError: RPC
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}hostname:tkunz-nb

Error processing request; nested exception is: 
        java.lang.NoSuchFieldError: RPC
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
        at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at 
org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse(AddressingHandler.java:305)
        at 
org.apache.axis.message.addressing.handler.AddressingHandler.invoke(AddressingHandler.java:110)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
        at org.apache.axis.client.Call.invoke(Call.java:2710)
        at org.apache.axis.client.Call.invoke(Call.java:2386)
        at org.apache.axis.client.Call.invoke(Call.java:2309)
        at org.apache.axis.client.Call.invoke(Call.java:1766)
        at 
com.mapsolute.grid.ogc.openls.gridOpenLSService.stubs.bindings.GridOpenLSPortTypeSOAPBindingStub.processRequest(GridOpenLSPortTypeSOAPBindingStub.java:452)
        at 
com.mapsolute.grid.ogc.openls.client.GridOpenLSClient.processRequest(GridOpenLSClient.java:106)
        at 
com.mapsolute.grid.ogc.openls.client.GridOpenLSClient.main(GridOpenLSClient.java:174)







AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Error processing request; nested exception is: 
        java.lang.NoClassDefFoundError: Could not initialize class 
com.mapsolute.map24webservices15.clients.axis.stubs.Map24Geocoder51BindingStub
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}hostname:tkunz-nb

Error processing request; nested exception is: 
        java.lang.NoClassDefFoundError: Could not initialize class 
com.mapsolute.map24webservices15.clients.axis.stubs.Map24Geocoder51BindingStub
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
        at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at 
org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse(AddressingHandler.java:305)
        at 
org.apache.axis.message.addressing.handler.AddressingHandler.invoke(AddressingHandler.java:110)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
        at org.apache.axis.client.Call.invoke(Call.java:2710)
        at org.apache.axis.client.Call.invoke(Call.java:2386)
        at org.apache.axis.client.Call.invoke(Call.java:2309)
        at org.apache.axis.client.Call.invoke(Call.java:1766)
        at 
com.mapsolute.grid.ogc.openls.gridOpenLSService.stubs.bindings.GridOpenLSPortTypeSOAPBindingStub.processRequest(GridOpenLSPortTypeSOAPBindingStub.java:452)
        at 
com.mapsolute.grid.ogc.openls.client.GridOpenLSClient.processRequest(GridOpenLSClient.java:106)
        at 
com.mapsolute.grid.ogc.openls.client.GridOpenLSClient.main(GridOpenLSClient.java:174)

Reply via email to