You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Scott Nichol <sn...@scottnichol.com> on 2002/09/24 18:53:11 UTC
Re: No Signature Found
What is the full text of the message? Normally, it would include the
signature for the method. Does this really match the method you are trying
to call? Also, is there a chance you added the method to the class after
the class was deployed (i.e. do you have the right version of the class file
deployed)?
Scott Nichol
----- Original Message -----
From: "Lian Fern" <ng...@bii.a-star.edu.sg>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 5:53 AM
Subject: No Signature Found
> Hi All,
>
> While trying to access my web service, i hit this error : SOAP-ENV:Server
No
> Signature found for the method that i tried to call. I have checked both
my
> server and client exchange the same parameters and the value i indicate in
> my deployment descriptor is correct.
>
> Any pointers?
>
> Thank you and best regards, lianfern
>
>
Re: No Signature Found
Posted by Scott Nichol <sn...@scottnichol.com>.
Well, I don't see anything that looks even a little bit suspicious.
If your service class has no external dependencies (e.g. a database to
connect to or a proprietary jar), you can send it to me and I'll try it
on my setup. You can just send the byte code if you don't want to
reveal your source code.
Otherwise, as I said, I don't see anything odd. The only thing that
comes to mind is that somehow a version of the service class without
that method is getting loaded, but you've checked that the right version
is deployed.
Scott Nichol
----- Original Message -----
From: "Lian Fern" <ng...@bii.a-star.edu.sg>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:19 PM
Subject: Re: No Signature Found
> Hi Scott,
>
> The full text of the message is " Generated fault: Fault Code =
> SOAP-ENV:Server Fault String = Exception while handling service
request:
> BlastWebServiceImpl.runBlast(BlastBean) -- no signature match"
>
> ------------------------------------------
> My deployment script
>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
> id="urn:xml-web-blast">
> <isd:provider type="java"
> scope="Application"
> methods="runBlast runBl2seq">
> <isd:java class="BlastWebServiceImpl" static="false"/>
> </isd:provider>
>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultLis
tene
> r>
>
> <isd:mappings>
> <isd:map
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:x="urn:web-blast" qname="x:blastbean"
> javaType="BlastBean"
>
> java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>
> xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> </isd:mappings>
> </isd:service>
>
> -------------------------------------------
> My Client passes a bean(BlastBean) to the webservices
>
> BlastBean blast = new BlastBean();
> ...
>
> call.setTargetObjectURI("urn:xml-web-blast");
> call.setMethodName("runBlast");
>
>
> // Add the parameters
>
> Vector params = new Vector();
>
> params.addElement(new Parameter("blast", BlastBean.class, blast,
null));
>
> call.setParams(params);
> ---------------------------------------------
> At my serverside, i have a method
>
> public String runBlast(BlastBean blast){
> ....
> return string;
> }
>
> i have checked that it is the right version of class file is being
deployed.
>
> Any suggestions? Once again, thank you for your time.
>
> Regards,
> lianfern
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: "Lian Fern" <ng...@bii.a-star.edu.sg>; <so...@xml.apache.org>
> Sent: Wednesday, September 25, 2002 12:53 AM
> Subject: Re: No Signature Found
>
>
> > What is the full text of the message? Normally, it would include
the
> > signature for the method. Does this really match the method you are
> trying
> > to call? Also, is there a chance you added the method to the class
after
> > the class was deployed (i.e. do you have the right version of the
class
> file
> > deployed)?
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Lian Fern" <ng...@bii.a-star.edu.sg>
> > To: <so...@xml.apache.org>
> > Sent: Tuesday, September 24, 2002 5:53 AM
> > Subject: No Signature Found
> >
> >
> > > Hi All,
> > >
> > > While trying to access my web service, i hit this error :
> SOAP-ENV:Server
> > No
> > > Signature found for the method that i tried to call. I have
checked both
> > my
> > > server and client exchange the same parameters and the value i
indicate
> in
> > > my deployment descriptor is correct.
> > >
> > > Any pointers?
> > >
> > > Thank you and best regards, lianfern
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > For additional commands, e-mail:
<ma...@xml.apache.org>
> >
> >
> >
>
>
Re: No Signature Found
Posted by Scott Nichol <sn...@scottnichol.com>.
Well, I don't see anything that looks even a little bit suspicious.
If your service class has no external dependencies (e.g. a database to
connect to or a proprietary jar), you can send it to me and I'll try it
on my setup. You can just send the byte code if you don't want to
reveal your source code.
Otherwise, as I said, I don't see anything odd. The only thing that
comes to mind is that somehow a version of the service class without
that method is getting loaded, but you've checked that the right version
is deployed.
Scott Nichol
----- Original Message -----
From: "Lian Fern" <ng...@bii.a-star.edu.sg>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:19 PM
Subject: Re: No Signature Found
> Hi Scott,
>
> The full text of the message is " Generated fault: Fault Code =
> SOAP-ENV:Server Fault String = Exception while handling service
request:
> BlastWebServiceImpl.runBlast(BlastBean) -- no signature match"
>
> ------------------------------------------
> My deployment script
>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
> id="urn:xml-web-blast">
> <isd:provider type="java"
> scope="Application"
> methods="runBlast runBl2seq">
> <isd:java class="BlastWebServiceImpl" static="false"/>
> </isd:provider>
>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultLis
tene
> r>
>
> <isd:mappings>
> <isd:map
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:x="urn:web-blast" qname="x:blastbean"
> javaType="BlastBean"
>
> java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>
> xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> </isd:mappings>
> </isd:service>
>
> -------------------------------------------
> My Client passes a bean(BlastBean) to the webservices
>
> BlastBean blast = new BlastBean();
> ...
>
> call.setTargetObjectURI("urn:xml-web-blast");
> call.setMethodName("runBlast");
>
>
> // Add the parameters
>
> Vector params = new Vector();
>
> params.addElement(new Parameter("blast", BlastBean.class, blast,
null));
>
> call.setParams(params);
> ---------------------------------------------
> At my serverside, i have a method
>
> public String runBlast(BlastBean blast){
> ....
> return string;
> }
>
> i have checked that it is the right version of class file is being
deployed.
>
> Any suggestions? Once again, thank you for your time.
>
> Regards,
> lianfern
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: "Lian Fern" <ng...@bii.a-star.edu.sg>; <so...@xml.apache.org>
> Sent: Wednesday, September 25, 2002 12:53 AM
> Subject: Re: No Signature Found
>
>
> > What is the full text of the message? Normally, it would include
the
> > signature for the method. Does this really match the method you are
> trying
> > to call? Also, is there a chance you added the method to the class
after
> > the class was deployed (i.e. do you have the right version of the
class
> file
> > deployed)?
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Lian Fern" <ng...@bii.a-star.edu.sg>
> > To: <so...@xml.apache.org>
> > Sent: Tuesday, September 24, 2002 5:53 AM
> > Subject: No Signature Found
> >
> >
> > > Hi All,
> > >
> > > While trying to access my web service, i hit this error :
> SOAP-ENV:Server
> > No
> > > Signature found for the method that i tried to call. I have
checked both
> > my
> > > server and client exchange the same parameters and the value i
indicate
> in
> > > my deployment descriptor is correct.
> > >
> > > Any pointers?
> > >
> > > Thank you and best regards, lianfern
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > For additional commands, e-mail:
<ma...@xml.apache.org>
> >
> >
> >
>
>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>