I doubt why mine identical but still not working?

webservices.xml

  | <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>PersistenceService</webservice-description-name>
  |     <wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
  |     
<jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
  |     <port-component>
  |       <port-component-name>PersistencePort</port-component-name>
  |       
<!--<port-component-name>PersistenceServiceEndpointPort</port-component-name>-->
  |       <wsdl-port>PersistenceServiceEndpointPort</wsdl-port>
  |       
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
  |       <service-impl-bean>
  |         <ejb-link>PersistenceEJB</ejb-link>
  |       </service-impl-bean>
  |     </port-component>
  |   </webservice-description>
  |   <webservice-description>
  |     
<webservice-description-name>ORMEngineService</webservice-description-name>
  |     <wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
  |     
<jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
  |     <port-component>
  |       <port-component-name>ORMEnginePort</port-component-name>
  |       
<!--<port-component-name>ORMEngineServiceEndpointPort</port-component-name>-->
  |       <wsdl-port>ORMEngineServiceEndpointPort</wsdl-port>
  |       
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
  |       <service-impl-bean>
  |         <ejb-link>ORMEngineEJB</ejb-link>
  |       </service-impl-bean>
  |     </port-component>
  |   </webservice-description>
  | </webservices>
  | 

jboss.xml

  | <jboss>
  |    <enterprise-beans>
  |       <session>
  |          <ejb-name>PersistenceEJB</ejb-name>
  |          <local-jndi-name>persistenceWebService</local-jndi-name>
  |          <port-component>
  |             <port-component-name>PersistencePort</port-component-name>
  |             
<port-component-uri>EMSWebServices/Persistence/*</port-component-uri>
  |          </port-component>
  |       </session>
  |       <session>
  |          <ejb-name>ORMEngineEJB</ejb-name>
  |          <local-jndi-name>ormengineWebService</local-jndi-name>
  |          <port-component>
  |             <port-component-name>ORMEnginePort</port-component-name>
  |             
<port-component-uri>EMSWebServices/ORMEngine/*</port-component-uri>
  |          </port-component>
  |       </session>
  |    </enterprise-beans>
  | </jboss>
  | 

Error:

  | 13:45:38,078 ERROR [ServiceDeployer] Cannot startup webservice for: core.jar
  | java.lang.IllegalArgumentException: Cannot use the same url-pattern with 
differe
  | nt endpoints, check your <port-component-uri> in jboss.xml
  |         at 
org.jboss.webservice.ServiceDeployerEJB.createWebXML(ServiceDeployerE
  | JB.java:219)
  |         at 
org.jboss.webservice.ServiceDeployerEJB.deployWebservices(ServiceDepl
  | oyerEJB.java:108)
  |         at 
org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.
  | java:229)
  |         at 
org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeploy
  | er.java:110)
  |         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | ...
  | 

Thanks

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to