{"id":700,"date":"2005-08-08T23:30:07","date_gmt":"2005-08-09T03:30:07","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=700"},"modified":"2005-08-08T23:30:07","modified_gmt":"2005-08-09T03:30:07","slug":"ebay-java-c-soap-examples","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2005\/08\/08\/ebay-java-c-soap-examples\/","title":{"rendered":"eBay Java \/ C# SOAP Examples"},"content":{"rendered":"<p>At the start of this year I worked with some guys at eBay to further develop their code samples. Some, but not all of the twelve examples I wrote went live in the recently launched Community Codebase.  You can download <a href=\"https:\/\/codesamples.codebase.ebay.com\/files\/documents\/14\/71\/java_eBay_codesamples.zip\">all the Java examples<\/a> (of which I wrote three) or <a href=\"https:\/\/codesamples.codebase.ebay.com\/source\/browse\/codesamples\/trunk\/src\/java\/\">browse the Subversion repository<\/a>. I wrote the <a href=\"https:\/\/codesamples.codebase.ebay.com\/source\/browse\/codesamples\/trunk\/src\/java\/SOAPAddItem\/\">SOAPAddItem<\/a>, <a href=\"https:\/\/codesamples.codebase.ebay.com\/source\/browse\/codesamples\/trunk\/src\/java\/SOAPGetItem\/\">SOAPGetItem<\/a>, and <a href=\"https:\/\/codesamples.codebase.ebay.com\/source\/browse\/codesamples\/trunk\/src\/java\/SOAPGetUser\/\">SOAPGetUser<\/a> items in the <a href=\"https:\/\/codesamples.codebase.ebay.com\/source\/browse\/codesamples\/trunk\/src\/java\/\">Java source tree<\/a>. <\/p>\n<p>The examples I wrote were different from the majority of the (then) existing examples in that I didn&#8217;t make any IDE assumptions (most of the Java examples have <a href=\"http:\/\/www.borland.com\/us\/products\/jbuilder\/index.html\">JBuilder<\/a> .jpx files and <a href=\"http:\/\/eclipse.org\/\">Eclipse<\/a> .project files, the .NET projects contain the <a href=\"http:\/\/msdn.microsoft.com\/vstudio\/\">Visual Studio<\/a> artifacts.. tsk tsk.) and as such, all the examples I wrote contain comprehensive <a href=\"http:\/\/ant.apache.org\/\">Ant<\/a> \/ <a href=\"http:\/\/nant.sourceforge.net\/\">NAnt<\/a> build files which means you can get up and running without having to setup your fancy schmancy IDE.  But the biggest difference was that all the examples I wrote used either Ant (with <a href=\"http:\/\/ws.apache.org\/axis\/java\/user-guide.html\">WSDL2Java<\/a>) or NAnt (with <a href=\"http:\/\/nantcontrib.sourceforge.net\/\">NAntContrib<\/a>) tasks to conditionally download the eBay WSDL, generate the client stub(s), and compile the resulting code, which makes for a prettier source code repository (generated stubs  aren&#8217;t checked into source) and gives you compile time checking of your code against the API.<\/p>\n<p>If you&#8217;re interested in how you can use Ant or NAnt in a build environment where you access SOAP services, you should check it out!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the start of this year I worked with some guys at eBay to further develop their code samples. Some, but not all of the twelve examples I wrote went live in the recently launched Community Codebase. You can download all the Java examples (of which I wrote three) or browse the Subversion repository. I &hellip; <a href=\"https:\/\/cephas.net\/blog\/2005\/08\/08\/ebay-java-c-soap-examples\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">eBay Java \/ C# SOAP Examples<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,3,4,16,2],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/700"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=700"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/700\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}