cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Ganesh (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-338) Http location of wsdllocation attribute in extenal binding file
Date Wed, 27 Dec 2006 10:55:21 GMT
Http location of wsdllocation attribute in extenal binding file 
----------------------------------------------------------------

                 Key: CXF-338
                 URL: http://issues.apache.org/jira/browse/CXF-338
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message