You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jervis Liu (JIRA)" <ji...@apache.org> on 2007/02/07 10:09:05 UTC
[jira] Updated: (CXF-338) Http location of wsdllocation attribute
in extenal binding file
[ https://issues.apache.org/jira/browse/CXF-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu updated CXF-338:
---------------------------
Component/s: (was: JAX-WS Runtime)
Tooling
Assignee: (was: Jervis Liu)
> 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
>
> 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.