资 源 简 介
easy-ws is a easy java class to invoke web-services without framework like Axis, CXF and other.
Just download and import the jar in the your project to use it.
For invoke a WS with this Signature:
...StoreResource(String userId, String Name)
Follow the steps:
```
//add import
import f2c.net.util.WSRequestBuilder;
//Code Snippet
WSRequestBuilder s = new WSRequestBuilder();
/*
Add namespace needed to make soap:Envelop tag:
Eg.
*/
s.addNamespace("xsd", "http://www.w3.org/2001/XMLSchema");
s.addNamespace("soap", "http://schemas.xmlsoap.org/soap/envelope");
s.addNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
s.setServer("xxx.xxx.xxx.xxx");
s.setMethodName("Sto