Rosh,

from your previous tunnel output:

<ns1:sayHelloTo xmlns:ns1="rsh.hello"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
<name xsi:type="xsd:string">Rosh</name>
</ns1:sayHelloTo>

This is indicating that you are trying to invoke method "sayHelloTo" of a
class identified by the uri "rsh.hello"

The output you posted in your last message seemed incomplete. Are they from
the same request?

-javier


Rosh R Nair wrote:

> Hi all,
>   According to the Info that I just found out the Message header should
> contain the following info:
> ********************
> The request SHOULD include a header "SOAPMethodName" whose
>         value indicates the method to be invoked on the target. The
>         value consists of a URI followed by a "#", followed by a method
>         name (which MUST not include the "#" character). The URI used
>         for the interface MUST match the implied or specified namespace
>         qualification of the method name element in the SOAP:Body part
>         of the payload. For example:
>
>         SOAPMethodName: http://electrocommerce.org/abc#MyMethod
> ***********************
>
> But the request that is emanating from my client is as follows:
>
> POST /mysoap/servlet/rpcrouter HTTP/1.0
> Host: localhost
> Content-Type: text/xml; charset=utf-8
> Content-Length: 443
> SOAPAction: ""
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>
> It dosen't have a SOAPMethodName or any URI. Instead their is a
> SOAPAction:"" field. Is this the cause of the AbstractMethodError.
>
> Thanks
> Rosh Nair
>
> -----Original Message-----
> From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 12:17 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Beginner question : Client throwing AbstractMethodError
>
> >From the Java API docs :
>
> public class AbstractMethodError
>
> extends IncompatibleClassChangeError
>
> Thrown when an application tries to call an abstract method. Normally, this
> error is caught by the compiler; this error can only occur at run time if
> the definition of some class has incompatibly changed since the currently
> executing method was last compiled.
>
> > -----Original Message-----
> > From: Rosh R Nair [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 22, 2001 2:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Beginner question : Client throwing AbstractMethodError
> >
> >
> > Hi,
> >   The TCP Tunnel/Monitor is working properly now. Plese help
> > me in debugging
> > this output.
> >
> > The XML generated by the client is as follows:
> > ---------------------------------------------
> > POST /mysoap/servlet/rpcrouter HTTP/1.0
> > Host: localhost
> > Content-Type: text/xml; charset=utf-8
> > Content-Length: 443
> > SOAPAction: ""
> > <?xml version='1.0' encoding='UTF-8'?>
> > <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
> > xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
> > <SOAP-ENV:Body>
> > <ns1:sayHelloTo xmlns:ns1="rsh.hello"
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
> > <name xsi:type="xsd:string">Rosh</name>
> > </ns1:sayHelloTo>
> > </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
> >
> > The server's response is:
> > -------------------------
> > HTTP/1.0 500 Internal Server Error
> > Content-Type: text/xml; charset=utf-8
> > Content-Length: 476
> > Set-Cookie2: JSESSIONID=dsqde992o1;Version=1;Discard;Path="/mysoap"
> > Set-Cookie: JSESSIONID=dsqde992o1;Path=/mysoap
> > Servlet-Engine: Tomcat Web Server/3.2.2 (JSP 1.1; Servlet
> > 2.2; Java 1.3.0;
> > Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
> > <?xml version='1.0' encoding='UTF-8'?>
> > <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
> > xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
> > <SOAP-ENV:Body>
> > <SOAP-ENV:Fault>
> > <faultcode>SOAP-ENV:Server.Exception:</faultcode>
> > <faultstring>java.lang.AbstractMethodError</faultstring>
> > <faultactor>/mysoap/servlet/rpcrouter</faultactor>
> > </SOAP-ENV:Fault>
> > </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
> >
> > Is their anything missing in the client request?
> >
> > Thanks
> > Rosh Nair
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Javier A. Soltero
> > Sent: Friday, June 22, 2001 11:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Beginner question : Client throwing AbstractMethodError
> >
> >
> > Rosh,
> >
> > It looks like you're not setting up the tunneling correctly.
> > You should
> > start
> > the tunnel on a unused port, say 9090 and map it (as you are
> > doing) to the
> > tomcat port 8080. You must now make sure that your soap
> > application client
> > is
> > trying to connect to 9090. Once this is set up, you will be
> > able to run the
> > tunnel correctly.
> >
> > Hope this helps,
> >
> > javier
> >
> > Rosh R Nair wrote:
> >
> > > Hi,
> > >  I tried to use the TcpTunnelGui tool. My Soap Service is
> > running within
> > > Apache on port 8080. But I am not getting any dump inside the tool.
> > >
> > > I ran the GUI Tool as follows:
> > > java org.apache.soap.util.net.TcpTunnelGui 80 24.176.212.99 8080
> > >
> > > I am still confused, whether it has any relation to the
> > deployment of my
> > > soap service. I have the service class files in my server
> > classpath. When
> > we
> > > install a service using the admin tool where are these informations
> > written
> > > to? Or do we need to explicitly copy the server class files to the
> > > /webapps/web-inf/classes directory of Apache or any
> > webserver context that
> > > we have created.
> > >
> > > Please clarify my doubts.
> > >
> > > Thanks
> > > Rosh Nair
> > >
> > > -----Original Message-----
> > > From: Matthew J. Duftler [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, June 22, 2001 11:23 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Beginner question : Client throwing AbstractMethodError
> > >
> > > Hi Rosh,
> > >
> > > Try running the TcpTunnelGui tool, as described in the
> > documentation, to
> > see
> > > what the details of the Fault are.
> > >
> > > Thanks,
> > > -Matt
> > >
> > > > -----Original Message-----
> > > > From: Rosh R Nair [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, June 22, 2001 1:34 PM
> > > > To: [EMAIL PROTECTED]
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: Beginner question : Client throwing AbstractMethodError
> > > >
> > > >
> > > > Hi all,
> > > >   I was trying out the Java World tutorial on soap. I am
> > trying out with
> > > > Tomcat 3.2 and Soap 2.2. But when I try to run a sample
> > program which
> > just
> > > > returns a string I am getting an error:
> > > > Fault Code   = SOAP-ENV:Server.Exception:
> > > > Fault String = java.lang.AbstractMethodError
> > > >
> > > > The client is not able to knock the server. Can anyone help me
> > > > out to solve
> > > > this problem.
> > > >
> > > > Thanks in advance
> > > > Rosh Nair
> > > >
> > > > Rosh R Nair,
> > > > 1901, Halford Avenue, Apt#183,
> > > > Santa Clara, California, USA - 95051.
> > > >
> > > > Ph (H) : 408-985-5512
> > > > [EMAIL PROTECTED]
> > > > [EMAIL PROTECTED]
> > > >
> >

Reply via email to