<?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: Dynamically assign web service endpoint urls</title>
	<atom:link href="http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/</link>
	<description>Something about JEE and WebSphere. Java, JEE and WebSphere tips and tutorials</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:08:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Santa</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-98492</link>
		<dc:creator>Santa</dc:creator>
		<pubDate>Wed, 14 Dec 2011 05:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-98492</guid>
		<description>Albin,

Nice post. By any chance, did you blog about the other way of dynamic binding? Iam waiting for the post.

Thanks
Santosh</description>
		<content:encoded><![CDATA[<p>Albin,</p>
<p>Nice post. By any chance, did you blog about the other way of dynamic binding? Iam waiting for the post.</p>
<p>Thanks<br />
Santosh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Priya</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-75339</link>
		<dc:creator>Priya</dc:creator>
		<pubDate>Thu, 17 Feb 2011 13:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-75339</guid>
		<description>Ashwin,

I have used the piece of code published by you. the setServiceRefToPartnerLink is throwing an error as shown below .. Any suggestions 

The method setServiceRefToPartnerLink(String, DataObject) in the type GeneratedCompilationUnitName_1297949569183 is not applicable for the arguments (String, EndpointReference)</description>
		<content:encoded><![CDATA[<p>Ashwin,</p>
<p>I have used the piece of code published by you. the setServiceRefToPartnerLink is throwing an error as shown below .. Any suggestions </p>
<p>The method setServiceRefToPartnerLink(String, DataObject) in the type GeneratedCompilationUnitName_1297949569183 is not applicable for the arguments (String, EndpointReference)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-66003</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Wed, 05 May 2010 04:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-66003</guid>
		<description>I was just going through the preferences window. I see something related to XSD annotations. May be this could be the reason. Go to Window -&gt; preferences -&gt; Business Integration -&gt; WSDL/Interface Export and check the checkbox. May be this helps.</description>
		<content:encoded><![CDATA[<p>I was just going through the preferences window. I see something related to XSD annotations. May be this could be the reason. Go to Window -&gt; preferences -&gt; Business Integration -&gt; WSDL/Interface Export and check the checkbox. May be this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sadh</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-65805</link>
		<dc:creator>Sadh</dc:creator>
		<pubDate>Tue, 27 Apr 2010 22:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-65805</guid>
		<description>Hi - Is there any catch in this approach when we generate an EAR and try to deploy it on a run-time WPS  server ?

I had turned on WS-Addressing Schema on in WID and generated the EAR , but I get the following exception when I try to publish the EAR -

ejbModule/sca/webservice/client/LookupServiceImport.java(12): Syntax error, annotations are only available if source level is 5.0</description>
		<content:encoded><![CDATA[<p>Hi &#8211; Is there any catch in this approach when we generate an EAR and try to deploy it on a run-time WPS  server ?</p>
<p>I had turned on WS-Addressing Schema on in WID and generated the EAR , but I get the following exception when I try to publish the EAR -</p>
<p>ejbModule/sca/webservice/client/LookupServiceImport.java(12): Syntax error, annotations are only available if source level is 5.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-57912</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Wed, 26 Aug 2009 08:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-57912</guid>
		<description>I did not make that post yet. I will inform you once that is done. Sorry for the inconvenience.</description>
		<content:encoded><![CDATA[<p>I did not make that post yet. I will inform you once that is done. Sorry for the inconvenience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-57886</link>
		<dc:creator>Sunil</dc:creator>
		<pubDate>Tue, 25 Aug 2009 22:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-57886</guid>
		<description>Hi Albin,

Very informative post. You mentioned in this post that you will blog about another way of dynamic binding in the next post. I am eagerly waiting for that post. Please post the link here in case you have already blogged about it.

Thanks,
Sunil</description>
		<content:encoded><![CDATA[<p>Hi Albin,</p>
<p>Very informative post. You mentioned in this post that you will blog about another way of dynamic binding in the next post. I am eagerly waiting for that post. Please post the link here in case you have already blogged about it.</p>
<p>Thanks,<br />
Sunil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-55570</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Fri, 17 Jul 2009 13:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-55570</guid>
		<description>The page ate up the text within &quot;less than&quot; and &quot;greater than&quot; symbols. Reposting...

&lt;pre lang=&quot;java&quot;&gt;
EndpointReferenceFactory eprFactory = EndpointReferenceFactory.INSTANCE;
epr = eprFactory.createEndpointReference();
epr.setService(new QName({importNamespace}, {importService}));
epr.setAddress({address});
epr.setPort({port});

setServiceRefToPartnerLink({Partner Name},epr);
&lt;/pre&gt;

The values {} within can be configured externally (DB or properties file).</description>
		<content:encoded><![CDATA[<p>The page ate up the text within &#8220;less than&#8221; and &#8220;greater than&#8221; symbols. Reposting&#8230;</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p326code1'); return false;">View Code</a> JAVA</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3261"><td class="code" id="p326code1"><pre class="java" style="font-family:monospace;">EndpointReferenceFactory eprFactory <span style="color: #339933;">=</span> EndpointReferenceFactory.<span style="color: #006633;">INSTANCE</span><span style="color: #339933;">;</span>
epr <span style="color: #339933;">=</span> eprFactory.<span style="color: #006633;">createEndpointReference</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
epr.<span style="color: #006633;">setService</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> QName<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>importNamespace<span style="color: #009900;">&#125;</span>, <span style="color: #009900;">&#123;</span>importService<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
epr.<span style="color: #006633;">setAddress</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>address<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
epr.<span style="color: #006633;">setPort</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>port<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
setServiceRefToPartnerLink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>Partner <span style="color: #003399;">Name</span><span style="color: #009900;">&#125;</span>,epr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The values {} within can be configured externally (DB or properties file).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-55568</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Fri, 17 Jul 2009 12:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-55568</guid>
		<description>This might be helpful if you are to design a business process which invokes services whose endpoint references are determined at runtime.

PS: A caveat in this approach is that it works only if the service being looked up is exported using web service binding.

EndpointReferenceFactory eprFactory = EndpointReferenceFactory.INSTANCE;
epr = eprFactory.createEndpointReference();
epr.setService(new QName(, ));
epr.setAddress();
epr.setPort();

setServiceRefToPartnerLink(&quot;&quot;,epr);

The values within  can be configured externally (DB or properties file).</description>
		<content:encoded><![CDATA[<p>This might be helpful if you are to design a business process which invokes services whose endpoint references are determined at runtime.</p>
<p>PS: A caveat in this approach is that it works only if the service being looked up is exported using web service binding.</p>
<p>EndpointReferenceFactory eprFactory = EndpointReferenceFactory.INSTANCE;<br />
epr = eprFactory.createEndpointReference();<br />
epr.setService(new QName(, ));<br />
epr.setAddress();<br />
epr.setPort();</p>
<p>setServiceRefToPartnerLink(&#8220;&#8221;,epr);</p>
<p>The values within  can be configured externally (DB or properties file).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Tillman</title>
		<link>http://www.albeesonline.com/blog/2009/03/04/dynamically-assign-web-service-endpoint-urls/comment-page-1/#comment-48564</link>
		<dc:creator>Doug Tillman</dc:creator>
		<pubDate>Thu, 14 May 2009 20:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=326#comment-48564</guid>
		<description>Hi,
Nice concise explanation.  I&#039;m new to WebSphere and the Process Server.  I&#039;m looking at a SCA component written by somebody else.  I want to send a SOAP message to the component but I don&#039;t see any imports.  There are exports defined.  Is there a way to send a SOAP message to a component from an external client without defining imports?
If you know of a guide or site that discusses the specifics of making a SOAP call to a component I&#039;d be grateful for the pointer.  I&#039;m Googling all over without much luck.

Thanks.

Doug</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Nice concise explanation.  I&#8217;m new to WebSphere and the Process Server.  I&#8217;m looking at a SCA component written by somebody else.  I want to send a SOAP message to the component but I don&#8217;t see any imports.  There are exports defined.  Is there a way to send a SOAP message to a component from an external client without defining imports?<br />
If you know of a guide or site that discusses the specifics of making a SOAP call to a component I&#8217;d be grateful for the pointer.  I&#8217;m Googling all over without much luck.</p>
<p>Thanks.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>

