<?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>Commentaires sur : Apache CXF Clients : null result when using bad client factory</title>
	<atom:link href="http://planet.petalslink.com/home/chamerling/2009/04/09/apache-cxf-clients-null-result-when-using-bad-client-factory/feed/" rel="self" type="application/rss+xml" />
	<link>http://planet.petalslink.com/home/chamerling/2009/04/09/apache-cxf-clients-null-result-when-using-bad-client-factory/</link>
	<description>Things around SOA, Web Services, Open Source and more...</description>
	<lastBuildDate>Tue, 13 Oct 2009 10:09:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>Par : JMarc Bailly</title>
		<link>http://planet.petalslink.com/home/chamerling/2009/04/09/apache-cxf-clients-null-result-when-using-bad-client-factory/comment-page-1/#comment-80</link>
		<dc:creator>JMarc Bailly</dc:creator>
		<pubDate>Thu, 07 May 2009 11:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/?p=91#comment-80</guid>
		<description>Hi, 

Greats that you mention it.

But using the &#039;JaxWsProxyFactoryBean&#039; is also helpful for the WebParam definition.

If you use the &#039;bad&#039; ClientWsProxyFactoryBean, your client will not recognize the name of your specified &#039;WebParam&#039; name, it will use the default convention : arg0 (if there&#039;s only one parameter)

example.

@WebService(name=&quot;myClass&quot;)
public interface myClass {
    @WebMethod(operationName=&quot;myMethod&quot;)
    public String myMethod(@WebParam(&quot;myArg&quot;) String myArg);
}

This will result in a triggering a Fault.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Greats that you mention it.</p>
<p>But using the &#8216;JaxWsProxyFactoryBean&#8217; is also helpful for the WebParam definition.</p>
<p>If you use the &#8216;bad&#8217; ClientWsProxyFactoryBean, your client will not recognize the name of your specified &#8216;WebParam&#8217; name, it will use the default convention : arg0 (if there&#8217;s only one parameter)</p>
<p>example.</p>
<p>@WebService(name=&nbsp;&raquo;myClass&nbsp;&raquo;)<br />
public interface myClass {<br />
    @WebMethod(operationName=&nbsp;&raquo;myMethod&nbsp;&raquo;)<br />
    public String myMethod(@WebParam(&laquo;&nbsp;myArg&nbsp;&raquo;) String myArg);<br />
}</p>
<p>This will result in a triggering a Fault.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

