[ http://issues.apache.org/jira/browse/AXISCPP-376?page=history ]
Roshan Weerasuriya reassigned AXISCPP-376:
------------------------------------------
Assign To: Roshan Weerasuriya (was: Rangika Mendis)
> 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
> Priority: Minor
>
> 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