You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bharath Ganesh (JIRA)" <ji...@apache.org> on 2006/12/27 11:55:21 UTC

[jira] Created: (CXF-338) Http location of wsdllocation attribute in extenal binding file

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

        

[jira] Resolved: (CXF-338) Http location of wsdllocation attribute in extenal binding file

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jimma resolved CXF-338.
-----------------------

    Resolution: Fixed

> 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.


[jira] Updated: (CXF-338) Http location of wsdllocation attribute in extenal binding file

Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (CXF-338) Http location of wsdllocation attribute in extenal binding file

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (CXF-338) Http location of wsdllocation attribute in extenal binding file

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin reassigned CXF-338:
-------------------------------

    Assignee: 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: JAX-WS Runtime
>    Affects Versions: 2.0-M1, 2.0-RC
>            Reporter: Bharath Ganesh
>         Assigned To: Jervis Liu
>
> 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.