<?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: Using different data types between Java and WCF</title>
	<atom:link href="http://www.kevingao.net/wcf-java-interop/using-different-data-types-between-java-and-wcf.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kevingao.net/wcf-java-interop/using-different-data-types-between-java-and-wcf.html</link>
	<description>SourceSafe, Source Control, Software Development</description>
	<lastBuildDate>Wed, 07 Jul 2010 21:46:55 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike R</title>
		<link>http://www.kevingao.net/wcf-java-interop/using-different-data-types-between-java-and-wcf.html/comment-page-1#comment-2431</link>
		<dc:creator>Mike R</dc:creator>
		<pubDate>Fri, 23 Oct 2009 02:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.kevingao.net/?p=561#comment-2431</guid>
		<description>One thing you also have to remember is that XMLGregorianCalendar and java.util.Calendar differ in the numeric value they use for January (1 and  0 respectively). The conversion example between the calendars above needs to be changed to reflect this difference.</description>
		<content:encoded><![CDATA[<p>One thing you also have to remember is that XMLGregorianCalendar and java.util.Calendar differ in the numeric value they use for January (1 and  0 respectively). The conversion example between the calendars above needs to be changed to reflect this difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: An Phu</title>
		<link>http://www.kevingao.net/wcf-java-interop/using-different-data-types-between-java-and-wcf.html/comment-page-1#comment-1880</link>
		<dc:creator>An Phu</dc:creator>
		<pubDate>Wed, 17 Jun 2009 06:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.kevingao.net/?p=561#comment-1880</guid>
		<description>Have you tried setting EmitDefaultValue=false for the DataMember attribute?</description>
		<content:encoded><![CDATA[<p>Have you tried setting EmitDefaultValue=false for the DataMember attribute?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Gao</title>
		<link>http://www.kevingao.net/wcf-java-interop/using-different-data-types-between-java-and-wcf.html/comment-page-1#comment-1796</link>
		<dc:creator>Kevin Gao</dc:creator>
		<pubDate>Wed, 03 Jun 2009 05:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kevingao.net/?p=561#comment-1796</guid>
		<description>Charlie,

We did run across the same issue in our SCM Anywhere.

You can use the methods of JAXBElement to get and set string values. If you are not comfortable with JAXBElement, you can try avoiding “IsRequired = false” in your DataMember definition by providing default values in your function calls.

Thanks,

Kevin</description>
		<content:encoded><![CDATA[<p>Charlie,</p>
<p>We did run across the same issue in our SCM Anywhere.</p>
<p>You can use the methods of JAXBElement to get and set string values. If you are not comfortable with JAXBElement, you can try avoiding “IsRequired = false” in your DataMember definition by providing default values in your function calls.</p>
<p>Thanks,</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://www.kevingao.net/wcf-java-interop/using-different-data-types-between-java-and-wcf.html/comment-page-1#comment-1781</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Wed, 13 May 2009 21:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.kevingao.net/?p=561#comment-1781</guid>
		<description>Great series of articles on WCF and Java interoperability.  This subject is not well addressed anywhere.  We are also using a WCF server and were testing out a Java client.  We ran into some issues with a string DataMember that is defined in our WCF with &quot;IsRequired = false&quot;.  This produced an xsd element with minOccurs=&quot;0&quot; and nillable=&quot;true&quot;.  This caused our Java client to want a JAXBElement instead of just a string.

I was wondering if you ran across this with your system.  It would be nice if there was a way to omit the nillable=true in the generated xsd.  I have not found any DataMemberAttributes that would result in this.

I am looking forward to more of your articles in this series.

Thanks,
Charlie</description>
		<content:encoded><![CDATA[<p>Great series of articles on WCF and Java interoperability.  This subject is not well addressed anywhere.  We are also using a WCF server and were testing out a Java client.  We ran into some issues with a string DataMember that is defined in our WCF with &#8220;IsRequired = false&#8221;.  This produced an xsd element with minOccurs=&#8221;0&#8243; and nillable=&#8221;true&#8221;.  This caused our Java client to want a JAXBElement instead of just a string.</p>
<p>I was wondering if you ran across this with your system.  It would be nice if there was a way to omit the nillable=true in the generated xsd.  I have not found any DataMemberAttributes that would result in this.</p>
<p>I am looking forward to more of your articles in this series.</p>
<p>Thanks,<br />
Charlie</p>
]]></content:encoded>
	</item>
</channel>
</rss>
