You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jason Etherton <je...@astro.livjm.ac.uk> on 2004/07/26 16:40:39 UTC
(String,String) does not match (String,String)???
People,
I get the following error:
[je@jason1 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 <Ke...@payformance.com> 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
>
>
>
>
>
Re: (String,String) does not match (String,String)???
Posted by "matthew.hawthorne" <ma...@apache.org>.
Jason Etherton wrote:
> Does nobody know what this means???
Try the Axis mailing list archives, maybe. Perhaps you can post your
WSDL also. After taking a look at your error, I really don't have any
ideas.
Re: (String,String) does not match (String,String)???
Posted by Jason Etherton <je...@astro.livjm.ac.uk>.
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:
>>
>> [je@jason1 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 <Ke...@payformance.com> 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
>>>
>>>
>>>
>>>
>>>
Re: (String,String) does not match (String,String)???
Posted by Jason Etherton <je...@astro.livjm.ac.uk>.
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:
>
> [je@jason1 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 <Ke...@payformance.com> 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
>>
>>
>>
>>
>>