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 Richard Jones <ri...@imperial.ac.uk> on 2006/07/31 13:42:01 UTC
"No such operation" error
Hi Folks,
I am trying to get a test client to connect to my new service using Axis
at both ends, but have encountered a problem which I can't understand.
When I make a request, using a data type called "SingleGUID", I get an
AxisFault thus:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}Client
faultSubcode:
faultString: No such operation 'SingleGUID'
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:[...deleted...]
No such operation 'SingleGUID'
This error message is accurate enough in so much as there isn't an
operation called SingleGUID, but I never asked it to perform such an
operation, AFAICT. The code that invokes this, and thus causes the
problem is:
MyServiceWrapper service = getService();
SingleGUID sguid = new SingleGUID(guid);
RequestFileDetailsResponse response = service.requestFileDetails(sguid);
Any ideas what I might have done wrong?
I wanted to take a look at the SOAP message, to see if it looks like
what I expected it to look like, but SOAPMonitor seems not to want to
connect to my server (something to do with not supporting a "list"
operation).
Any help gratefully received.
Cheers,
--
Richard
-------
Richard Jones
Web and Database Technology Specialist
Imperial College London
t: +44 (0)20 759 41815
e: richard.d.jones@imperial.ac.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: "No such operation" error
Posted by Paul Fremantle <pz...@gmail.com>.
Richard
If you're just starting out you also might want to take a look at
Axis2 which is significantly (4-5x) faster than Axis1.
Paul
On 7/31/06, Richard Jones <ri...@imperial.ac.uk> wrote:
> Hi Paul,
>
> > Can you post some code? Its hard to figure this out from the
> > description. It looks as if its incorrectly using SingleGUID as an
> > operation name instead of the requestFileDetails which should be the
> > op name.
>
> I am an idiot, sorry. In the process of pulling the code apart to send
> you the relevant bits I discovered that the server-config.wsdd was being
> pulled from an old copy, and not the most recently generated one! D'oh.
>
> Thanks very much for your response, though, and thanks also to all you
> folks who are working on Axis. I'm pretty new to web services, and it's
> making my life a whole lot easier.
>
> All the best,
>
> --
> Richard
> -------
> Richard Jones
> Web and Database Technology Specialist
> Imperial College London
> t: +44 (0)20 759 41815
> e: richard.d.jones@imperial.ac.uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: "No such operation" error
Posted by Richard Jones <ri...@imperial.ac.uk>.
Hi Paul,
> Can you post some code? Its hard to figure this out from the
> description. It looks as if its incorrectly using SingleGUID as an
> operation name instead of the requestFileDetails which should be the
> op name.
I am an idiot, sorry. In the process of pulling the code apart to send
you the relevant bits I discovered that the server-config.wsdd was being
pulled from an old copy, and not the most recently generated one! D'oh.
Thanks very much for your response, though, and thanks also to all you
folks who are working on Axis. I'm pretty new to web services, and it's
making my life a whole lot easier.
All the best,
--
Richard
-------
Richard Jones
Web and Database Technology Specialist
Imperial College London
t: +44 (0)20 759 41815
e: richard.d.jones@imperial.ac.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: "No such operation" error
Posted by Paul Fremantle <pz...@gmail.com>.
Richard
Can you post some code? Its hard to figure this out from the
description. It looks as if its incorrectly using SingleGUID as an
operation name instead of the requestFileDetails which should be the
op name.
Paul
On 7/31/06, Richard Jones <ri...@imperial.ac.uk> wrote:
> Hi Folks,
>
> I am trying to get a test client to connect to my new service using Axis
> at both ends, but have encountered a problem which I can't understand.
> When I make a request, using a data type called "SingleGUID", I get an
> AxisFault thus:
>
> Exception in thread "main" AxisFault
> faultCode: {http://xml.apache.org/axis/}Client
> faultSubcode:
> faultString: No such operation 'SingleGUID'
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}hostname:[...deleted...]
>
> No such operation 'SingleGUID'
>
> This error message is accurate enough in so much as there isn't an
> operation called SingleGUID, but I never asked it to perform such an
> operation, AFAICT. The code that invokes this, and thus causes the
> problem is:
>
> MyServiceWrapper service = getService();
> SingleGUID sguid = new SingleGUID(guid);
> RequestFileDetailsResponse response = service.requestFileDetails(sguid);
>
> Any ideas what I might have done wrong?
>
> I wanted to take a look at the SOAP message, to see if it looks like
> what I expected it to look like, but SOAPMonitor seems not to want to
> connect to my server (something to do with not supporting a "list"
> operation).
>
> Any help gratefully received.
>
> Cheers,
>
> --
> Richard
> -------
> Richard Jones
> Web and Database Technology Specialist
> Imperial College London
> t: +44 (0)20 759 41815
> e: richard.d.jones@imperial.ac.uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org