[wsf-c-dev] [jira] Created: (WSFPHP-243) Issue with WSHeader and
child tag xml
TABET HAKIM (JIRA)
jira at wso2.org
Tue Mar 4 08:03:44 PST 2008
Issue with WSHeader and child tag xml
-------------------------------------
Key: WSFPHP-243
URL: https://wso2.org/jira/browse/WSFPHP-243
Project: WSO2 WSF/PHP
Issue Type: Bug
Environment: Linux
Reporter: TABET HAKIM
Hi
I created a header with child but it's not working well, when I send my request I receive auto Authorization failed
This is my example XML Soap:
<soap:Header>
<UserAuthentication xmlns="http://www.anite.com/AniteTravelWS">
<Username>user</Username>
<Password>pass</Password>
<Organization>org</Organization>
<Domain>default</Domain>
</UserAuthentication>
</soap:Header>
My WSHeader is
$header = new WSHeader(array("ns"=>"http://www.anite.com/AniteTravelWS",
"name"=>"UserAuthentication",
"data"=>array(new WSHeader(array("name" => "Username", "data" => "user")),
new WSHeader(array("name" => "Password", "data" => "pass")),
new WSHeader(array("name" => "Organization", "data" => "org")),
new WSHeader(array("name" => "Domain", "data" => "default"))),
"mustUnderstand"=>"true"));
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-c-dev
mailing list