axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Preston (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Closed: (AXISCPP-395) SAXarseException while using setSOAPMethodAttribute() API
Date Wed, 05 Apr 2006 13:06:16 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-395?page=all ]
     
Fred Preston closed AXISCPP-395:
--------------------------------


> SAXarseException while using setSOAPMethodAttribute() API
> ---------------------------------------------------------
>
>          Key: AXISCPP-395
>          URL: http://issues.apache.org/jira/browse/AXISCPP-395
>      Project: Axis-C++
>         Type: Bug

>   Components: SOAP
>     Reporter: Manohar
>     Assignee: Adrian Dick

>
> I am trying to write test for setSOAPMethodAttribute() APIs.
> The following code throws SAXarseException.
> MathOps ws(endpoint);
> ws.setSOAPMethodAttribute("add", "ns5", "value");
> iResult = ws.div(15,3);
> cout << "Result is = " << iResult << endl;
> The tcp moitor response shows that "CDATA[org.xml.sax.SAXarseException: The
> namespace prefix "ns5" was not declared.]". 
> Since the values set by setSOAPMethodAttribute() reflect in Soap Message Body, how do
we declare
> namespace prefix in SOAP Message body ? I know that createNameSpaceDecl() declares a
namespace prefix in the SOAP Header but I would like to know  how it can be created in SOAP
Message Body. Any tips on the exact usage of these APIs would be helpful.
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message