[ https://issues.apache.org/jira/browse/CXF-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma resolved CXF-1152. ------------------------ Resolution: Fixed > wsdl2java can not process two jaxws binding files at the same time > ------------------------------------------------------------------ > > Key: CXF-1152 > URL: https://issues.apache.org/jira/browse/CXF-1152 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0.2 > Reporter: jimma > Fix For: 2.0.3 > > > When the given binding files are the following two files, wsdl2java can not > process them properly. > --jaxws1.xml--- > <jaxws:bindings wsdlLocation="../hello_world.wsdl" > xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> > <jaxws:bindings node="wsdl:definitions"> > <jaxws:package name="org.mypkg"/> > </jaxws:bindings> > <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:[EMAIL > PROTECTED]'http://apache.org/hello_world_soap_http/types']" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <jxb:schemaBindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb"> > <jxb:package name="org.mypkg"/> > </jxb:schemaBindings> > </jaxws:bindings> > <jaxws:bindings node="wsdl:definitions/wsdl:[EMAIL PROTECTED]'Greeter']"> > <jaxws:class name="MyGreeter"/> > </jaxws:bindings> > <jaxws:bindings node="wsdl:definitions/wsdl:[EMAIL > PROTECTED]'Greeter']/wsdl:[EMAIL PROTECTED]'greetMe']"> > <!-- rename the generated java method name--> > <jaxws:method name="myGreetMe"/> > </jaxws:bindings> > </jaxws:bindings> > ----jaxws2.xml------- > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <jaxws:bindings wsdlLocation="../hello_world.wsdl" > xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> > <jaxws:bindings node="wsdl:definitions/wsdl:[EMAIL > PROTECTED]'SOAPService']"> > <jaxws:class name="MyService"/> > </jaxws:bindings> > </jaxws:bindings> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.