<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pothole on the Information Superhighway &#187; Web Service</title>
	<atom:link href="http://www.eliotdill.com/category/web-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eliotdill.com</link>
	<description>Eliot Dill's</description>
	<lastBuildDate>Fri, 04 Dec 2009 22:55:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Call Web Service in Java</title>
		<link>http://www.eliotdill.com/2009/06/web-service-client/</link>
		<comments>http://www.eliotdill.com/2009/06/web-service-client/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 21:37:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Service]]></category>
		<category><![CDATA[Call Web Service]]></category>
		<category><![CDATA[calling web service]]></category>
		<category><![CDATA[Consume Web Service]]></category>
		<category><![CDATA[consume web services]]></category>
		<category><![CDATA[consuming web service]]></category>
		<category><![CDATA[consuming web services]]></category>
		<category><![CDATA[example web service]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tutorial web service]]></category>
		<category><![CDATA[using web service]]></category>
		<category><![CDATA[Web Service Client]]></category>
		<category><![CDATA[xml web service]]></category>

		<guid isPermaLink="false">http://www.eliotdill.com/?p=28</guid>
		<description><![CDATA[Consume a Web Service with Java 
As I stated before, calling a web service in .Net is easy .  However, using a Java Web Service is a little more difficult .  This is not because .Net is superior to Java, but instead because of the various standards that Java allows for since it is open [...]]]></description>
			<content:encoded><![CDATA[<h1><strong><strong>Consume a Web Service with Java</strong> </strong></h1>
<p>As I stated before, <a title="Web Service .Net" href="http://www.eliotdill.com/2009/06/web-services-netweb-services-net/" target="_self" title="Web Service .Net">calling a web service in .Net is easy</a> .  However, <a href="http://java.sun.com/webservices/" target="_blank">using a Java Web Service is a little more difficult</a> .  This is <a href="http://www.microsoft.com/NET/" target="_blank">not because .Net is superior</a> to Java, but instead because of the various standards that Java allows for since it is open sourced.  In other words, Java can be extended and new standards can be developed, whereas Microsoft keeps tight control over their beloved .Net framework.</p>
<p><strong>Step 1:  Download and Install NetBeans</strong></p>
<p>First you must download and <a title="Best Java IDE" href="http://www.netbeans.org/" target="_blank" title="Best Java IDE">Java IDE such as Netbeans</a> , <a href="http://www.eclipse.org/" target="_blank">Eclipse</a> , or <a href="http://www.oracle.com/technology/products/jdev/index.html" target="_blank">Oracle&#8217;s JDeveloper</a> .  I have used all three and I would recommend NetBeans because I found that JDeveloper was a little behind on certian standards and Eclipse requires that you install additional plugins to allow you to develop with web services.  However, the <a href="http://www.netbeans.org/" target="_blank">latest version of NetBeans (6.5 as of this writing)</a> comes with everything you need to develop and consume web services, including a choice of embedded web servers for development.</p>
<p><strong>Step 2: Create a Web Project and Web Service Client</strong></p>
<p>Next, create a new <strong>Web Project </strong> by clicking<strong> File &gt; New</strong> and selecting <strong>Web Project</strong> from the list.</p>
<p>Once it builds your project, you must tell NetBeans what type of project you are developing.  You can do this by <strong>right clicking your newly created Project</strong> in the Projects pane and selecting <strong>New &gt; Web Service Client</strong> .  If I remember correctly, this is where a wizard will <a title="WSDL" href="http://www.w3.org/TR/wsdl" target="_blank" title="WSDL">prompt you for the Web Service WSDL that you are wanting to call</a> .</p>
<p>WSDL stands for Web Service Definition Language and <a title="What is WSDL" href="http://www.w3.org/TR/wsdl" target="_blank" title="What is WSDL">is a document that is generated when you build a web service</a> to tell the applications that want to use it what methods are available to use.</p>
<p><strong>Step 3: Call Web Service</strong></p>
<p>Once your project finishes generating the local methods for calling the external web service, you should see a tree option under your project entitled <strong>Source Packages</strong> . Open this tree item and all items below it and you should <strong>see a Java file</strong> <strong>&quot;*.java&quot;</strong> .  <strong>Double click</strong> this so it opens, then <strong>right click &gt; Web Service Client Resources &gt; Call Web Service Operation</strong> .</p>
<p><strong>Step 4: Modify and Test</strong></p>
<p>Once the generation is completed, you should be able to reference the web service objects similar to the following:</p>
<blockquote><p><em>WsNameOfService port =   service.getWsNameOfServicePort();<br />
boolean tf;<br />
tf = port.isReady();</em></p>
<p><em>out.println(&quot;Result: &quot; + tf);</em></p></blockquote>
<p><strong>Enjoy and Good Luck!</strong></p>
<p><em>Note: If your not getting the same menu items as me then you probably created the wrong project type in the first couple of steps.  For instance, NetBeans may not allow you to create a Web Service Client in a regular Java project.  Start over with a new project and ensure you are selecting the correct project types.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eliotdill.com/2009/06/web-service-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.Net Consume Web Service</title>
		<link>http://www.eliotdill.com/2009/06/web-services-net/</link>
		<comments>http://www.eliotdill.com/2009/06/web-services-net/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 21:48:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Service]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[Call Web Service]]></category>
		<category><![CDATA[calling web service]]></category>
		<category><![CDATA[Consume Web Service]]></category>
		<category><![CDATA[consume web services]]></category>
		<category><![CDATA[consuming web service]]></category>
		<category><![CDATA[consuming web services]]></category>
		<category><![CDATA[example web service]]></category>
		<category><![CDATA[net calling web service]]></category>
		<category><![CDATA[net consume web service]]></category>
		<category><![CDATA[tutorial web service]]></category>
		<category><![CDATA[using web service]]></category>
		<category><![CDATA[Web Service Client]]></category>
		<category><![CDATA[xml web service]]></category>

		<guid isPermaLink="false">http://www.eliotdill.com/?p=27</guid>
		<description><![CDATA[Consume Web Service with .Net
During the past 8 months, I have been playing with web services quite a bit &#8211; both calling and developing web services for my employer.  However, I had some trouble along the way finding information on the different standards of web services (such as JAX-WS and JAX-RPC ), implementing those web [...]]]></description>
			<content:encoded><![CDATA[<h1>Consume Web Service with .Net</h1>
<p>During the past 8 months, I have been playing with web services quite a bit &#8211; both calling and developing web services for my employer.  However, I had some trouble along the way finding information on the different standards of web services (such as <a href="https://jax-ws.dev.java.net/" target="_blank">JAX-WS</a> and <a href="https://jax-rpc.dev.java.net/" target="_blank">JAX-RPC</a> ), implementing those web services on <a title="Jboss 5" href="http://www.jboss.org/" target="_blank" title="Jboss 5">the server (Jboss)</a> , and testing the services by writing a <a title="VB.Net Documentation" href="http://msdn.microsoft.com/en-us/vbasic/default.aspx" target="_blank" title="VB.Net Documentation">web service client (VB.Net)</a> .</p>
<p>So I thought documenting the information I have collected would be useful for others attempting the same thing.  The next series of posts will show you how to write, deploy, and consume web services using a combination of .Net and Java.</p>
<p><strong>Consume a Web Service in .NET</strong></p>
<p>Calling a web service in Microsoft .Net framework is super easy.  Simply open a new or existing project, click<strong><em> Project &gt; Add Web Reference</em> </strong> , then enter the <em><strong>URL</strong> </em> to the web service&#8217;s <strong>WSDL</strong> .</p>
<p><a href="http://www.eliotdill.com/wp-content/uploads/2009/06/vb-net-add-web-reference.jpg"><img class="alignright size-medium wp-image-133" title="vb-net-add-web-reference" src="http://www.eliotdill.com/wp-content/uploads/2009/06/vb-net-add-web-reference-264x300.jpg" alt="" title="vb-net-add-web-reference" width="264" height="300" /> </a></p>
<p>A <a title="WSDL" href="http://www.w3.org/TR/wsdl" target="_blank" title="WSDL"><strong>WSDL</strong> is an XML document that is used to define a web service</a> , such as Method Names and Parameters for those Methods.  Don&#8217;t worry, you usually don&#8217;t have to write this document by hand.  Yes, the programming gods have smiled upon us.  Most IDE editors will do this for you including <a href="http://msdn.microsoft.com/en-us/vstudio/default.aspx" target="_blank">Visual Studio</a> and <a href="http://www.netbeans.org/" target="_blank">NetBeans</a> .</p>
<p>After entering the <strong>URL</strong> as suggested above, just follow the wizard steps and .Net will take care of the rest for you.</p>
<p>Once complete, you should see <strong>Web References</strong> in the <strong>Solution Explorer </strong> pane in Visual Studio.  You can edit the Reference Name and URL in the <strong>Properties</strong> pane by clicking on the web service reference (whatever you named it) under <strong>Web References</strong> .</p>
<p>Now you can reference the web service object that you just created by typing &quot;<em>WhateverYouNamedIt.</em> &quot;</p>
<p>Go ahead and give it a shot!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eliotdill.com/2009/06/web-services-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Breakdown of Modern Web Design</title>
		<link>http://www.eliotdill.com/2009/05/the-breakdown-of-modern-web-design/</link>
		<comments>http://www.eliotdill.com/2009/05/the-breakdown-of-modern-web-design/#comments</comments>
		<pubDate>Wed, 20 May 2009 23:25:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Service]]></category>
		<category><![CDATA[Bill Gates]]></category>
		<category><![CDATA[breakdown]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Portfolio - Web Development]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.eliotdill.com/?p=30</guid>
		<description><![CDATA[This pretty much breaks-down a day in the life:
 
]]></description>
			<content:encoded><![CDATA[<p>This pretty much breaks-down a day in the life:</p>
<p><a href="http://www.eliotdill.com/wp-content/uploads/2009/05/breakdown-of-modern-web-design.png"><img class="aligncenter size-full wp-image-31" title="breakdown-of-modern-web-design" src="http://www.eliotdill.com/wp-content/uploads/2009/05/breakdown-of-modern-web-design.png" alt="chart about web design" width="500" height="372" /> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eliotdill.com/2009/05/the-breakdown-of-modern-web-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
