I'm using this method to access a webservice from an EJB with metadata and 
portname set to null and it works. Here is the snippet:
            ServiceFactoryImpl factory = new ServiceFactoryImpl();
  |             Service svc = factory.createService(
  |                     new URL("http://localhost:8080/LvsWs/Item?wsdl";),
  |                     new 
URL("http://localhost/resources/LVSItemJSE-jaxrpc-mapping.xml";),
  |                     null,
  |                     new QName("http://lvsws.emediapark.de";, "LVSItemJSE"),
  |                     null);
  |             itemService = 
(LVSItemServicesEndpoint)svc.getPort(LVSItemServicesEndpoint.class);
  | 
Hope this helps,
Gerhard

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861028#3861028

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861028


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to