Home | Schulung | Beratung | Referenzen | Veröffentlichungen | Jobs | Sitemap | Kontakt

Erste Folie | Zurück | Weiter | Letzte FolieGrafikversion | Inhalt | Home

Document Style Client mit XML

Element elem = document.createElementNS(
"http://www.xignite.com/services/" ,
"GetLifeExpectancy");
...
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint));
call.setSOAPActionURI(
"http://www.xignite.com/services/GetLifeExpectancy");
SOAPEnvelope env = new SOAPEnvelope();
env.addBodyElement( new SOAPBodyElement( elem));
OperationDesc oper = new OperationDesc();
oper.setStyle( Style.DOCUMENT);
oper.setUse( Use.LITERAL);
call.setOperation( oper);
call.invoke(env);