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

Reply via email to