after you sort out the CNFE you'll want to address the lookup problem in this 
scenario the FactoryBean
JaxWsPortProxyFactoryBean returns
a proxy that implements our business service interface. In the example the 
JaxWsPortProxyFactoryBean
is used to create a proxy for the 'AccountService' endpoint 
      
<bean id="accountWebService" 
class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
    <property name="serviceInterface" value="example.AccountService"/>
    <property name="wsdlDocumentUrl" 
value="http://localhost:8080/account/services/accountService?WSDL"/>
    <property name="namespaceUri" 
value="http://localhost:8080/account/services/accountService"/>
    <property name="serviceName" value="AccountService"/>
    <property name="portName" value="AccountPort"/>
</bean>configuration and usage details available at
http://static.springframework.org/spring/docs/2.5.6/reference/remoting.html

HTH
Martin Gainty 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de 
déni et de confidentialité
This message is confidential. If you should not be the intended receiver, then 
we ask politely to report. Each unauthorized forwarding or manufacturing of a 
copy is inadmissible. This message serves only for the exchange of information 
and has no legal binding effect. Due to the easy manipulation of emails we 
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Thu, 14 May 2009 14:32:45 +0530
> Subject: Re: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat  
> 6.0
> From: bharath.mail.l...@gmail.com
> To: users@tomcat.apache.org
> 
> >>Tomcat 6.0 supports version 2.5 of the servlet spec, whereas Tocmat 5.5
> uses 2.4; the 2.5 spec includes resource >>annotations, whereas 2.4 doesn't.
>  You didn't bother to specify a spec version in your web.xml.
> 
> Do you suggest I put the 2.4 servlet spec version in web.xml?
> 
> >>so Tomcat chose the one appropriate for its level; Tomcat 6.0 honored your
> annotations while Tomcat 5.5 ignored them. >>Since the declared resources
> weren't available, you received the appropriate error messages.
> 
>  Resource.class is present in lib directory under annotations-api.jar.
> WebServiceContext.class is also present under the $CATALINA_HOME/lib
> directory. Do you see any version problem in these classes?
> 
> 
> --Bharath

_________________________________________________________________
Hotmail® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009

Reply via email to