<?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: Introducting the SCA HTTP Binding</title>
	<atom:link href="http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/</link>
	<description>Business Integration and SOA with an IBM WebSphere slant</description>
	<lastBuildDate>Fri, 18 Nov 2011 18:21:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Siva</title>
		<link>http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/comment-page-1/#comment-6567</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Wed, 22 Apr 2009 03:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/#comment-6567</guid>
		<description>Hi,

I am using WID 6.2 and I would like to know how to export a mediation module through simple HTTP Export which receives a simple request from exteranl simple web request and responds back.

Regards
Siva</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using WID 6.2 and I would like to know how to export a mediation module through simple HTTP Export which receives a simple request from exteranl simple web request and responds back.</p>
<p>Regards<br />
Siva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay</title>
		<link>http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/comment-page-1/#comment-5738</link>
		<dc:creator>vijay</dc:creator>
		<pubDate>Fri, 27 Mar 2009 17:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/#comment-5738</guid>
		<description>Hi,

I have a requirement to use HTTPBindings with SSL on export and import. I will get SOAP request with SAML headers in it  and I have to pass the same to other service.I want to print the request data for audit purpose.

currently I am getting the request inside but I am not able to print it.

Can you send me some examples how do it?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a requirement to use HTTPBindings with SSL on export and import. I will get SOAP request with SAML headers in it  and I have to pass the same to other service.I want to print the request data for audit purpose.</p>
<p>currently I am getting the request inside but I am not able to print it.</p>
<p>Can you send me some examples how do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidhartha Priye</title>
		<link>http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/comment-page-1/#comment-5178</link>
		<dc:creator>Sidhartha Priye</dc:creator>
		<pubDate>Mon, 23 Feb 2009 21:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/#comment-5178</guid>
		<description>I have an HTTP Import and its endpoint URL is configured within WID to point to the local machine. This is done from the Bindings tab under Properties for the Import on the Assembly Editor. It also has a DataBinding configuration that points to a class (extends that is tasked with overriding the endpoint URL with the request parameters to the HTTP/REST service. So for e.g.

Endpoint URL: http://localhost:9081/TestREST/MyInformation?
Binding Configuration: test.services.rest.MyInformationBinding

public class MyInformationBinding extends HTTPStreamDataBindingXML {
 
@Override
	public void convertToNativeData() throws DataBindingException {
		//Need to reference directly field variable as the old code seems to fail to get the correct value
		DataObject dataObject = fieldDataObject;
		
		try {
			// Extract values from the &quot;fieldDataObject&quot;, build the query paramaters and add them to HTTP request.
			
			String address = &quot;appid=&quot; + URLEncoder.encode(dataObject.getString(&quot;linkAppId&quot;), &quot;UTF-8&quot;);
			HTTPControl controlParameters = getControlParameters();
								
			controlParameters.setDynamicOverrideURL(controlParameters.getDynamicOverrideURL() + address);
			
	
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}		
	}
}


So essentially binding class dynamically overrides the base URL with the request params that now look like - http://localhost:9081/TestREST/MyInformation?appid=7432623

Now when I deploy this module onto WPS, the first thing I do is to change the endpoint URL on the configuration page of the HTTP Import
SCA Modules-&gt;ModuleName-&gt;Module_HttpImpName

Under Binding Scope there is the field for Endpoint URL. However what I am noticing is after I update the endpoint URL I dont see the new URL being picked up the Binding class mentioned above. It is still using the old endpoint URL. I have tried a lot of things, such as restart the server, did a full resynchronize of the node itself but none seem to help.

Is this a limitation on IBM&#039;s part which forces me to go back to WID and change the endpoint URL and redeploy, because from what I have experienced so far, the new endpoint URL configured at deployment time is not refreshing the old one that got deployed.</description>
		<content:encoded><![CDATA[<p>I have an HTTP Import and its endpoint URL is configured within WID to point to the local machine. This is done from the Bindings tab under Properties for the Import on the Assembly Editor. It also has a DataBinding configuration that points to a class (extends that is tasked with overriding the endpoint URL with the request parameters to the HTTP/REST service. So for e.g.</p>
<p>Endpoint URL: <a href="http://localhost:9081/TestREST/MyInformation?" rel="nofollow">http://localhost:9081/TestREST/MyInformation?</a><br />
Binding Configuration: test.services.rest.MyInformationBinding</p>
<p>public class MyInformationBinding extends HTTPStreamDataBindingXML {</p>
<p>@Override<br />
	public void convertToNativeData() throws DataBindingException {<br />
		//Need to reference directly field variable as the old code seems to fail to get the correct value<br />
		DataObject dataObject = fieldDataObject;</p>
<p>		try {<br />
			// Extract values from the &#8220;fieldDataObject&#8221;, build the query paramaters and add them to HTTP request.</p>
<p>			String address = &#8220;appid=&#8221; + URLEncoder.encode(dataObject.getString(&#8220;linkAppId&#8221;), &#8220;UTF-8&#8243;);<br />
			HTTPControl controlParameters = getControlParameters();</p>
<p>			controlParameters.setDynamicOverrideURL(controlParameters.getDynamicOverrideURL() + address);</p>
<p>		} catch (UnsupportedEncodingException e) {<br />
			e.printStackTrace();<br />
		}<br />
	}<br />
}</p>
<p>So essentially binding class dynamically overrides the base URL with the request params that now look like &#8211; <a href="http://localhost:9081/TestREST/MyInformation?appid=7432623" rel="nofollow">http://localhost:9081/TestREST/MyInformation?appid=7432623</a></p>
<p>Now when I deploy this module onto WPS, the first thing I do is to change the endpoint URL on the configuration page of the HTTP Import<br />
SCA Modules-&gt;ModuleName-&gt;Module_HttpImpName</p>
<p>Under Binding Scope there is the field for Endpoint URL. However what I am noticing is after I update the endpoint URL I dont see the new URL being picked up the Binding class mentioned above. It is still using the old endpoint URL. I have tried a lot of things, such as restart the server, did a full resynchronize of the node itself but none seem to help.</p>
<p>Is this a limitation on IBM&#8217;s part which forces me to go back to WID and change the endpoint URL and redeploy, because from what I have experienced so far, the new endpoint URL configured at deployment time is not refreshing the old one that got deployed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/comment-page-1/#comment-321</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Mon, 26 May 2008 18:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/#comment-321</guid>
		<description>Hi Eugene, 

&quot;Do I remember you?&quot; I pay professionals money to try to forget! :-) 

Alas, my current client is only on v6.0.2 of the software so I haven&#039;t had a chance to play with the HTTP binding on my own. As with any good WebSphere error when things don&#039;t work, what the exception?</description>
		<content:encoded><![CDATA[<p>Hi Eugene, </p>
<p>&#8220;Do I remember you?&#8221; I pay professionals money to try to forget! <img src='http://blog.danzrobok.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Alas, my current client is only on v6.0.2 of the software so I haven&#8217;t had a chance to play with the HTTP binding on my own. As with any good WebSphere error when things don&#8217;t work, what the exception?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/comment-page-1/#comment-320</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Mon, 26 May 2008 18:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/03/26/introducting-the-sca-http-binding/#comment-320</guid>
		<description>Hey, Mr. technical architect. Fancy title :) So I see you read our HTTP article. Was it helpful?
By the way, have you tried to set up an HTTP binding with SSL and basic auth? I am trying to build a prototype to figure out how to integrate Monitor and WID app. And I am puzzled as it does not seem to work.

Hope you remember me.

Eugene.</description>
		<content:encoded><![CDATA[<p>Hey, Mr. technical architect. Fancy title <img src='http://blog.danzrobok.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So I see you read our HTTP article. Was it helpful?<br />
By the way, have you tried to set up an HTTP binding with SSL and basic auth? I am trying to build a prototype to figure out how to integrate Monitor and WID app. And I am puzzled as it does not seem to work.</p>
<p>Hope you remember me.</p>
<p>Eugene.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

