[ 
https://issues.apache.org/jira/browse/CXF-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Anstey updated CXF-553:
--------------------------------

    Attachment: cxf-553.patch

Patch to fix the issue.

Made this change to get around CXF-556
-            dir="${basedir}/../wsdl/transport/http"
+            dir="${wsdl.dir}/transport/http"

Made this change so that definitions in the tmf854.v1.ws namespace would get 
mapped to ws.v1.tmf854.fault.http. It seems that specifying a catch-all '-p 
ws.v1.tmf854.fault.http' does not work (it catches EVERYTHING, even the 
definitions from tmf854.v1).
-            package="ws.v1.tmf854.fault.http -p tmf854.v1=v1.tmf854.fault"
+            package="tmf854.v1.ws=ws.v1.tmf854.fault.http -p 
tmf854.v1=v1.tmf854.fault"


> mtosi_1.1/alarm_retrieval sample does not work
> ----------------------------------------------
>
>                 Key: CXF-553
>                 URL: https://issues.apache.org/jira/browse/CXF-553
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 2.0-RC
>            Reporter: Bozhong Lin
>             Fix For: 2.0-RC
>
>         Attachments: cxf-553.patch
>
>
> following error occurred:
> [java] org.apache.cxf.tools.common.ToolException: External binding file: 
> file:/local/cxf/trunk/distribution/target/cxf-2.0-incubator-RC-SNAPSHOT/samples/mtosi_1.1/alarm_retrieval/build/async_binding.xml
>  does not point to the specified wsdl 
> url:file:/local/cxf/trunk/distribution/target/cxf-2.0-incubator-RC-SNAPSHOT/samples/mtosi_1.1/alarm_retrieval/../wsdl/transport/http/FaultServiceSOAP_HTTP.wsdl
>      [java]     at 
> org.apache.cxf.tools.wsdlto.frontend.jaxws.customiztion.CustomizationParser.addBinding(CustomizationParser.java:403)
>      [java]     at 
> org.apache.cxf.tools.wsdlto.frontend.jaxws.customiztion.CustomizationParser.parse(CustomizationParser.java:100)
>      [java]     at 
> org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.customize(JAXWSDefinitionBuilder.java:116)
>      [java]     at 
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:123)
>      [java]     at 
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:213)
>      [java]     at 
> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:84)
>      [java]     at 
> org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
>      [java]     at 
> org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)
> BUILD FAILED
> /local/cxf/trunk/distribution/target/cxf-2.0-incubator-RC-SNAPSHOT/samples/common_build.xml:94:
>  The following error occurred while executing this line:
> /local/cxf/trunk/distribution/target/cxf-2.0-incubator-RC-SNAPSHOT/samples/mtosi_1.1/alarm_retrieval/build.xml:52:
>  The following error occurred while executing this line:
> /local/cxf/trunk/distribution/target/cxf-2.0-incubator-RC-SNAPSHOT/samples/common_build.xml:201:
>  Java returned: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to