<?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"
	>
<channel>
	<title>Comments on: Web Services without Code Generation</title>
	<atom:link href="http://myarch.com/web-services-without-code-generation/feed/" rel="self" type="application/rss+xml" />
	<link>http://myarch.com/web-services-without-code-generation</link>
	<description>Builds and bytes</description>
	<pubDate>Thu, 20 Nov 2008 22:35:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Prashant</title>
		<link>http://myarch.com/web-services-without-code-generation#comment-19675</link>
		<dc:creator>Prashant</dc:creator>
		<pubDate>Wed, 02 Jan 2008 14:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://myarch.com/web-services-without-code-generation#comment-19675</guid>
		<description>Hi ,

This is very good approch by  which  we do not have to maintain java classes in our code , define xsd and use jaxb to generate classes.

I was trying with this approch and could create and deploy web service on jboss4.2.1GA with this approch 

The process i followed is 

1. define xsd 
2. use xjc task on the xsd to generate java classes 
3. in web service use this generated java class as paramter to web service method 
4. deploy the web service in jboss 

once the web service gets deployed i can see the wsdl by using the url http://localhost:28080/jbossws/services

Now i am trying to genarate wsdl from the java class using wsprovide ant task from jboss 
but it fails to generate wsld giving ClassCastException</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>This is very good approch by  which  we do not have to maintain java classes in our code , define xsd and use jaxb to generate classes.</p>
<p>I was trying with this approch and could create and deploy web service on jboss4.2.1GA with this approch </p>
<p>The process i followed is </p>
<p>1. define xsd<br />
2. use xjc task on the xsd to generate java classes<br />
3. in web service use this generated java class as paramter to web service method<br />
4. deploy the web service in jboss </p>
<p>once the web service gets deployed i can see the wsdl by using the url <a href="http://localhost:28080/jbossws/services" rel="nofollow">http://localhost:28080/jbossws/services</a></p>
<p>Now i am trying to genarate wsdl from the java class using wsprovide ant task from jboss<br />
but it fails to generate wsld giving ClassCastException</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WSDL Naming Conventions &#124; MyArch</title>
		<link>http://myarch.com/web-services-without-code-generation#comment-6947</link>
		<dc:creator>WSDL Naming Conventions &#124; MyArch</dc:creator>
		<pubDate>Mon, 09 Apr 2007 01:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://myarch.com/web-services-without-code-generation#comment-6947</guid>
		<description>[...] Web service providers communicate with their customers (consumers) by the means of publishing WSLD of the service. In most cases, developers create the client code for the service by generating classes from the published WSDL file. While JAX-WS makes it possible to avoid code generation entirely (as I described in this post) and hand-code all client-side classes, in all but the most trivial cases using code generation is the easiest way to start developing a Web service client. [...]</description>
		<content:encoded><![CDATA[<p>[...] Web service providers communicate with their customers (consumers) by the means of publishing WSLD of the service. In most cases, developers create the client code for the service by generating classes from the published WSDL file. While JAX-WS makes it possible to avoid code generation entirely (as I described in this post) and hand-code all client-side classes, in all but the most trivial cases using code generation is the easiest way to start developing a Web service client. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
