<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'JAX-WS jython' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'JAX-WS jython' posted on the 'Python' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 23:50:42 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 23:50:42 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>JAX-WS jython</title>
      <link>http://www.programmersheaven.com/mb/python/411833/411833/jax-ws-jython/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I'm new to jython and stuck on what is probably a basic concept. This is the code snipet. The service.port is returning a class of type TimeServer.class. &lt;br /&gt;
&lt;br /&gt;
from javax.xml.namespace import QName&lt;br /&gt;
from javax.xml.ws import Service&lt;br /&gt;
from java.net import URL&lt;br /&gt;
from ch01.ts import TimeServer&lt;br /&gt;
from java.lang import Object&lt;br /&gt;
from java.lang import Class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
url1=URL("http://localhost:9876/ts?wsdl")&lt;br /&gt;
qname=QName("http://ts.ch01/", "TimeServerImplService")&lt;br /&gt;
service = Service.create(url1, qname)&lt;br /&gt;
eif = service.getPort(TimeServer.class)&lt;br /&gt;
&lt;br /&gt;
The error:&lt;br /&gt;
&lt;br /&gt;
c:\jython2.5.1&amp;gt;jython webclient.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File "webclient.py", line 12, in &amp;lt;module&amp;gt;&lt;br /&gt;
    eif = service.getPort(TimeServer.class)&lt;br /&gt;
AttributeError: instance attr: class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
any ideas?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/411833/411833/jax-ws-jython/</guid>
      <pubDate>Tue, 12 Jan 2010 06:43:15 -0700</pubDate>
      <category>Python</category>
    </item>
  </channel>
</rss>
