[
https://issues.jboss.org/browse/JBESB-3850?page=com.atlassian.jira.plugin...
]
Sato Tadayoshi updated JBESB-3850:
----------------------------------
Description:
Currently, WSDLs published by SOAPProxy or SOAPProcessor strip XML declarations
({{<?xml version="1.0" encoding="UTF-8"?>}}) regardless of
whether WSDLs of the original web services have the declarations or not. Instead, please
preserve the declarations in the re-published WSDLs if their original ones contain the
declarations.
To reproduce and confirm the current behaviour, just pick up the
'webservice_producer' and 'webservice_proxy_basic' quickstarts, deploy
them to JBoss ESB whose web services stack is CXF, then compare WSDLs of the original WSs
and ESB. The original WSDLs by WSs would look like:
{code:xml}
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions
name="HelloWorldWSService"
targetNamespace="http://webservice_proxy_basic/helloworld"
xmlns:ns1="http://schemas.xmlsoap.org/wsdl/soap/http"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://webservice_proxy_basic/helloworld"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
...
{code}
whereas the WSDLs published by ESB would look like:
{code:xml}
<wsdl:definitions name="HelloWorldWSService"
targetNamespace="http://webservice_proxy_basic/helloworld"
xmlns:ns1="http://schemas.xmlsoap.org/wsdl/soap/http"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://webservice_proxy_basic/helloworld"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
...
{code}
was:Currently, WSDLs published by SOAPProxy or SOAPProcessor strip XML declarations
({{<?xml version="1.0" encoding="UTF-8"?>}}) regardless of
whether WSDLs of the original web services have the declarations or not. Instead, please
preserve the declarations in the re-published WSDLs if their original ones contain the
declarations.
Preserve XML declarations in wrapped WSDL by SOAPProxy and
SOAPProcessor
------------------------------------------------------------------------
Key: JBESB-3850
URL:
https://issues.jboss.org/browse/JBESB-3850
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Transports, Web Services
Affects Versions: 4.11
Reporter: Tadayoshi Sato
Currently, WSDLs published by SOAPProxy or SOAPProcessor strip XML declarations
({{<?xml version="1.0" encoding="UTF-8"?>}}) regardless of
whether WSDLs of the original web services have the declarations or not. Instead, please
preserve the declarations in the re-published WSDLs if their original ones contain the
declarations.
To reproduce and confirm the current behaviour, just pick up the
'webservice_producer' and 'webservice_proxy_basic' quickstarts, deploy
them to JBoss ESB whose web services stack is CXF, then compare WSDLs of the original WSs
and ESB. The original WSDLs by WSs would look like:
{code:xml}
<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions
name="HelloWorldWSService"
targetNamespace="http://webservice_proxy_basic/helloworld"
xmlns:ns1="http://schemas.xmlsoap.org/wsdl/soap/http"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://webservice_proxy_basic/helloworld"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
...
{code}
whereas the WSDLs published by ESB would look like:
{code:xml}
<wsdl:definitions name="HelloWorldWSService"
targetNamespace="http://webservice_proxy_basic/helloworld"
xmlns:ns1="http://schemas.xmlsoap.org/wsdl/soap/http"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://webservice_proxy_basic/helloworld"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira