My deploy.jar does not acually contain the wsdl. It only contains the AdamRuleServiceBusiness.class and the AdamRuleServiceBean that implements the business class. When I deploy the ear file, the wsdl file dynamically is generated. The one I attached in the original message is actually the included resource, the master wsdl is at the end of this message. It has the service and the port defitions and the import element.
I'll try to follow your suggestion but can you tell me where to put the wsdl file in the ear file?
Thanks,
-Trung
<definitions name='AdamRuleServiceBeanService' targetNamespace='http://package.name.in.reverse.order' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://qdadamruleservice/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://package.name.in.reverse.order' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<import location='http://127.0.0.1:8080/rules/AdamRuleServiceBeanService?wsdl&resource=AdamRuleServiceBusiness_PortType4532169396188034069.wsdl' namespace='http://qdadamruleservice/'></import>
<service name='AdamRuleServiceBeanService'>
<port binding='ns1:AdamRuleServiceBusinessBinding' name='AdamRuleServiceBeanPort'>
<soap:address location='http://127.0.0.1:8080/rules/AdamRuleServiceBeanService'/>
</port>
</service>
</definitions>