You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2005/06/20 11:32:18 UTC
[jira] Closed: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
[ http://issues.apache.org/jira/browse/AXISCPP-377?page=all ]
Samisa Abeysinghe closed AXISCPP-377:
-------------------------------------
Fix Version: 1.6 Alpha
(was: current (nightly))
Resolution: Won't Fix
setSOAPMethodAttribute call does not belong to Stub class any more. Hence this isuue is outdated
> 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: 1.6 Alpha
>
> 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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira