[jboss-user] [JBossWS] - Re: trying to access a webservice - not working from either

rodgerca do-not-reply at jboss.com
Wed Aug 22 05:34:30 EDT 2007


Well I have now managed to get my webservice running from within SOAPUI - I did this by changing my return arraylist to a simple array of objects.   Don't think arrayLists are supported but frankly the documentation on the JBoss sites is pretty bad so I had to work that out for myself.

I am still getting the error below when I run my webservice from a java client, but I'm not going to investigate further because the webservice is working and that's what matters.  Unless anyone can tell me if there is anything obvious I am doing wrong....

Exception in thread "main" org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://com.cmmgroup/address}addressRequestArray
  | 	at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processOutputDocElement(JAXRPCMetaDataBuilder.java:778)
  | 	at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildParameterMetaDataDoc(JAXRPCMetaDataBuilder.java:897)
  | 	at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.setupOperationsFromWSDL(JAXRPCMetaDataBuilder.java:214)
  | 	at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:216)
  | 	at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:133)
  | 	at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:85)
  | 	at org.jboss.ws.core.jaxrpc.client.ServiceImpl.<init>(ServiceImpl.java:111)
  | 	at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
  | 	at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
  | 	at com.cmmgroup.address.client.runAddressAsWebService.main(runAddressAsWebService.java:27)

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

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



More information about the jboss-user mailing list