[jboss-user] [JBossWS] - jb0ss4.2.0, JAX-WS2.0 deployment exception

J2EEUser do-not-reply at jboss.com
Fri Jun 22 14:54:21 EDT 2007


Hi,
I am trying JAX-WS2.0 sample deployment on JBoss4.2.0. I am getting the following deplyment exception:

Cannot start service endpoint; - nested throwable: 
=========
(org.jboss.ws.WSException: {http://www.test.com}arg0 is not a valid property on class fromwsdl.server.AddNumbers)
        at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
        at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:101)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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 $Proxy46.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.GeneratedMethodAccessor18.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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)
=============

sun-jaxws.xml

=======
<?xml version="1.0" encoding="UTF-8"?>


    <endpoint
        name="fromwsdl"
        interface="fromwsdl.server.AddNumbersPortType"
        implementation="fromwsdl.server.AddNumbersImpl"
        wsdl="WEB-INF/wsdl/AddNumbers.wsdl"
        service="{http://www.test.com}AddNumbersService"
        port="{http://www.test.com}AddNumbersPort"
        url-pattern="/addnumbers" />

======

web.xml
========
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" mlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    fromwsdl
    <display-name>fromwsdl</display-name>
    
        <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
    
    
        JAX-WS endpoint - fromwsdl
        <display-name>fromwsdl</display-name>
        <servlet-name>AddNumbersPort</servlet-name>
        <servlet-class>fromwsdl.server.AddNumbersImpl</servlet-class>
        <load-on-startup>1</load-on-startup>
    
    <servlet-mapping>
        <servlet-name>AddNumbersPort</servlet-name>
        <url-pattern>/addnumbers</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>60</session-timeout>
    </session-config>
</web-app>
========

Anyone had this issue?  I have to solve this ASAP to develop actual web service implementations.

Can anyone please help me in solving this?

THanks in advance.
RR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056989#4056989

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056989



More information about the jboss-user mailing list