Turns out it was my issue- it's important that the namespace matches what's in
the WSDL:
public class Client {
| public static void main(String[] args) throws Exception {
|
| try {
| OMFactory fac = OMAbstractFactory.getOMFactory();
| OMNamespace omNs =
fac.createOMNamespace("http://service.web.tcsc.twocoast.com/", "tns");
| OMElement method = fac.createOMElement("processOrder", omNs);
|
| Options options = new Options();
| options.setTo(new
EndpointReference("http://localhost:8080/AgentService/Agent"));
| options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
| options.setAction("urn:processOrder");
| ServiceClient sender = new ServiceClient();
| sender.setOptions(options);
| sender.sendReceive(method);
| } catch (AxisFault axisFault) {
| System.out.println("GOT FAULT");
| axisFault.printStackTrace();
| }
|
| }
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061107#4061107
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061107
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user