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/02/02 03:55:18 UTC
[jira] Commented: (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=comments#action_58472 ]
Samisa Abeysinghe commented on AXISCPP-377:
-------------------------------------------
Could this be due to errors at Stub level such as setting invalid namespaces etc.?
If that is the case, the solution could be two fold:
1. Verify values set at Stub level
2. Verify XML at server side and throw erros if invalid
> 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
> 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