The JAXRPC DII client API does not have any knowledge about the WS4EE deployment artifacts like jaxrpc-mapping.xml.
In other words, the XML <-> Java mapping is undefined. You can: a) look up a preconfigured Service from JNDI http://www.jboss.org/wiki/Wiki.jsp?page=WSClientAppl b) use a propriatary API call when creating the Service | /** | * Create a <code>Service</code> instance. | * <p/> | * Note, this method is not in the [EMAIL PROTECTED] ServiceFactory} interface, it provides the service | * with additional ws4ee wsdl/java mapping information | * | * @param wsdlLocation URL for the WSDL document location | * @param mappingLocation An optional URL for the jaxrpc-mapping.xml location | * @param serviceName QName for the service. | * @param portName An optional port name | * @return Service. | * @throws ServiceException If any error in creation of the | * specified service | */ | public Service createService(URL wsdlLocation, URL mappingLocation, URL ws4eeMetaData, QName serviceName, String portName) throws ServiceException | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860764#3860764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860764 ------------------------------------------------------- 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
