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 "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/05/03 18:07:12 UTC
[jira] Updated: (AXISCPP-363) createStdAttribute() uses an undeclared namespace prefix 'env' when SOAP_VER_1_2 is passed as the SOAP_VERSION.
[ http://issues.apache.org/jira/browse/AXISCPP-363?page=all ]
John Hawkins updated AXISCPP-363:
---------------------------------
Description:
IHeaderBlock *phb=ws.createSOAPHeaderBlock("TestHeader","http://axis.com");
IAttribute *attr=phb->createStdAttribute(ROLE_NEXT,SOAP_VER_1_2);
will create the following SOAP Header.
<SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://axis.com" env:role="http://www.w3.org/2003/05/soap-envelope /role/next"></ns2:TestHeader>
</SOAP-ENV:Header>
Here the prefix 'env' is an undeclared prefix. Also there is lot of spaces in the value of 'role' attribute.
was:
IHeaderBlock *phb=ws.createSOAPHeaderBlock("TestHeader","http://axis.com");
IAttribute *attr=phb->createStdAttribute(ROLE_NEXT,SOAP_VER_1_2);
will create the following SOAP Header.
<SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://axis.com" env:role="http://www.w3.org/2003/05/soap-envelope /role/next"></ns2:TestHeader>
</SOAP-ENV:Header>
Here the prefix 'env' is an undeclared prefix. Also there is lot of spaces in the value of 'role' attribute.
Component: Client - API
(was: SOAP)
> createStdAttribute() uses an undeclared namespace prefix 'env' when SOAP_VER_1_2 is passed as the SOAP_VERSION.
> ----------------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-363
> URL: http://issues.apache.org/jira/browse/AXISCPP-363
> Project: Axis-C++
> Type: Bug
> Components: Client - API
> Reporter: James Jose
> Assignee: Roshan Weerasuriya
>
> IHeaderBlock *phb=ws.createSOAPHeaderBlock("TestHeader","http://axis.com");
> IAttribute *attr=phb->createStdAttribute(ROLE_NEXT,SOAP_VER_1_2);
> will create the following SOAP Header.
> <SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://axis.com" env:role="http://www.w3.org/2003/05/soap-envelope /role/next"></ns2:TestHeader>
> </SOAP-ENV:Header>
> Here the prefix 'env' is an undeclared prefix. Also there is lot of spaces in the value of 'role' attribute.
--
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