axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roshan Weerasuriya (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
Date Thu, 13 Jan 2005 13:58:19 GMT
setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the
server crash
----------------------------------------------------------------------------------------------------------

         Key: AXISCPP-377
         URL: http://issues.apache.org/jira/browse/AXISCPP-377
     Project: Axis-C++
        Type: Bug
  Components: Basic Architecture  
    Versions: current (nightly)    
    Reporter: Roshan Weerasuriya
     Fix For: current (nightly)


I figured out that there is a problem like this. If you set a attribute to the SOAP Method
using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the
following ex), the server side crashes.
                                                                                         
                                                                                  
example code
----------
                                                                                         
                                                                                  
InteropTestPortType ws(endpoint, APTHTTP1_1);
                                                                                         
                                                                                  
                                                                                         
                                                                                  
ws.setSOAPMethodAttribute("myattrilocalname",
"mattrpprfx", "http://myattr.com", "myattrival");
                                                                                         
                                                                                  
The out put from the client is
-----------------------
....
.......
<SOAP-ENV:Body>
<ns1:echoString xmlns:ns1="http://soapinterop.org/"
mattrpprfx:myattrilocalname="myattrival">
<inputString xsi:type="xsd:string">hello world</inputString>
</ns1:echoString>
...
.......

The server crashes, because the namespace is not declared.

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


Mime
View raw message