[jboss-dev-forums] [JBoss Web Services Development] - Re: JBoss 5.1: Complex objects are not being convert to XML payload

tdnhome do-not-reply at jboss.com
Fri Apr 13 02:56:39 EDT 2012


tdnhome [https://community.jboss.org/people/tdnhome] created the discussion

"Re: JBoss 5.1: Complex objects are not being convert to XML payload"

To view the discussion, visit: https://community.jboss.org/message/729774#729774

--------------------------------------------------------------
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 http://package.name.in.reverse.order' xmlns=' http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/' xmlns:ns1=' http://qdadamruleservice/ http://qdadamruleservice/' xmlns:soap=' http://schemas.xmlsoap.org/wsdl/soap/ http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns=' http://package.name.in.reverse.order http://package.name.in.reverse.order' xmlns:xsd=' http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema'>
 <import location=' http://127.0.0.1:8080/rules/AdamRuleServiceBeanService?wsdl&amp;resource=AdamRuleServiceBusiness_PortType4532169396188034069.wsdl http://127.0.0.1:8080/rules/AdamRuleServiceBeanService?wsdl&resource=AdamRuleServiceBusiness_PortType4532169396188034069.wsdl' namespace=' http://qdadamruleservice/ http://qdadamruleservice/'></import>
 <service name='AdamRuleServiceBeanService'>
  <port binding='ns1:AdamRuleServiceBusinessBinding' name='AdamRuleServiceBeanPort'>
   <soap:address location=' http://127.0.0.1:8080/rules/AdamRuleServiceBeanService'/ http://127.0.0.1:8080/rules/AdamRuleServiceBeanService'/>
  </port>
 </service>
</definitions>



--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/729774#729774]

Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120413/ad9969db/attachment.html 


More information about the jboss-dev-forums mailing list