But your service returns a Document. For a one-way message exchange,
the service should not produce a return value.

anne

On 6/6/05, Alberto De Stasi <[EMAIL PROTECTED]> wrote:
> Hi all, I have this problem;
> 
> I publishing a web server and a client that they use a call with OneWay
> operation (without return response to client).
> So, my client is:
> 
> …
> call = (Call) service.createCall();
> call.setTargetEndpointAddress(new URL(endPointURLString));
> call.invokeOneWay(new SOAPBodyElement[] {new SOAPBodyElement(body)});
> 
> (I use a call.invokeOneWay(…) method to call my service)
> 
> Then my web service is:
> 
> public Document echoDocument(Document doc) throws RemoteException {
>         System.out.println("EchoDocument");
>         return doc;
> }
> 
> And I don't sure this my service is right! How to make this service?
> The wsdd file of axis is:
>      provider="java:MSG" style="document" use="literal"
> 
> Then I use a TCP Monitor and I see both request and response, and I think
> that my problem is service (echoDocument).
> 
> The case without OneWay is work and I use a call.invoke (for client java)
> and a service is echoDocument
> 
> I want to use a OneWay and I see into TCP Monitor only request (client to
> service) without response (service to client)!
> 
> Thanks
> 
> _________________________________________________________________
> 250MB per la tua casella di posta http://www.msn.it/hotmail/minisite_10
> 
>

Reply via email to