simple java fan formula web use - something qname?
i am removing following blunder i line invokes unequivocally simple web use i have controlling tomcat/axis.
element charge review qname production: qname::=(ncname':')?ncname
have i got something wrong qname?- i can't even any useful information it.
my fan formula below:
import javax.xml.namespace.qname;
import org.apache.axis.client.call;
import org.apache.axis.client.service;
open category testclient {
open stationary vacant main(string [] args)
{
try{
twine endpoint = "http://localhost:8080/testwebservice/services/doesmagic";
use service = new service();
call = (call) service.createcall();
call.settargetendpointaddress( new java.net.url(endpoint) );
call.setoperationname( new qname("http://testpackage.fc.com/, dobasicstuff") );
twine ret = (string) call.invoke( new object[] {"some kind message"} );
system.out.println(ret);
}catch(exception e){
system.err.println(e.tostring());
}
}
}
my web serivce formula unequivocally simple - only rudimentary category advantage your quarrel twine bit concat text:
public twine dobasicstuff(string message)
{
relapse "this your message: " + message;
}
Comments
Post a Comment