[
https://issues.apache.org/jira/browse/CXF-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bozhong Lin updated CXF-338:
----------------------------
Fix Version/s: 2.0-RC
Assignee: jimma
> Http location of wsdllocation attribute in extenal binding file
> ---------------------------------------------------------------
>
> Key: CXF-338
> URL: https://issues.apache.org/jira/browse/CXF-338
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0-M1, 2.0-RC
> Reporter: Bharath Ganesh
> Assigned To: jimma
> Fix For: 2.0-RC
>
>
> My test case for generating client side artifacts using wsdl2java tool,
> provides an external binding file using the -b switch.
> The binding file looks like:
> <bindings
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> wsdlLocation="http://localhost:8080/helloEJB/HelloBean?wsdl"
> xmlns="http://java.sun.com/xml/ns/jaxws">
> <bindings node="wsdl:definitions">
> <enableAsyncMapping>true</enableAsyncMapping>
> </bindings>
> </bindings>
> Here the url given for wsdlLocation attribute is a valid one.
> http://localhost:8181/helloEJB/HelloBean?wsdl.
> But the wsdl2java tool could not generate the artifacts. It failed with the
> following error.
> E:\cxf\bin> wsdl2java -impl -p test -b D:\code\Learnings\asyncbinding.xml
> -clien
> t -d E:\cxftests\hellows\src http://localhost:8080/helloEJB/HelloBean?wsdl
> Error : External binding file:
> D:\code\Learnings\http:\localhost:8181\helloEJB\HelloBean does not po
> int to the specified wsdl url:http://localhost:8080/helloEJB/HelloBean?wsdl
> The same works fine if the wsdlLocation attribute refers to a absolute path
> on the same machine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.