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 04:50:24 UTC

[jira] Updated: (AXISCPP-376) createSOAPHeaderBlock() allows to create Prefix and Localname with spaces in header bolck

     [ http://issues.apache.org/jira/browse/AXISCPP-376?page=history ]

Samisa Abeysinghe updated AXISCPP-376:
--------------------------------------

    Component: SOAP

> createSOAPHeaderBlock() allows to create Prefix and Localname with spaces in header bolck
> -----------------------------------------------------------------------------------------
>
>          Key: AXISCPP-376
>          URL: http://issues.apache.org/jira/browse/AXISCPP-376
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Manohar
>     Assignee: Roshan Weerasuriya

>
> Hi,
> createSOAPHeaderBlock() allows to create prefix and Localname with spaces in header bolck. 
> for example, following code 
> IHeaderBlock *phb = ws.createSOAPHeaderBlock("      ", "          ", "   ");
>  
> creates the header block as 
> <SOAP-ENV:Header><   :       xmlns:   ="          "><Credentials><username>Test User</username><password>Test Password</password></Credentials></   :      ></SOAP-ENV:Header>
> In my opinion empty prefix and localnames doesn't serve any purpose and as per XML naming convention, a name can't contain a space character. When user specifies strings with just spaces in it the API should not create prefix and namespace. 
> Is it valid to have empty prefix and localnames in the header block ? 
> 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