Hello, I work with weblogic 9.2. My problem is during deploy a bean that serve as a client for remote web service. I use service reference in ejb-jar.xml but is doesn't work. When i use Jboss it works. My code in client bean MSISDNNo Service lservice = (javax.xml.rpc.Service) lctx.lookup("java:comp/env/service/MSISDNOwnershipService"); MnpProxyPort l = (MnpProxyPort) lservice.getPort(MnpProxyPort.class); QueryMSISDNOwnershipResponse r = l.queryMSISDNOwnership("22"); k = r.getOwnership(); Exception from weblogic Unable to deploy EJB: MSISDNNo from mnp-ejb.jar: ejb "MSISDNNo" doesn't have a web service view in ejb-jar.xml. at weblogic.wsee.deploy.WsEJBDeployListener.verifyEjbjardd(WsEJBDeployListener.java:352) at weblogic.wsee.deploy.WsEJBDeployListener.doprepare(WsEJBDeployListener.java:171) at weblogic.wsee.deploy.WsEJBDeployListener.prepare(WsEJBDeployListener.java:104) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1226) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:354) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperatio n.java:189) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:15 7) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(Deploymen tReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiv erCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCal lbackDeliverer.java:45) at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: ejb "MSISDNNo" doesn't have a web service view in ejb-jar.xml. ... 28 more thanks for reply peter zuska Here is source code: ejb-jar.xml: <!--?xml version="1.0" encoding="UTF-8"?--> MNP_EJB MSISDNNo cz.vodafone.nss.mnp.isdn.MSISDNNoHome cz.vodafone.nss.mnp.isdn.MSISDNNo cz.vodafone.nss.mnp.isdn.MSISDNNoLocalHome cz.vodafone.nss.mnp.isdn.MSISDNNoLocal cz.vodafone.nss.mnp.isdn.MSISDNNoBean Stateless Container Pom java.lang.String Petr service/MSISDNOwnershipService javax.xml.rpc.Service META-INF/wsdl/QueryMSISDNOwnershipService.wsdl META-INF/mnp-mapping.xml webservices.xml: queryMSISDNOwnershipService META-INF/wsdl/QueryMSISDNOwnershipService.wsdl META-INF/mnp-mapping.xml queryMSISDNOwnershipServiceHttpPort tns:queryMSISDNOwnershipServiceHttpPort javax.xml.rpc.Service MSISDNNo weblogic-ejb-jar.xml: <!--?xml version="1.0" encoding="UTF-8"?--> <!-- ** This file was automatically generated by ** EJBGen WebLogic Server 9.2 SP0 Fri Jun 23 20:47:26 EDT 2006 783464 --> MSISDNNo 1000 0 0 service/MSISDNOwnershipService <!-- <wsdl-url>http://s1mnpd22:9502/mnpProxy/apiInternal/server/soap/queryMSISDNOwnershipService?WSDL</wsdl-url> --> file:///C:/work/mnp/MNP_EJB/src/META-INF/wsdl/QueryMSISDNOwnershipService.wsdl queryMSISDNOwnershipServiceHttpPort javax.xml.rpc.service.endpoint.address http://s1mnpd22:9502/mnpProxy/apiInternal/server/soap/queryMSISDNOwnershipService true ejb/MSISDNNo MnpProxyPort.java: package mnp.jaxws.client; public interface MnpProxyPort extends java.rmi.Remote { public mnp.jaxws.client.QueryMSISDNOwnershipResponse queryMSISDNOwnership(java.lang.String msisdn) throws java.rmi.RemoteException; } MNP_EJB/src/META-INF/wsdl/QueryMSISDNOwnershipService.wsdl <!--?xml version="1.0" encoding="UTF-8"?--> <!--Created by TIBCO WSDL--> OrderTypes: 1 ... The last finished port-inorder of MSISDN 2 ... MSISDN's port-in order, that is neither rejected nor completed 3 ... MSISDN's port-out order, that has porting date set and is neither rejected nor completed result message >0 ..... the request was executed successful. <=0 ... an error occurred during the processing of the request. MNP_EJB/src/META-INF/mnp-mapping.xml <!--?xml version="1.0" encoding="UTF-8"?--> mnp.jaxws.client http://mnp-webservice.oskar.cz/queryMSISDNOwnershipImpl mnp.jaxws.client http://mnp-webservice.oskar.cz mnp.jaxws.client.QueryMSISDNOwnershipResponse typeNS:QueryMSISDNOwnershipResponse complexType ownership ownership result result mnp.jaxws.client.QueryMSISDNOwnershipRequest typeNS:QueryMSISDNOwnershipRequest complexType msisdn msisdn mnp.jaxws.client.Result typeNS:Result complexType code code message message mnp.jaxws.client.QueryMSISDNOwnershipService serviceNS:queryMSISDNOwnershipService queryMSISDNOwnershipServiceHttpPort queryMSISDNOwnershipServiceHttpPort mnp.jaxws.client.MnpProxyPort portTypeNS:mnpProxyPort bindingNS:queryMSISDNOwnershipServiceBinding queryMSISDNOwnership queryMSISDNOwnership 0 java.lang.String wsdlMsgNS:queryMSISDNOwnershipRequest msisdn IN mnp.jaxws.client.QueryMSISDNOwnershipResponse wsdlMsgNS:queryMSISDNOwnershipResponse queryMSISDNOwnershipResponse