[ http://issues.apache.org/jira/browse/AXISCPP-377?page=history ]
John Hawkins updated AXISCPP-377:
---------------------------------
Component: Server - Engine
(was: Basic Architecture)
> 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: Server - Engine
> Versions: current (nightly)
> Reporter: Roshan Weerasuriya
> Assignee: 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