You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/08/22 19:37:08 UTC

[jira] Closed: (BEEHIVE-92) JSR-181 compliance: response namespace not set correctly

     [ http://issues.apache.org/jira/browse/BEEHIVE-92?page=all ]
     
Jeremiah Johnson closed BEEHIVE-92:
-----------------------------------

    Fix Version:     (was: TBD)
     Resolution: Fixed
      Assign To: Jeremiah Johnson  (was: Chad Schoettger)

Based on information from Chad, I see now that this issue only comes up when testing via the browser; when I call the Web service with a real client, I get this response:

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

That response is consistent with expectations, so I am closing this bug - MM was correct when he resolved it.  If someone wants to open a bug because the response when using the Web browser is wrong, then go for it - I believe think that is an annoyance rather than a bug.

I will attach a repro with a client to demonstrate that the original issue is fixed.  I am assigning this to myself since I am closing so that reopens will inform me.

> 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: Jeremiah Johnson
>  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