Alon,
Thanks for the response. I did package all the generated source files from
wscompile with my deployment. From the JBoss console, m web service is
deployed successfuly and I can get the WSDL via a browser. Here is my JUnit
test:
public void testGetPatch() throws Exception
{
URL url = new
URL("http://localhost:8080/spc-oi-getPatchWS-1/GetPatch?wsdl");
QName serviceName = new
QName("http://spc.intuit.com/oi/messaging/ws", "GetPatchService");
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(url, serviceName);
GetPatch endpoint = (GetPatch) service.getPort(GetPatch.class);
System.out.println("endpoint: " + endpoint.toString());
String response = endpoint.getPatch("client1",
"channelGetPath");
System.out.print("Got response: " + response);
}
Could it be the test code?
Thanks,
Yi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900985#3900985
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900985
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user