Hello,

I have deployed an EJB service in a sun application server. I can see normally that the service is deployed in the axis list but when i try to call the method i get this excpetion:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.IllegalArgumentException: rmiURLContext: name is not an
RMI URL: corbaname:iiop:localhost:10500#ejb/MyService

This is the wsdd file i used for the deployment:

<service name="EpaisWebService" provider="java:EJB" >

<parameter name="beanJndiName" value="ejb/MyService" />
<parameter name="homeInterfaceName" value="com.service.MyService"/>

<parameter name="remoteInterfaceName" value="com.service.MyRemoteService"/>
<parameter name="jndiContextClass" value="com.sun.jndi.rmi.registry.RegistryContextFactory"/>
<parameter name="allowedMethods" value="*" />

 
<parameter name="jndiURL" value="corbaname:iiop:localhost:10500#ejb/MyService" />

When i remove completely the parameter jndi url i get a connection refused exception.

Do i have to declare in another way the corba jndi name?

Thank you







Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr

Reply via email to