[jboss-user] [JBossWS] - Re: Exception while deploying the webservice using jax-ws
tpawankumar
do-not-reply at jboss.com
Wed Oct 24 09:04:11 EDT 2007
Hi,
This issue has been resolved by moving to Jbossws 2.0.1 GA.
Now i am getting different exception
java.lang.IllegalStateException: Cannot find endpoint meta data for: MacafeeAdapter
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
18:29:00,849 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at f00a09d9 { url=file:/D:/jboss-4.2.1.GA/serve
r/default/deploy/mcafeeAdapter.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Cannot find endpoint meta data for: MacafeeA
dapter
state: FAILED
watch: file:/D:/jboss-4.2.1.GA/server/default/deploy/mcafeeAdapter.war
altDD: null
lastDeployed: 1193230739941
lastModified: 1193230739925
mbeans:
jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/mcafeeAdapter,
J2EEApplication=none,J2EEServer=none (state not available)
jboss.web:j2eeType=Servlet,name=MacafeeAdapter,WebModule=//localhost/mcafeeA
dapter,J2EEApplication=none,J2EEServer=none (state not available)
jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/mcafeeAdapter,J2EE
Application=none,J2EEServer=none (state not available)
This is my remote interface
import javax.xml.ws.ResponseWrapper;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* JBossWS Generated Source
*
* Generation Date: Tue Oct 23 09:29:51 IST 2007
*
* This generated source code represents a derivative work of the input to
* the generator that produced it. Consult the input for the copyright and
* terms of use that apply to this source code.
*
* JAX-WS Version: 2.0
*
*/
@WebService(name = "VendorOrderPort", targetNamespace = "http://smo.xsd.covad.com/vendororder")
public interface VendorOrderPort extends Remote{
/**
*
* @param vendorOrder
* @return
* returns com.covad.xsd.smo.vendororder.VendorOrder
* @throws RemoteException
*/
@WebMethod
@WebResult(targetNamespace = "http://smo.xsd.covad.com/vendororder")
@RequestWrapper(localName = "processVendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrder")
@ResponseWrapper(localName = "processVendorOrderResponse", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrderResponse")
public VendorOrder processVendorOrder(
@WebParam(name = "vendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder")
VendorOrder vendorOrder)
throws RemoteException
;
}
This is Web service implementation class
package com.covad.mcafee.adapter.webservice;
import com.covad.mcafee.service.McAfeeProxy;
import com.covad.xsd.smo.vendororder.VendorOrder;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.covad.xsd.smo.vendororder.VendorOrderPort;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
@WebService(endpointInterface="com.covad.xsd.smo.vendororder.VendorOrderPort")
public class macafeeAdapter implements VendorOrderPort {
private static Log logger = LogFactory.getLog("com.covad.mcafee.adapter");
@WebMethod(operationName = "ProcessVendorOrder")
public VendorOrder processVendorOrder(VendorOrder vendorOrder) {
// logger.info("Entering mcafeeadapter.processVendorOrder() with "+vendorOrder.xmlText());
logger.info("Entering mcafeeadapter.processVendorOrder() with ");
McAfeeProxy mcAfeeProxy = new McAfeeProxy();
VendorOrder res = mcAfeeProxy.processVendorOrder(vendorOrder);
logger.info("COMPLETE");
return res;
}
}
Please help me.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098293#4098293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098293
More information about the jboss-user
mailing list