I have a problem when deploying my service on Jboss 4.0.0
The exception is as following:
17:20:11,549 INFO [TomcatDeployer] deploy, ctxPath=/PhaseLC,
warUrl=file:/Data2/jboss-4.0.0/server/default/tmp/deploy/tmp20531PhaseLC-exp.war/
17:20:12,455 INFO [WSDLFilePublisher] WSDL published to:
file:/Data2/jboss-4.0.0/server/default/data/wsdl/PhaseLC.war/PhaseLC_1.wsdl
17:20:12,950 ERROR [ServiceDeployer] Cannot startup webservice for: PhaseLC.war
org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested
throwable: (RuntimeMBeanException: null Cause:
java.lang.IllegalArgumentException:
Cannot find package type for: {http://wsdl.phaselc.org}ArrayOf_xsd_string)
at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeploye
r.java:342)
the corresponding wsdl is as following:
wsdl:types
schema xmlns=http://www.w3.org/2001/XMLSchema;
targetNamespace=http://wsdl.phaselc.org;
import namespace=http://schemas.xmlsoap.org/soap/encoding//
complexType name=ArrayOf_xsd_string
complexContent
restriction base=soapenc:Array
attribute ref=soapenc:arrayType wsdl:arrayType=xsd:string[]/
/restriction
/complexContent
/complexType
/schema
/wsdl:types
This wsdl file is generated using java2WSDL
anybody could help me to identify the problem ?
Thanks a lot !
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870162#3870162
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870162
---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user