<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP Data Services With WS-Security</title>
	<atom:link href="http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/</link>
	<description>Waiting for your comments</description>
	<lastBuildDate>Thu, 01 Dec 2011 06:50:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: dimuthu</title>
		<link>http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/comment-page-1/#comment-17529</link>
		<dc:creator>dimuthu</dc:creator>
		<pubDate>Wed, 06 Jan 2010 07:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimuthu.org/?p=277#comment-17529</guid>
		<description>Hi,
You don&#039;t need to have the policies inline in WSDL. You can provide the policy separately. 
Thanks
Dimuthu</description>
		<content:encoded><![CDATA[<p>Hi,<br />
You don&#8217;t need to have the policies inline in WSDL. You can provide the policy separately.<br />
Thanks<br />
Dimuthu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theo Chakkapark</title>
		<link>http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/comment-page-1/#comment-17527</link>
		<dc:creator>Theo Chakkapark</dc:creator>
		<pubDate>Wed, 06 Jan 2010 07:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimuthu.org/?p=277#comment-17527</guid>
		<description>I&#039;m trying to implement the example, but my WSDL does not seem to have the auth parameters:

http://qa.marketbright.com/webapi/soap?wsdl

---------

 TRUE, &quot;includeTimestamp&quot;=&gt;TRUE );
    $policy = new WSPolicy(array(&quot;security&quot; =&gt; $security_options));

	// setting it to the security token
	$sec_token = new WSSecurityToken(array(&quot;passwordCallback&quot; =&gt; &quot;validate_api_user&quot;,
	                                       &quot;passwordType&quot; =&gt; &quot;PlainText&quot;));


	$service = new WSService(array(
				&quot;policy&quot; 		=&gt;  $policy,
				&quot;securityToken&quot;	=&gt;	$sec_token,
				&quot;useWSA&quot; 		=&gt;  TRUE,
				&quot;classes&quot; 		=&gt; 	array(
					         		    &quot;mbSOAPActivity&quot;	=&gt; array(&quot;operations&quot; 	=&gt; array(&quot;Activity.get&quot; =&gt; &quot;getActivities&quot;)),
					         		    &quot;mbSOAPCampaign&quot;	=&gt; array(&quot;operations&quot; 	=&gt; array(&quot;Campaign.get&quot; =&gt; &quot;getCampaigns&quot;)),	   	  
					         		    &quot;mbSOAPContact&quot;		=&gt; array(&quot;operations&quot; 	=&gt; array(&quot;Contact.getLeads&quot; =&gt; &quot;getContactLeads&quot;)),	   	  
					         		    &quot;mbSOAPEmailList&quot;	=&gt; array(&quot;operations&quot; 	=&gt; array(&quot;EmailList.getMembers&quot; =&gt; &quot;getListMembers&quot;, &quot;EmailList.subscribe&quot; =&gt; &quot;subscribe&quot;,&quot;EmailList.unsubscribe&quot; =&gt; &quot;unsubscribe&quot;, &quot;EmailList.get&quot; =&gt; &quot;getEmailLists&quot;)),	   	  
					         		    &quot;mbSOAPNewsletter&quot;	=&gt; array(&quot;operations&quot; 	=&gt; array(&quot;Newsletter.get&quot; =&gt; &quot;getNewsletters&quot;)),	   	  
										&quot;mbSOAPSurvey&quot;		=&gt; array(&quot;operations&quot; 	=&gt; array(&quot;Survey.add&quot; =&gt; &quot;addSurvey&quot;, &quot;Survey.get&quot; =&gt; &quot;getLeads&quot;))
						  			)));	 

?&gt;
-------

What am I doing wrong?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to implement the example, but my WSDL does not seem to have the auth parameters:</p>
<p><a href="http://qa.marketbright.com/webapi/soap?wsdl" rel="nofollow">http://qa.marketbright.com/webapi/soap?wsdl</a></p>
<p>&#8212;&#8212;&#8212;</p>
<p> TRUE, &#8220;includeTimestamp&#8221;=&gt;TRUE );<br />
    $policy = new WSPolicy(array(&#8220;security&#8221; =&gt; $security_options));</p>
<p>	// setting it to the security token<br />
	$sec_token = new WSSecurityToken(array(&#8220;passwordCallback&#8221; =&gt; &#8220;validate_api_user&#8221;,<br />
	                                       &#8220;passwordType&#8221; =&gt; &#8220;PlainText&#8221;));</p>
<p>	$service = new WSService(array(<br />
				&#8220;policy&#8221; 		=&gt;  $policy,<br />
				&#8220;securityToken&#8221;	=&gt;	$sec_token,<br />
				&#8220;useWSA&#8221; 		=&gt;  TRUE,<br />
				&#8220;classes&#8221; 		=&gt; 	array(<br />
					         		    &#8220;mbSOAPActivity&#8221;	=&gt; array(&#8220;operations&#8221; 	=&gt; array(&#8220;Activity.get&#8221; =&gt; &#8220;getActivities&#8221;)),<br />
					         		    &#8220;mbSOAPCampaign&#8221;	=&gt; array(&#8220;operations&#8221; 	=&gt; array(&#8220;Campaign.get&#8221; =&gt; &#8220;getCampaigns&#8221;)),<br />
					         		    &#8220;mbSOAPContact&#8221;		=&gt; array(&#8220;operations&#8221; 	=&gt; array(&#8220;Contact.getLeads&#8221; =&gt; &#8220;getContactLeads&#8221;)),<br />
					         		    &#8220;mbSOAPEmailList&#8221;	=&gt; array(&#8220;operations&#8221; 	=&gt; array(&#8220;EmailList.getMembers&#8221; =&gt; &#8220;getListMembers&#8221;, &#8220;EmailList.subscribe&#8221; =&gt; &#8220;subscribe&#8221;,&#8221;EmailList.unsubscribe&#8221; =&gt; &#8220;unsubscribe&#8221;, &#8220;EmailList.get&#8221; =&gt; &#8220;getEmailLists&#8221;)),<br />
					         		    &#8220;mbSOAPNewsletter&#8221;	=&gt; array(&#8220;operations&#8221; 	=&gt; array(&#8220;Newsletter.get&#8221; =&gt; &#8220;getNewsletters&#8221;)),<br />
										&#8220;mbSOAPSurvey&#8221;		=&gt; array(&#8220;operations&#8221; 	=&gt; array(&#8220;Survey.add&#8221; =&gt; &#8220;addSurvey&#8221;, &#8220;Survey.get&#8221; =&gt; &#8220;getLeads&#8221;))<br />
						  			)));	 </p>
<p>?&gt;<br />
&#8212;&#8212;-</p>
<p>What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dimuthu</title>
		<link>http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/comment-page-1/#comment-406</link>
		<dc:creator>dimuthu</dc:creator>
		<pubDate>Sun, 19 Oct 2008 04:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimuthu.org/?p=277#comment-406</guid>
		<description>There was a problem in the Tag Search demo which I have missed the tag_taxonomy table which keeps maps of tag to taxonomy. It is now corrected in the current online version.

Thanks
Dimuthu</description>
		<content:encoded><![CDATA[<p>There was a problem in the Tag Search demo which I have missed the tag_taxonomy table which keeps maps of tag to taxonomy. It is now corrected in the current online version.</p>
<p>Thanks<br />
Dimuthu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dimuthu</title>
		<link>http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/comment-page-1/#comment-388</link>
		<dc:creator>dimuthu</dc:creator>
		<pubDate>Fri, 17 Oct 2008 20:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimuthu.org/?p=277#comment-388</guid>
		<description>Hi Toby,
yea, &quot;Tag Search&#039; is not hard. I just want to show a demo on use of WS-Security application on a PHP web service. You can apply these theories to where ever it need security in SOAP messaging.

Thanks
Dimuthu</description>
		<content:encoded><![CDATA[<p>Hi Toby,<br />
yea, &#8220;Tag Search&#8217; is not hard. I just want to show a demo on use of WS-Security application on a PHP web service. You can apply these theories to where ever it need security in SOAP messaging.</p>
<p>Thanks<br />
Dimuthu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toby Mccoy</title>
		<link>http://www.dimuthu.org/blog/2008/09/16/php-data-services-with-ws-security/comment-page-1/#comment-195</link>
		<dc:creator>Toby Mccoy</dc:creator>
		<pubDate>Tue, 23 Sep 2008 17:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimuthu.org/?p=277#comment-195</guid>
		<description>It displays the service, action, and this option. Think of the service as a map for 4 new parameters. There is absolutely no reason to feel intimidated in the &#039;Tag Search&#039; because it really isn&#039;t that hard.</description>
		<content:encoded><![CDATA[<p>It displays the service, action, and this option. Think of the service as a map for 4 new parameters. There is absolutely no reason to feel intimidated in the &#8216;Tag Search&#8217; because it really isn&#8217;t that hard.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

