If your jaxrpc-mapping document is in your classpath then you can just do a
getResource() on it and then pass it into the createService() method (since it
is overloaded). Here is an example:
URL wsdlLocation = new URL("http://localhost:8080/testpurchaseservice?wsdl");
| URL mappingLocation = cl.getResource("jaxrpc-mapping.xml");
| QName serviceName = new
QName("http://de.akquinet.fws.jboss.webservices.pojo/purchasews/rpcstyle",
"PurchaseService");
| ServiceImpl service = (ServiceImpl) factory.createService(wsdlLocation,
serviceName, mappingLocation);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952408#3952408
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952408
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user