I have a problem while deploying the Web service in JBoss 4.0.0. The web 
service has the following method:

public boolean testMe(String session, String[] ids) throws RemoteException;

The following exception is reported at the time of deployent:

13:34:31,898 INFO  [EjbModule] Deploying MouseGateway
13:34:32,018 INFO  [EJBDeployer] Deployed: file:/C:/www/jboss/jboss-4.0.0/server
/default/tmp/deploy/tmp18506mouse-ws4ee.ear-contents/mouse-ws4ee-ejb.jar
13:34:32,028 INFO  [TomcatDeployer] deploy, ctxPath=/dmitriy, warUrl=file:/C:/ww
w/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp18506mouse-ws4ee.ear-contents/m
ouse-ws4ee-exp.war/
13:34:32,158 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/www/jboss/jbo
ss-4.0.0/server/default/data/wsdl/mouse-ws4ee.war/mouse.wsdl
13:34:32,218 ERROR [ServiceDeployer] Cannot startup webservice for: 
mouse-ws4ee.war
org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested 
throwable: (RuntimeMBeanException: null Cause: 
java.lang.IllegalArgumentException:
Cannot find package type for: {http://ws.mouse.filetek.com}ArrayOf_xsd_string)
        at 
org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:342)
        at 
org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:203)
        at 
org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:113)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
onListenerProxy.java:138)
        at $Proxy25.handleNotification(Unknown Source)
...

As far as I understand, the deployer expects to have special class that 
implements array of strings to be provided I have added an empty class with 
this name, and the service has deployed successfully (this was done in one of 
the examples I have seen). However, I do not understand if this is an expected 
solution. 

I have several other methods in the service which take beans (not EJB, but Java 
beans) as an argument - and they are giving similar exception as well. Should I 
keep adding classes?

Any help will be greatly appreciated. I am new to JBoss, so please point me to 
the right place if I have overlooked this information.

I am using JBoss 4.0.0, Eclipse 3.0, and JDK 1.4.2.

Thanks,
Dmitriy

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to