Have you try the below code lines what happens? Is there any Exception? What I have not understand is do you need the Document on the client side?
-----Urspr�ngliche Nachricht----- Von: Alberto De Stasi [mailto:[EMAIL PROTECTED] Gesendet: Montag, 6. Juni 2005 17:56 An: [email protected] Betreff: RE: AW: One Way Method for Web Service Axis Thanks for your time, but I have this client java: � call = (Call) service.createCall(); call.setTargetEndpointAddress(new URL(endPointURLString)); call.invokeOneWay(new SOAPBodyElement[] {new SOAPBodyElement(body)}); while my web service is: public Document echoDocument(Document doc) throws RemoteException { System.out.println("EchoDocument"); return doc; } with your wsdd as provider="java:MSG" style="document" use="literal" I want use a method OneWay and I don�t understand if my method echoDocument must be void? How must write my web service for type OneWay? Thanks Pasquy >From: "Ferruh Zamangoer" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: <[email protected]> >Subject: AW: One Way Method for Web Service Axis >Date: Mon, 6 Jun 2005 17:35:08 +0200 > >You can use void, what I have see is in the interface Call you can use the >method > >void invokeOneWay(java.lang.Object[] params) > Invokes a remote method using the one-way interaction mode. > >For example: > >Service service = new Service(); >Call call = (Call)service.createCall(); >call.invokeOneWay(....) > >Hope it helps. > >Regards >Ferruh > > > >-----Urspr�ngliche Nachricht----- >Von: Alberto De Stasi [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 6. Juni 2005 17:27 >An: [email protected] >Betreff: One Way Method for Web Service Axis > >Hi all, >I want for my web service a method that use a one way operation. How must >be > >this method? Method must be void? > >Can you help me? > >Thanks Pasquy. > >_________________________________________________________________ >Scarica gratuitamente MSN Toolbar! http://toolbar.msn.it/ > _________________________________________________________________ Blocca le pop-up pubblicitarie con MSN Toolbar! http://toolbar.msn.it/
