<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-12168038.post9051606875713887977..comments</id><updated>2010-05-21T21:50:12.373+05:30</updated><title type='text'>Comments on Vinod Singh: Webservice endpoint</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vinodsingh.com/feeds/9051606875713887977/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html'/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12168038.post-853450299500772565</id><published>2010-05-21T21:50:12.367+05:30</published><updated>2010-05-21T21:50:12.367+05:30</updated><title type='text'>@cancelledout,

Programmatically means something l...</title><content type='html'>@cancelledout,&lt;br /&gt;&lt;br /&gt;Programmatically means something like-&lt;br /&gt;&lt;br /&gt;ServiceImplService service = new MyServiceImplService(new URL(&amp;quot;ENDPOINT URL OF MY SERVICE&amp;quot;), new QName(ann.targetNamespace(), ann.name()));</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/853450299500772565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/853450299500772565'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1274458812367#c853450299500772565' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-6565512117251461192</id><published>2010-05-21T13:32:08.721+05:30</published><updated>2010-05-21T13:32:08.721+05:30</updated><title type='text'>QUOTE:
Kasi,

'REPLACE_WITH_ACTUAL_URL' is replace...</title><content type='html'>QUOTE:&lt;br /&gt;Kasi,&lt;br /&gt;&lt;br /&gt;&amp;#39;REPLACE_WITH_ACTUAL_URL&amp;#39; is replaced at runtime, you can test it by viewing WSDL (using service URL) of a deployed application in browser. If WSDL is bundled with client application then it has to be changed programmatically while invoking service methods.&lt;br /&gt;&lt;br /&gt;What do you mean by programmatically? Meaning writing onto the xml .wsclient file?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/6565512117251461192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/6565512117251461192'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1274428928721#c6565512117251461192' title=''/><author><name>cancelledout</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-5872903204342706547</id><published>2009-07-09T21:06:13.634+05:30</published><updated>2009-07-09T21:06:13.634+05:30</updated><title type='text'>My problem is solved for the naccessibleWSDLExcept...</title><content type='html'>My problem is solved for the naccessibleWSDLException.  As it turned out the port in the endpoint was incorrect. Once that was corrected I got it working.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5872903204342706547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5872903204342706547'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1247153773634#c5872903204342706547' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-7756141939333028415</id><published>2009-07-09T00:59:26.193+05:30</published><updated>2009-07-09T00:59:26.193+05:30</updated><title type='text'>I am using jax_ws 2.1. I have tested the web servi...</title><content type='html'>I am using jax_ws 2.1. I have tested the web service as well w/ soap UI so I know that it is functioning.  Here is the source code.  &lt;br /&gt;&lt;br /&gt;package com.aaa.Cybersource;&lt;br /&gt;&lt;br /&gt;import java.net.MalformedURLException;&lt;br /&gt;import java.net.URL;&lt;br /&gt;import java.util.logging.Logger;&lt;br /&gt;import javax.xml.namespace.QName;&lt;br /&gt;import javax.xml.ws.Service;&lt;br /&gt;import javax.xml.ws.WebEndpoint;&lt;br /&gt;import javax.xml.ws.WebServiceClient;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * This class was generated by the JAX-WS RI. JAX-WS RI 2.1.3-hudson-390-&lt;br /&gt; * Generated source version: 2.0&lt;br /&gt; * &lt;br /&gt; * An example of how this class may be used:&lt;br /&gt; * &lt;br /&gt; * &lt;br /&gt; * ElectronicPaymentService service = new ElectronicPaymentService();&lt;br /&gt; * ElectronicPaymentPortType portType = service.getElectronicPaymentPort();&lt;br /&gt; * portType.runCreditCardTransaction(...);&lt;br /&gt; * &lt;br /&gt; * &lt;br /&gt; * &lt;br /&gt; * &lt;br /&gt; */&lt;br /&gt;@WebServiceClient(name = &amp;quot;ElectronicPaymentService&amp;quot;, &lt;br /&gt;  targetNamespace = &amp;quot;http://XXXXXXXXXXX.com/electronicpayment/2008/08/15&amp;quot;, &lt;br /&gt;  wsdlLocation = &amp;quot;file:/C:/XXXXXXXX/epayment2/ePayment/wsdl/electronicpayment/ElectronicPaymentServiceImplementationCC.wsdl&amp;quot;)&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;public class ElectronicPaymentService extends Service {&lt;br /&gt;&lt;br /&gt; private final static URL ELECTRONICPAYMENTSERVICE_WSDL_LOCATION;&lt;br /&gt; private final static Logger logger = Logger&lt;br /&gt;   .getLogger(com.XXX.Cybersource.ElectronicPaymentService.class&lt;br /&gt;     .getName());&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; static {&lt;br /&gt;  &lt;br /&gt;  System.out.println(&amp;quot;ElectronicPaymentService begin 2:&amp;quot;);   &lt;br /&gt;    &lt;br /&gt;  URL url = null;&lt;br /&gt;  try {&lt;br /&gt;   URL baseUrl;&lt;br /&gt;   baseUrl = com.XXX.Cybersource.ElectronicPaymentService.class&lt;br /&gt;     .getResource(&amp;quot;.&amp;quot;);&lt;br /&gt;   url = new URL(&lt;br /&gt;     baseUrl,  &amp;quot;https://111.11.111.111:1111/ElectronicPaymentService.asmx&amp;quot;); &lt;br /&gt;      // &amp;quot;file:/C:/XXXXXX/epayment2/ePayment/wsdl/electronicpayment/ElectronicPaymentServiceImplementationCC.wsdl&amp;quot;);  &lt;br /&gt;   } catch (MalformedURLException e) {&lt;br /&gt;   logger&lt;br /&gt;     .warning(&amp;quot;Failed to create URL for the wsdl Location: &amp;#39;file:/C:/XXXXX/epayment2/ePayment/wsdl/electronicpayment/ElectronicPaymentServiceImplementationCC.wsdl&amp;#39;, retrying as a local file&amp;quot;);&lt;br /&gt;   logger.warning(e.getMessage());&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  // URL url = null;&lt;br /&gt; // ClassLoader classloader = Thread.currentThread().getContextClassLoader();&lt;br /&gt; // url = classloader.getResource(&amp;quot;WEB-INF/wsdl/electronicpayment/ElectronicPaymentServiceImplementationCC.wsdl&amp;quot;);&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  ELECTRONICPAYMENTSERVICE_WSDL_LOCATION = url;&lt;br /&gt;  &lt;br /&gt;  System.out.println(&amp;quot;ElectronicPaymentService url: &amp;quot;+url.toString());  &lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public ElectronicPaymentService(URL wsdlLocation, QName serviceName) {&lt;br /&gt;  &lt;br /&gt;  super(wsdlLocation, serviceName);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public ElectronicPaymentService() {&lt;br /&gt;  super(ELECTRONICPAYMENTSERVICE_WSDL_LOCATION, new QName(  &lt;br /&gt;    &amp;quot;http://XXXXXXXXXXX.com/electronicpayment/2008/08/15&amp;quot;,&lt;br /&gt;    &amp;quot;ElectronicPaymentService&amp;quot;));&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /**&lt;br /&gt;  * &lt;br /&gt;  * @return returns ElectronicPaymentPortType&lt;br /&gt;  */&lt;br /&gt; @WebEndpoint(name = &amp;quot;ElectronicPaymentPort&amp;quot;)&lt;br /&gt; public ElectronicPaymentPortType getElectronicPaymentPort() {&lt;br /&gt;  return super.getPort(new QName(&lt;br /&gt;    &amp;quot;http://XXXXXXXXXXX.com/electronicpayment/2008/08/15&amp;quot;,&lt;br /&gt;    &amp;quot;ElectronicPaymentPort&amp;quot;), ElectronicPaymentPortType.class);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/7756141939333028415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/7756141939333028415'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1247081366193#c7756141939333028415' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-4875741290684134309</id><published>2009-07-08T21:32:12.412+05:30</published><updated>2009-07-08T21:32:12.412+05:30</updated><title type='text'>Not sure about first error, but second one clearly...</title><content type='html'>Not sure about first error, but second one clearly mentions that it was not able to access the WSDL.&lt;br /&gt;&lt;br /&gt;If you can post the code and versions of the JAX-WS other technologies being used, that would  help in finding a solution.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/4875741290684134309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/4875741290684134309'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1247068932412#c4875741290684134309' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-5619425910859786724</id><published>2009-07-08T21:04:36.653+05:30</published><updated>2009-07-08T21:04:36.653+05:30</updated><title type='text'>I am attempting a JAX WS Client w/ a local wsdl.  ...</title><content type='html'>I am attempting a JAX WS Client w/ a local wsdl.  The web service client class looks very similar to your example. When I define the URL w/ the local path of the wsdl I receive the error - &amp;quot;main&amp;quot; java.lang.IllegalArgumentException: getNamespaceURI(String prefix) is called with a null prefix.  When I put the Endpoint URL in instead, I get the error - com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.  One last thing, the code was generated using the web service client builder in MyEclipse 6.6 .  Any help would be greatly appreciated.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5619425910859786724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5619425910859786724'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1247067276653#c5619425910859786724' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-951228103798382063</id><published>2009-04-29T19:48:00.000+05:30</published><updated>2009-04-29T19:48:00.000+05:30</updated><title type='text'>thats, cool. Thx</title><content type='html'>thats, cool. Thx</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/951228103798382063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/951228103798382063'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1241014680000#c951228103798382063' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2696005037403780727</id><published>2009-03-17T20:16:00.000+05:30</published><updated>2009-03-17T20:16:00.000+05:30</updated><title type='text'>Kasi,'REPLACE_WITH_ACTUAL_URL' is replaced at runt...</title><content type='html'>Kasi,&lt;BR/&gt;&lt;BR/&gt;'REPLACE_WITH_ACTUAL_URL' is replaced at runtime, you can test it by viewing WSDL (using service URL) of a deployed application in browser. If WSDL is bundled with client application then it has to be changed programmatically while invoking service methods.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/2696005037403780727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/2696005037403780727'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1237301160000#c2696005037403780727' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-8910427029415167949</id><published>2009-03-17T16:54:00.000+05:30</published><updated>2009-03-17T16:54:00.000+05:30</updated><title type='text'>Hello Vinod, I think there must be a way to ensure...</title><content type='html'>Hello Vinod, &lt;BR/&gt;&lt;BR/&gt;I think there must be a way to ensure that the entry in the .wsdl file is populated correctly &lt;BR/&gt;ie&lt;BR/&gt;the entry &lt;BR/&gt;soap:address location="REPLACE_WITH_ACTUAL_URL"&lt;BR/&gt;is the culprit . &lt;BR/&gt;&lt;BR/&gt;the "REPLACE_WITH_ACTUAL_URL" should be replaced dynamically at runtime - as the the wsdl gets rebuilt everytime, it becomes tedious to do a cut and paste of this entry . &lt;BR/&gt;&lt;BR/&gt;Any thoughts please , much appreciated</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/8910427029415167949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/8910427029415167949'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1237289040000#c8910427029415167949' title=''/><author><name>Kasi</name><uri>http://www.blogger.com/profile/15433029792597847200</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17059603855319629588'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html' ref='tag:blogger.com,1999:blog-12168038.post-9051606875713887977' source='http://www.blogger.com/feeds/12168038/posts/default/9051606875713887977' type='text/html'/></entry></feed>