[jboss-user] [JBossWS] - Re: Can't get wstools to work for multiple endpoints in JBos
dmitri_furman
do-not-reply at jboss.com
Tue Oct 24 17:41:25 EDT 2006
Here is what I did to work around the issue. I manually modified webservices.xml. I changed the namespace name from impl to impl1, added a new namespace in webservices tag and named it impl2. Look at the file below. The changes are in bold:
<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl1='http://edv.etenet.com/AddressValidationService' xmlns:impl2='http://edv.etenet.com/BenefitsValidationService' 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'>
<webservice-description>
<webservice-description-name>AddressValidationService</webservice-description-name>
<wsdl-file>META-INF/wsdl/AddressValidationService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/AddressValidationService-mapping.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>AddressValidationServiceSEIPort</port-component-name>
<wsdl-port>impl1:AddressValidationServiceSEIPort</wsdl-port>
<service-endpoint-interface>com.psc.edv.avs.ejb.AddressValidationServiceSEI</service-endpoint-interface>
<service-impl-bean>
<ejb-link>AddressValidationService</ejb-link>
</service-impl-bean>
<handler-name>com.psc.edv.audit.AuditHandler</handler-name>
<handler-class>com.psc.edv.audit.AuditHandler</handler-class>
</port-component>
</webservice-description>
<webservice-description>
<webservice-description-name>BenefitsValidationService</webservice-description-name>
<wsdl-file>META-INF/wsdl/BenefitsValidationService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/BenefitsValidationService-mapping.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>BenefitsValidationServiceSEIPort</port-component-name>
<wsdl-port>impl2:BenefitsValidationServiceSEIPort</wsdl-port>
<service-endpoint-interface>com.psc.edv.bvs.ejb.BenefitsValidationServiceSEI</service-endpoint-interface>
<service-impl-bean>
<ejb-link>BenefitsValidationService</ejb-link>
</service-impl-bean>
<handler-name>com.psc.edv.audit.AuditHandler</handler-name>
<handler-class>com.psc.edv.audit.AuditHandler</handler-class>
</port-component>
</webservice-description>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980544#3980544
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980544
More information about the jboss-user
mailing list