Sorry folks, I no longer have the generated WSDL.

I got impatient and so I went back to an example-level app and re-wrote mine piece by piece.  I originally had the Impl class that threw ExecutionExceptions that were caught and re-thrown by the generated ...SoapBindingImpl class as RemoteExceptions.

I'm not sure how, but I think it was these ExecutionExceptions that were mucking things up as they were appearing in the ...SoapBindingImpl.java source signatures.

The interface I used to generate the WSDL also had these ExecutionExceptions in the method signatures, so I removed the 'throws' from the signatures and re-generated the WSDL and Java sources WITHOUT the ExecutionExceptions.  Obviously, the 'throws ExecutionException' dissappeared from the generated source file signatures and everything worked fine!

If this is a problem that Axis-users/developers would like to know more about/solve I'm pretty sure I can remember how to get it.

Any takers?

Jason

THOMAS, JAI [AG-Contractor/1000] wrote:
Can you post the generated wsdl?
Jai
-----Original Message-----
From: Jason Etherton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 27, 2004 4:38 AM
To: [EMAIL PROTECTED]
Subject: Re: (String,String) does not match (String,String)???

Please,

Does nobody know what this means???

Jason Etherton wrote:
Also,

I have just tried to invoke a method that takes no arguments, and have received the same sort of reply:


Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Tried to invoke method public java.lang.String org.estar.node.ws.DiscoveryNodeSoapBindingImpl.getLST() throws java.rmi.RemoteException with arguments .  The arguments do not match the signature.; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of declaring class
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Tried to invoke method public java.lang.String org.estar.node.ws.DiscoveryNodeSoapBindingImpl.getLST() throws java.rmi.RemoteException with arguments .  The arguments do not match the signature.; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of declaring class
 faultActor: 
 faultNode: 
 faultDetail: 
Tried to invoke method public java.lang.String org.estar.node.ws.DiscoveryNodeSoapBindingImpl.getLST() throws java.rmi.RemoteException with arguments .  The arguments do not match the signature.; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of declaring class
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1083)
        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.DTDConfiguration.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(SAXParser.java:345)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:252)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.globus.ogsa.handlers.RoutingHandler.getRouterHeader(RoutingHandler.java:31)
        at org.globus.ogsa.handlers.RoutingResponseHandler.invoke(RoutingResponseHandler.java:26)
        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:193)
        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 org.estar.node.ws.DiscoveryNodeSoapBindingStub.getLST(DiscoveryNodeSoapBindingStub.java:321)
        at org.estar.node.Client.main(Client.java:14)
Tried to invoke method public java.lang.String org.estar.node.ws.DiscoveryNodeSoapBindingImpl.getLST() throws java.rmi.RemoteException with arguments .  The arguments do not match the signature.; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of declaring class
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1083)
        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.DTDConfiguration.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(SAXParser.java:345)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:252)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.globus.ogsa.handlers.RoutingHandler.getRouterHeader(RoutingHandler.java:31)
        at org.globus.ogsa.handlers.RoutingResponseHandler.invoke(RoutingResponseHandler.java:26)
        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:193)
        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 org.estar.node.ws.DiscoveryNodeSoapBindingStub.getLST(DiscoveryNodeSoapBindingStub.java:321)
        at org.estar.node.Client.main(Client.java:14)


Jason Etherton wrote:
People,

I get the following error:

[EMAIL PROTECTED] webservice]$ java org/estar/node/Client http://localhost:8080/axis/services/DiscoveryNode
Tried to invoke method public void org.estar.node.DiscoveryNodeSoapBindingSkeleton.gotoTargetStrings(java.lang.String,java.lang.String) throws java.rmi.RemoteException with arguments java.lang.String,java.lang.String.  The arguments do not match the signature.; nested exception is:
        java.lang.IllegalArgumentException: object is not an instance of declaring class

Which suggests that my (String, String) args do not match the (String, String) prototype.

Any ideas what the hell this means?

(Hopefully) thanks,

Jason


Ingrid Falk wrote:
Hi,

  
"Keith" == Keith Tingle <[EMAIL PROTECTED]> writes:
            

    Keith> For troubleshooting / development purposes I would like to
    Keith> have some web pages that read the WSDL file of my web
    Keith> service and build a simple GUI for setting parameter
    Keith> values... and actually making calls.

    Keith> After some googling I can't seem to find any projects like
    Keith> this, but you never know so I will ask.. does this beast
    Keith> exist in the open source world already?

I wrote something like that maybe a year ago:  a servlet to generate a
HTML form from a wsdl URI. It was based on
ws-axis/java/samples/client/DynamicInvoker.java. You entered the
parameters and it generated the call and invoked it.

You can see what it looks like on:

http://loreley.loria.fr:8080/wsdi-0.1/

If you think you could use it I could send you some code, but I'm
rather sure you won't be able to use the code as it is, it's too long ago -
Axis might have changed a lot in the meanwhile ;-)

Ingrid



  

Reply via email to