In the Muse 2.0 code base, there are Java clients for the various WS-* 
specs, and they don't require Ant/XML files. As an example, you could use 
the WSRF client to make WSRP calls like so:


import java.net.URI;

import org.apache.muse.ws.addressing.EndpointReference;
import org.apache.muse.ws.resource.remote.WsResourceClient;

...

URI uriToYourService = ...
EndpointReference epr = new EndpointReference(uriToYourService);

//
// create WSRF client in your code
//
WsResourceClient resource = new WsResourceClient(epr); 

//
// optional - turn on SOAP message tracing for debugging
//
resource.setTrace(true);

//
// example - call WSRP QueryResourceProperties with XPath query
//
resource.queryResourceProperties("/*", XPathUtils.NAMESPACE_URI);



Similar clients exist for WSN and WSDM portTypes. Is this the kind of 
information you were looking for?

Dan


"Giovane Moura" <[EMAIL PROTECTED]> wrote on 07/13/2006 12:44:25 PM:

> Hi,
> 
> I've been trying to use museclient. What happened to it?
> Is there any version on muse2.0?
> 
> I wanna do all operations that WSDM do without use ant.
> 
> Do you know how can I achieve it?
> 
> Thanx
> 
> -- 
> Best regards,
> 
> Giovane 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to