Re: Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-22 Thread soap vamsi
shows the results >of hitting the Soap Admin gui, listing deployed services and >clicking on >this one. > >    and the actual method in the server (the class XMLAPITest) >is this: > >    This works---> > > > > public String helloWorldWithArg(String arg) { >

Re: Fw: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
;Andrew Trieger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 14:10 Subject: Re: Fw: using SOAPContext as first argument in RPC SOAP messages class notworking > SON OF A BI#$@#$#@#$#@$@# > That's it, i put my .class into the webapp's classes

Re: Fw: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Andrew Trieger
ply be the case there that a different classloader is used in iplanet for stuff in a general classes location and classes within a webapp. Soap, when needing to do this separate search for a matching signature with SOAPContext in it, must somehow be relying on it not simply being available in t

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
That is the problem. When I put the byte code in $CATALINA_HOME/common/classes, I get the same error you are seeing: Ouch, the call failed: Fault Code = SOAP-ENV:Server Fault String = Exception while handling service request: org/apache/soap/rpc/SOAPContext I bet that Tomcat uses a

Fw: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
PROTECTED]> Sent: Monday, April 22, 2002 13:15 Subject: Re: using SOAPContext as first argument in RPC SOAP messages class notworking > sure, i'm sending this just to you since the list probably doesnt want to see bytecode... > Drew > > Scott Nichol wrote: > > Andrew, &g

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
ent: Monday, April 22, 2002 12:48 Subject: Re: using SOAPContext as first argument in RPC SOAP messages class notworking > Scott, > OK. I now reproduced the error on my win2k (professional) box as well. To reiterate from the previous email response from me, I took your server cl

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Andrew Trieger
esult.getValue ()); }  } } - Original Message - From: "Andrew Trieger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 1:20 PM Subject: Re: using SOAPContext as first argument in RPC SOAP messages class not working > Good idea, but

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Andrew Trieger
call failed:   Fault Code   = SOAP-ENV:Server   Fault String = Exception while handling service request: org/apache/soap/rpc/SOAPContext [atrieger@shadowfax workspaces]$       With nothing in the catalina.out file.     However, I didnt do anything with your deployment description below, really, I deploy

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-22 Thread Andrew Trieger
thod in the server (the class XMLAPITest) is this:     This works--->     public String helloWorldWithArg(String arg) {     return arg;   }     But as soon as I add SOAPContext here and recompile, it doesnt work --->     public String helloWorldWithArg(SOAPContext ctx, String arg) {     return

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-21 Thread soap vamsi
pServletRequest)ctx.getProperty(org.apache.soap.Constants.BAG_HTTPSERVLETREQUEST); > >    if (req != null) _log("remote user is: >"+req.getQueryString()); > >    return arg; > > } > > > > > > > >    Here's the problem: > >    It w

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-19 Thread Scott Nichol
ault Code = " + fault.getFaultCode ()); System.out.println (" Fault String = " + fault.getFaultString ()); } else { Parameter result = resp.getReturnValue (); System.out.println (result.getValue ()); } } } - Original Message ----- From: "

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-19 Thread Andrew Trieger
Good idea, but I *think* its not even executing my method as my first line println isnt coming out, so I'm screwed, but i might be able to subclass rpcrouter servlet, use mine instead of theirs, catch throwable and dump any info to stderr... Any idea if defining my own custom fault-handler would

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-19 Thread Scott Nichol
against was the same for all tests > as I forgot to change it, which is the servlet.jar > in tomcat4.0. So in theory Iplanet > could have a problem with that, but: > > 1. the test fails in tomcat as well as soon as I add > the SOAPContext arg to the method. > 2. the messagin

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-19 Thread Andrew Trieger
yeah, that is a good idea. The servlet.jar I compiled against was the same for all tests as I forgot to change it, which is the servlet.jar in tomcat4.0. So in theory Iplanet could have a problem with that, but: 1. the test fails in tomcat as well as soon as I add the SOAPContext arg to the

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-19 Thread Scott Nichol
sed in.");     req = (HttpServletRequest)ctx.getProperty(org.apache.soap.Constants.BAG_HTTPSERVLETREQUEST);     if (req != null) _log("remote user is: "+req.getQueryString());     return arg;   }           Here's the problem:     It works fine in both java's and both webservers (iplanet and tomcat) if I do NOT h

using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-18 Thread Andrew Trieger
in both java's and both webservers (iplanet and tomcat) if I do NOT have the SOAPContext first argument there, only the String named "arg".  But, if i change the code to as it appears above, recompile (with the proper javac for whichever java i'm using) and restart the webserver

SoapContext

2001-10-18 Thread Gianpiero
I have seen in the doPost() method of SOAP main servlet (org.apache.soap.server.http.RPCRouterServlet.class) that some HTTP context information are copied in the request SOAP Context. Here is the original code < CUT HERE ----> SOAPContext reqCtx = new SOAPContext(); SOAPContext