Hello,
I have created and deployed the web-service, using JSR-181 annotations. I have not generated any jax-rpc mappings or wsdl definitions, using command-line tools. After deployment, wsdl have became available at "http://localhost:8080/TestEjbLibrary/HelloWorldBean?wsdl", as for mapping - I dont know where to find it.
When parameters are simple objects (strings etc.) everything ok.
The problem is, when I try to pass custom object as web-method parameter, it fails with the exception:
org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://test/jaws}sayHello
at org.jboss.ws.metadata.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:442)
at org.jboss.ws.metadata.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:193)
at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:213)
at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:89)
at org.jboss.ws.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:89)
at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
at Main.testHelloWorldWS(Main.java:42)
at Main.main(Main.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Please monitor http://jira.jboss.com/jira/browse/JBWS-929
Also look at the client section in the FAQs
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQ