How to use a String[] (array) as a parameter in a web service
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Moore
Posted On:   Tuesday, October 12, 2004 11:52 AM

Greetings, I have a (simple) web service that takes 3 String parameters, deployed on JBOSS 4.0.0. The service works as expected. I want one of the parameters to be a String array, however. When I change the interface & implementation to specify a String array for the parameter, I get the following deployment error. org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested throwable: (RuntimeMBeanException: null Cause: java.lang.IllegalArgumentException: Cannot find package type for: {http://webservices.web.cueing.apsts.sonalysts.com}ArrayOf_xsd_string) I generate the wsdl file   More>>


Greetings,


			
I have a (simple) web service that takes 3 String
parameters, deployed on JBOSS 4.0.0. The service works
as expected. I want one of the parameters to be a
String array, however. When I change the interface &
implementation to specify a String array for the
parameter, I get the following deployment error.


			
org.jboss.deployment.DeploymentException: Cannot deploy
webservice; - nested throwable: (RuntimeMBeanException:
null Cause: java.lang.IllegalArgumentException: Cannot
find package type for: {http://webservices.web.cueing.apsts.sonalysts.com}ArrayOf_xsd_string)




I generate the wsdl file using Java2WSDL. It contains (in part):

			
...







...


			
I'm new to web services & can't figure out what's
missing, or how to remedy it. Any hints or clues
would be most welcome.
   <<Less

Re: How to use a String[] (array) as a parameter in a web service

Posted By:   Balakris_Subramaniam  
Posted On:   Wednesday, October 13, 2004 11:11 AM


Post your code sample and maybe we can help.
About | Sitemap | Contact