[ 
http://issues.apache.org/jira/browse/AXISCPP-374?page=comments#action_57584 ]
     
Roshan Weerasuriya commented on AXISCPP-374:
--------------------------------------------

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

And the server crashes, because the namespace is not declared. I will raise a 
JIRA issue for this.

> No usage information for setSOAPMethodAttribute() functions in API docs
> -----------------------------------------------------------------------
>
>          Key: AXISCPP-374
>          URL: http://issues.apache.org/jira/browse/AXISCPP-374
>      Project: Axis-C++
>         Type: Improvement
>     Reporter: Manohar
>     Assignee: Roshan Weerasuriya

>
> Hi,
> There is no information on how setSOAPMethodAttribute() methods can be used 
> in API docs.
> As per the API docs, it's just mentioned that setSOAPMethodAttribute() can be 
> used to 
> set Attribute to the SOAPMethod, using the given Attribute data. However, 
> there is no usage
> information and how to verify the values set by these APIs. API docs need to 
> be updated with 
> more info on usage of these APIs.
> Regards
> Manohar

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

Reply via email to