Hi Thomas I have a single webservice-description-name only. this is how my webservices.xml looks like
| <webservices | xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd" | version="1.1"> | <webservice-description> | <webservice-description-name>CEE_TEST</webservice-description-name> | <wsdl-file>META-INF/wsdl/testbean.wsdl</wsdl-file> | <port-component> | <port-component-name>TestBeanPort</port-component-name> | ........ | </port-component> | <port-component> | <port-component-name>CEEBeanPort</port-component-name> | ........ | </port-component> | </webservice-description> | </webservices> | Now both these services are packed as a single archive(test-ejb.jar). When there is a single webservice in a archive, jboss calculates it as http://localhost:8080/<archive-name>/<webservice-description-name>?wsdl But in my case, i have 2 services packed in the same archive. So according to the above webservices.xml and my packing style, both of these have the same endpoint addresses and so jboss tells me that i should check the port-component-uri in jboss.xml. The error message is "Cannot use the same url-pattern with different endpoints, check your port-uri in jboss.xml" But I dont have a jboss.xml at all. If i add a jboss.xml with different port-component-uri for the ports then all works fine. But im wondering why is that restriction imposed? Cant jboss get the endpoint using , say, maybe the port name and the archive name instead of the webservice-description-name. Please correct me if my understanding is wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863538#3863538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863538 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
