You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Michael Merz (JIRA)" <be...@incubator.apache.org> on 2004/11/19 01:20:24 UTC
[jira] Created: (BEEHIVE-92) No default targetNamespace for WebMethod
No default targetNamespace for WebMethod
----------------------------------------
Key: BEEHIVE-92
URL: http://nagoya.apache.org/jira/browse/BEEHIVE-92
Project: Beehive
Type: Bug
Components: Web Services (181)
Versions: V1Alpha
Reporter: Michael Merz
Assigned to: Jonathan Colwell
Fix For: V1Beta
Inheritence of targetNamespace for WebMethod (wrapper) from WebService doesn't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
Jeremiah Johnson updated BEEHIVE-92:
------------------------------------
Attachment: BEEHIVE-92.tar.gz
attaching a repro app to give us something to work from
> JSR-181 compliance: response namespace not set correctly
> --------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: daryoush mehrtash
> Fix For: V1
> Attachments: BEEHIVE-92.tar.gz, BEEHIVE-92.wsdl
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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: (BEEHIVE-92) JSR-181 compliance: namespace inheritance doesn't work properly
Posted by "Michael Merz (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=history ]
Michael Merz resolved BEEHIVE-92:
---------------------------------
Resolution: Fixed
Has been fixed with new type mapping.
> JSR-181 compliance: namespace inheritance doesn't work properly
> ---------------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Alpha
> Reporter: Michael Merz
> Assignee: Jonathan Colwell
> Fix For: V1Beta
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly
Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
daryoush mehrtash updated BEEHIVE-92:
-------------------------------------
Fix Version: TBD
(was: V1)
> JSR-181 compliance: response namespace not set correctly
> --------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: daryoush mehrtash
> Fix For: TBD
> Attachments: BEEHIVE-92.response.xml, BEEHIVE-92.tar.gz, BEEHIVE-92.wsdl
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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] Updated: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
Jeremiah Johnson updated BEEHIVE-92:
------------------------------------
Summary: JSR-181 compliance: response namespace not set correctly (was: JSR-181 compliance: namespace inheritance doesn't work properly)
Version: V1Beta
(was: V1Alpha)
Fix Version: V1
(was: V1Beta)
The reason that this issue isn't about namespace inheritance is because the target namespace set in the WebService is clearly being applied to the parameters and also the WSDL appears correct.
> JSR-181 compliance: response namespace not set correctly
> --------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: daryoush mehrtash
> Fix For: V1
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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] Assigned: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly
Posted by "Chad Schoettger (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
Chad Schoettger reassigned BEEHIVE-92:
--------------------------------------
Assign To: Chad Schoettger (was: daryoush mehrtash)
> JSR-181 compliance: response namespace not set correctly
> --------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: Chad Schoettger
> Fix For: TBD
> Attachments: BEEHIVE-92.response.xml, BEEHIVE-92.tar.gz, BEEHIVE-92.wsdl
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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] Reopened: (BEEHIVE-92) JSR-181 compliance: namespace inheritance doesn't work properly
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
Jeremiah Johnson reopened BEEHIVE-92:
-------------------------------------
Assign To: daryoush mehrtash (was: Jonathan Colwell)
I am reopening this and will try to make the issue more specific: the response namespace is not being set correctly (it isn't valid according to the schema in the WSDL).
> JSR-181 compliance: namespace inheritance doesn't work properly
> ---------------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: daryoush mehrtash
> Fix For: V1
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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] Updated: (BEEHIVE-92) JSR-181 compliance: namespace inheritance doesn't work properly
Posted by "Michael Merz (JIRA)" <be...@incubator.apache.org>.
[ http://nagoya.apache.org/jira/browse/BEEHIVE-92?page=history ]
Michael Merz updated BEEHIVE-92:
--------------------------------
Summary: JSR-181 compliance: namespace inheritance doesn't work properly (was: No default targetNamespace for WebMethod)
Description:
WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<sayHelloWorldResponse xmlns="">
<ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
<ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
</sayHelloWorldResponse>
</soapenv:Body>
</soapenv:Envelope>
was:Inheritence of targetNamespace for WebMethod (wrapper) from WebService doesn't work.
> JSR-181 compliance: namespace inheritance doesn't work properly
> ---------------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://nagoya.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Alpha
> Reporter: Michael Merz
> Assignee: Jonathan Colwell
> Fix For: V1Beta
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
Jeremiah Johnson updated BEEHIVE-92:
------------------------------------
Attachment: BEEHIVE-92.wsdl
Here is the current WSDL. I think that this is correct because if I 'fix' the response, then it validates as expected against the schema within the WSDL.
> JSR-181 compliance: response namespace not set correctly
> --------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: daryoush mehrtash
> Fix For: V1
> Attachments: BEEHIVE-92.tar.gz, BEEHIVE-92.wsdl
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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] Updated: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly
Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
Jeremiah Johnson updated BEEHIVE-92:
------------------------------------
Attachment: BEEHIVE-92.response.xml
Attaching the current response.
I expect something more like this:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<sayHelloWorldResponse xmlns="http://template">
<ns1:return xmlns:ns1="http://template">Hello world!</ns1:return>
</sayHelloWorldResponse>
</soapenv:Body>
</soapenv:Envelope>
This would be fine, too, I believe:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<sayHelloWorldResponse xmlns="http://template">
<return>Hello world!</return>
</sayHelloWorldResponse>
</soapenv:Body>
</soapenv:Envelope>
> JSR-181 compliance: response namespace not set correctly
> --------------------------------------------------------
>
> Key: BEEHIVE-92
> URL: http://issues.apache.org/jira/browse/BEEHIVE-92
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Versions: V1Beta
> Reporter: Michael Merz
> Assignee: daryoush mehrtash
> Fix For: V1
> Attachments: BEEHIVE-92.response.xml, BEEHIVE-92.tar.gz, BEEHIVE-92.wsdl
>
> WebMethod doesn't inherit the targetNamespace from WebService; as a consequence the default targetNamespace for WebParam and WebResult doesn't work properly either. Sample WSDL:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <sayHelloWorldResponse xmlns="">
> <ns1:result xmlns:ns1="http://template">Hello world!</ns1:result>
> <ns2:i xmlns:ns2="http://template">Beehive</ns2:i>
> </sayHelloWorldResponse>
> </soapenv:Body>
> </soapenv:Envelope>
--
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