ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maximiliano Barone <maxibar...@yahoo.com>
Subject Server-Side as a Client of other Web Service
Date Thu, 29 Jan 2004 15:50:57 GMT
Hi ! I am developing a Service that receives a call
from a Client over Apache SOAP like this:

CLIENT:

// Mapping registry
   SOAPMappingRegistry smr = new
SOAPMappingRegistry();
   BeanSerializer beanSer = new BeanSerializer ();    
      
   smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
QName("urn:UpdateUsrWS", "UpdateUsr"), Vector.class,
beanSer, beanSer);
            
// Build the call.
   Call call = new Call();
   call.setTargetObjectURI("urn:UpdateUsrWS");
   call.setMethodName("main");
  
call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);


The Server Side (MyService: UpdateUsrWS) receives some
information from the Client and invokes another
Services over Apache SOAP too, so my Service
(Server-Side) acts as a client too.
The problem is that I am trying to create a new Call
from my class and it doesn't work.


SERVER (As a Client of other Web Services)

Call call = new Call();

Do you know if the SOAP Server supports this ?
Any suggestion ?

Thank you.

Max




------------
Los mejores usados y las más tentadoras 
ofertas de 0km están en Yahoo! Autos.
Comprá o vendé tu auto en
http://autos.yahoo.com.ar

Mime
View raw message