andrew,
thanx for that clarification.I have tried the same with tomcat and 
apache soap 2.2 it has worked fine.
Except that i get and exception when i try to access the
HttpRequestFacade object that i get when i say 
context.getProperty(org.apache.soap.Constants.BAG_HTTPSERVLETREQUEST);
but that should not be a problem..
vamsi

On Mon, 22 Apr 2002 Andrew Trieger wrote :
>Vamsi,
>
>    This is the setup of the Call object my xml client
>builds (and later does call.invoke())
>
>    params.addElement(new Parameter("arg", String.class,
>"This is my string, given for you.", null));
>
>    call = new Call("
>urn:helloWorldWithArg
>",
>
>
>"helloWorldWithArg",
>
>
>params,
>
>
>null,
>
>
>org.apache.soap.Constants.NS_URI_SOAP_ENC);
>
>    Attached is a details.html file that 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) {
>    return arg;
>  }
>    But as soon as I add SOAPContext here and
>recompile, it doesnt work --->
>
>
>
>  public String helloWorldWithArg(SOAPContext ctx, String arg)
>{
>
>    return arg;
>
>  }
>
>
>
>
>
>    I am trying a test from Scott Nichol (thank
>you) and if that doesnt work on my linux or OSX or solaris 
>machines, I'll
>try it on my win2k (which i rarely use) box.
>
>    Thanks, Drew
>
>
>
>
>
>
>
>
>
>
>
>soap vamsi wrote:
>
>CLARIFICATION NEEDED ...............
>
>hello andrew,
>
>How how do you expect this method to be invoked?
>
>What is the exact signature of the method you invoke at the 
>client
>
>end to test if this method will get invoked?
>
>Thanks in advance
>
>vamsi
>Deployed Service Information
>'urn:helloWorldWithArg' Service Deployment Descriptor
>Property
>Details
>ID
>urn:helloWorldWithArg
>Scope
>Application
>Provider Type
>java
>Provider Class
>XMLAPITest
>Use Static Class
>false
>Methods
>helloWorldWithArg
>Type Mappings
>Default Mapping Registry Class

_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs

Reply via email to