You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2007/10/30 16:13:50 UTC
[jira] Resolved: (CXF-1152) wsdl2java can not process two jaxws
binding files at the same time
[ 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:schema[@targetNamespace='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:portType[@name='Greeter']">
> <jaxws:class name="MyGreeter"/>
> </jaxws:bindings>
> <jaxws:bindings node="wsdl:definitions/wsdl:portType[@name='Greeter']/wsdl:operation[@name='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:service[@name='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.