<?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>2011-06-20T15:06:10.921+05:30</updated><category term='Redmine'/><category term='PHP'/><category term='Tomcat'/><category term='WebService'/><category term='JBoss'/><category term='Http'/><category term='Maven'/><category term='Linux'/><category term='Hudson'/><category term='JTA'/><category term='Atomikos'/><category term='Apache'/><category term='Spring'/><category term='Java'/><category term='SVN'/><category term='NoSQL'/><category term='Artifactory'/><category term='Google'/><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>विनोद सिंह</name><uri>https://profiles.google.com/103834618757927017718</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-xXpn1uzbbGo/AAAAAAAAAAI/AAAAAAAAC_c/hhEBO9tdJ54/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12168038.post-3928254978410112284</id><published>2011-06-20T15:06:10.921+05:30</published><updated>2011-06-20T15:06:10.921+05:30</updated><title type='text'>Hi Vinod, 

Finally, I am able to connect to my se...</title><content type='html'>Hi Vinod, &lt;br /&gt;&lt;br /&gt;Finally, I am able to connect to my service. Below links helped a lot.&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/764772/jax-ws-loading-wsdl-from-jar&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/4163586/jax-ws-client-whats-the-correct-path-to-access-the-local-wsdl&lt;br /&gt;&lt;br /&gt;I have made it work on netbeans &amp;amp; Apache CXF.&lt;br /&gt;Still facing the problem on Eclipse.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Rakesh</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/3928254978410112284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/3928254978410112284'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308562570921#c3928254978410112284' title=''/><author><name>Ranjan</name><uri>http://www.blogger.com/profile/06641735933927032415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910362933'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-5171507565628055330</id><published>2011-06-16T11:41:46.126+05:30</published><updated>2011-06-16T11:41:46.126+05:30</updated><title type='text'>@Ranjan,

#1 - Your understanding about Java is co...</title><content type='html'>@Ranjan,&lt;br /&gt;&lt;br /&gt;#1 - Your understanding about Java is correct here. I am not sure about C#.&lt;br /&gt;#2 - Not reachable (404) WSDL is the sufficient proof, I believe.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5171507565628055330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5171507565628055330'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308204706126#c5171507565628055330' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://2.bp.blogspot.com/_Kn0LXTsgm7w/SYMuIYoHruI/AAAAAAAAABw/GzpsXli4_hE/S220/vinod.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-330575695'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-5769220629234894875</id><published>2011-06-16T11:36:30.919+05:30</published><updated>2011-06-16T11:36:30.919+05:30</updated><title type='text'>Hi Vinod,

Would you please verify above statement...</title><content type='html'>Hi Vinod,&lt;br /&gt;&lt;br /&gt;Would you please verify above statements?&lt;br /&gt;&lt;br /&gt;Thanks again.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5769220629234894875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/5769220629234894875'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308204390919#c5769220629234894875' title=''/><author><name>Ranjan</name><uri>http://www.blogger.com/profile/06641735933927032415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910362933'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2736250687564989868</id><published>2011-06-15T16:55:43.172+05:30</published><updated>2011-06-15T16:55:43.172+05:30</updated><title type='text'>So, I understand two things (from your replies). K...</title><content type='html'>So, I understand two things (from your replies). Kindly validate.&lt;br /&gt;&lt;br /&gt;1. Java needs wsdl (generated proxy classes) at two levels, one at compile time (which is available in my case) and one at run time (which is missing in my case). &lt;br /&gt;If yes, then can&amp;#39;t we bypass it using some method in java? Further why this .net (C#) doesn&amp;#39;t require this wsdl at run time?&lt;br /&gt;&lt;br /&gt;2. Is there any method to prove it that our web service uses some proprietary technology which is not cross platform?&lt;br /&gt;&lt;br /&gt;Regards,</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/2736250687564989868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/2736250687564989868'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308137143172#c2736250687564989868' title=''/><author><name>Ranjan</name><uri>http://www.blogger.com/profile/06641735933927032415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910362933'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-8270485991518265524</id><published>2011-06-15T16:39:43.743+05:30</published><updated>2011-06-15T16:39:43.743+05:30</updated><title type='text'>@Ranjan,

So the exception you are facing is the r...</title><content type='html'>@Ranjan,&lt;br /&gt;&lt;br /&gt;So the exception you are facing is the real one (404 - not found). This web service can&amp;#39;t be consumed by the client (Java in this case) as it is not accessible over HTTP(S).&lt;br /&gt;&lt;br /&gt;Looks like this web service is published using some proprietary technology, which is not cross platform.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/8270485991518265524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/8270485991518265524'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308136183743#c8270485991518265524' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://2.bp.blogspot.com/_Kn0LXTsgm7w/SYMuIYoHruI/AAAAAAAAABw/GzpsXli4_hE/S220/vinod.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-330575695'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-1474005760532853405</id><published>2011-06-15T16:02:13.122+05:30</published><updated>2011-06-15T16:02:13.122+05:30</updated><title type='text'>I dont why my last post is not visible. In that po...</title><content type='html'>I dont why my last post is not visible. In that post I provided the .net code snippet. &lt;br /&gt;To be specific I am using the same URL (used in .net) in Java i.e. https://loaclhost:8085/SphericallService but when I run this URL in borwser (with ?wsdl), I get 404 not found error. But the client application runs smoothly. There is no issue.&lt;br /&gt;Please help.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/1474005760532853405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/1474005760532853405'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308133933122#c1474005760532853405' title=''/><author><name>Ranjan</name><uri>http://www.blogger.com/profile/06641735933927032415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910362933'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-7395887438633173775</id><published>2011-06-15T15:41:51.153+05:30</published><updated>2011-06-15T15:41:51.153+05:30</updated><title type='text'>Please see the client code for creating service ob...</title><content type='html'>Please see the client code for creating service object.&lt;br /&gt;public class SphericallFactory &lt;br /&gt; {&lt;br /&gt;  &lt;br /&gt;  static public Sphericall Create(string username,string password)&lt;br /&gt;  {&lt;br /&gt;   &lt;br /&gt;            ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CertValidationCallback);&lt;br /&gt;&lt;br /&gt;Sphericall service = new Sphericall();&lt;br /&gt;   &lt;br /&gt;   service.Credentials = new System.Net.NetworkCredential(username,password);&lt;br /&gt;            service.PreAuthenticate = true;&lt;br /&gt;   return service;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;        // Change the address of the server&lt;br /&gt;        static public void SetServerAddress(Sphericall service, string address)&lt;br /&gt;        {&lt;br /&gt;            if (address != null &amp;amp;&amp;amp; address != &amp;quot;&amp;quot;)&lt;br /&gt;            {&lt;br /&gt;                string url = &amp;quot;&amp;quot;;&lt;br /&gt;                if (address.IndexOf(&amp;#39;:&amp;#39;) &amp;gt;= 0)&lt;br /&gt;                {&lt;br /&gt;                    // Check if the last digit is even&lt;br /&gt;                    char digit = address[address.Length - 1];&lt;br /&gt;                    string even = &amp;quot;02468&amp;quot;;&lt;br /&gt;                    if (even.IndexOf(digit) &amp;gt;= 0)&lt;br /&gt;                        url = &amp;quot;http://&amp;quot; + address + &amp;quot;/SphericallService&amp;quot;;&lt;br /&gt;                    else&lt;br /&gt;                        url = &amp;quot;https://&amp;quot; + address + &amp;quot;/SphericallService&amp;quot;;&lt;br /&gt;                }&lt;br /&gt;                else&lt;br /&gt;                    url = &amp;quot;https://&amp;quot; + address + &amp;quot;:8081/SphericallService&amp;quot;;&lt;br /&gt;                service.Url = url;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        // Used to unconditionally validate a certificate&lt;br /&gt;        static public bool CertValidationCallback(object sender, X509Certificate certificate,&lt;br /&gt;               X509Chain chain, SslPolicyErrors sslPolicyErrors)&lt;br /&gt;        {&lt;br /&gt;            return true;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;So, we use the same path i.e.&lt;br /&gt;https://localhost:8085/SphericallService&lt;br /&gt;&lt;br /&gt;when I run this in browser as &amp;quot;https://localhost:8085/sphericallservice?wsdl&amp;quot;, I don&amp;#39;t see the wsdl but error&lt;br /&gt; &lt;br /&gt;- &lt;br /&gt;- &lt;br /&gt;- &lt;br /&gt;  SOAP-ENV:Client &lt;br /&gt;  HTTP Error: 404 Not Found &lt;br /&gt;   &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;But in .net the client is running well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/7395887438633173775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/7395887438633173775'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308132711153#c7395887438633173775' title=''/><author><name>Ranjan</name><uri>http://www.blogger.com/profile/06641735933927032415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910362933'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2092404395124802774</id><published>2011-06-15T15:21:01.158+05:30</published><updated>2011-06-15T15:21:01.158+05:30</updated><title type='text'>@Ranjan,

What URL you used while accessing the we...</title><content type='html'>@Ranjan,&lt;br /&gt;&lt;br /&gt;What URL you used while accessing the web service using C# client? Can you see the WSDL in browser using that URL? If yes, that URL should work for Java client as well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/2092404395124802774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/2092404395124802774'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308131461158#c2092404395124802774' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://2.bp.blogspot.com/_Kn0LXTsgm7w/SYMuIYoHruI/AAAAAAAAABw/GzpsXli4_hE/S220/vinod.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-330575695'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-1493467593162221874</id><published>2011-06-15T15:15:35.557+05:30</published><updated>2011-06-15T15:15:35.557+05:30</updated><title type='text'>hello Vinod,


I have a web service deployed on ou...</title><content type='html'>hello Vinod,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have a web service deployed on our own web server (not on any IIS or Tomcat)&lt;br /&gt;. So, all I have is a WSDL file and a webserver.exe (that has the web&lt;br /&gt;services implemented inside).&lt;br /&gt;&lt;br /&gt;Using this WSDL file, I have already developed a client application in .net&lt;br /&gt;(C#) which is running properly.&lt;br /&gt;&lt;br /&gt;Now I have to create another client application in JAVA using the same WSDL.&lt;br /&gt;But I dont know how to proceed (I am new to JAVA). To be specific I have some&lt;br /&gt;questions to proceed for it.. Please see the code snippet I wrote in Java.&lt;br /&gt;&lt;br /&gt;trustAllHttpsCertificates();&lt;br /&gt;HttpsURLConnection.setDefaultHostnameVerifier(hv);&lt;br /&gt;&lt;br /&gt;QName serviceName = new QName(&amp;quot;Sphericall&amp;quot;);&lt;br /&gt;URL url = new URL(&amp;quot;https&amp;quot;,&amp;quot;localhost&amp;quot;,8085,&amp;quot;/SphericallService&amp;quot;);&lt;br /&gt;&lt;br /&gt;testthebest.Sphericall_Service service = new testthebest.Sphericall_Service&lt;br /&gt;(url, serviceName);&lt;br /&gt;//service.create(serviceName); &lt;br /&gt;&lt;br /&gt;testthebest.Sphericall port = service.getSphericall();&lt;br /&gt;// TODO initialize WS operation arguments here&lt;br /&gt;testthebest.StartSessionRequest value = new testthebest.StartSessionRequest()&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;In the above code segment, I have written code to bypass certificate check,&lt;br /&gt;then for hostname verification and finally have tried to create the object of&lt;br /&gt;service.&lt;br /&gt;&lt;br /&gt;But while object creation I receive following exceptions. (WSDL not found).&lt;br /&gt;Kindly note that in code I have assigned the new URL for service. And in&lt;br /&gt;project I have attached the web reference (WSDL) which is kept in my&lt;br /&gt;machine&amp;#39;s D drive. So, Its was taking the URL as D:/xyz.wsdl but as its not&lt;br /&gt;the correct path of URL so I changed it to &amp;quot;https://localhost:&lt;br /&gt;8085/SphericallService&amp;quot;. But its not running ..&lt;br /&gt;&lt;br /&gt;com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of&lt;br /&gt;InaccessibleWSDLException.&lt;br /&gt;&lt;br /&gt;java.io.FileNotFoundException: https://localhost:8085/SphericallService&lt;br /&gt;java.io.FileNotFoundException: https://localhost:8085/SphericallService?wsdl&lt;br /&gt;&lt;br /&gt;As I said, My service is on our own developed webserver and it runs like a&lt;br /&gt;executable. And the wsdl file is sepeartely provided. So, there is no path&lt;br /&gt;exists like &amp;quot;https://localhost:8085/SphericallService?wsdl&amp;quot; for wsdl.&lt;br /&gt;&lt;br /&gt;Kindly suggest if you have any idea on it.&lt;br /&gt;&lt;br /&gt;regards,</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/1493467593162221874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/9051606875713887977/comments/default/1493467593162221874'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/05/webservice-endpoint.html?showComment=1308131135557#c1493467593162221874' title=''/><author><name>Ranjan</name><uri>http://www.blogger.com/profile/06641735933927032415</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1910362933'/></entry><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:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://2.bp.blogspot.com/_Kn0LXTsgm7w/SYMuIYoHruI/AAAAAAAAABw/GzpsXli4_hE/S220/vinod.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-330575695'/></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,

&amp;#39;REPLACE_WITH_ACTUAL_URL&amp;#39; is...</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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-448978946'/></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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1112725001'/></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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1112725001'/></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:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://2.bp.blogspot.com/_Kn0LXTsgm7w/SYMuIYoHruI/AAAAAAAAABw/GzpsXli4_hE/S220/vinod.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-330575695'/></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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1112725001'/></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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-392071985'/></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,&lt;br&gt;&lt;br&gt;'REPLACE_WITH_ACTUAL_URL' is replaced...</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:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://2.bp.blogspot.com/_Kn0LXTsgm7w/SYMuIYoHruI/AAAAAAAAABw/GzpsXli4_hE/S220/vinod.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-330575695'/></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, &lt;br&gt;&lt;br&gt;I think there must be a way t...</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'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-502990021'/></entry></feed>
