-
1. Re: Complex types mapping
sonalraj May 23, 2006 8:13 AM (in response to beep_beep)I just give the mapping file(mapping.xml) for the complex types and it works fine for me.
--
Sonal. -
2. Re: Complex types mapping
beep_beep May 23, 2006 8:32 AM (in response to beep_beep)Sonal,
Ok, thanks.
But what serializer you have used?
could you, please send youe example xml?
Do you use axis BeanSerializerFactory or other?
It seems to me Jboss must have somthing different instead axis... -
3. Re: Complex types mapping
sonalraj May 23, 2006 8:42 AM (in response to beep_beep)In case of the DII(Dynamic Invocation Client) there is no need of any serializer,Usually the mapping.xml location is given.Here is how the service is created,
ServiceFactoryImpl serviceFactory = (ServiceFactoryImpl) ServiceFactory.newInstance();
Service service = serviceFactory.createService(wsdlURL, mappingURL,null, SERVICE_NAME, null);
But if you want the static client then the stubs(serializer and deserializer) can be generate using the wscompile tool.
--
Sonal -
4. Re: Complex types mapping
pechetty May 24, 2006 5:38 AM (in response to beep_beep)Sonal,
Didn't find the method which allows to specify the mapping file for complex types either in,
the jax-rpc 1.1 API's or the JBOSS's ServiceFactoryImpl createService method . Which version are you guys talking about. I am on jboss-4.0.4.GA.
Thanks
Chander -
5. Re: Complex types mapping
sonalraj May 24, 2006 6:37 AM (in response to beep_beep)Chander,
I'm using jboss-4.0.3SP1.
Following link explains such type of example,
http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEClientDII
--
Sonal -
6. Re: Complex types mapping
pechetty May 24, 2006 8:09 AM (in response to beep_beep)Sonal,
Thanks for the link. So its the custom org.jboss.webservice.client.ServiceFactoryImpl class thats being used. I was able to run the sample. BTW, I didnt find any link from the main JBossWS Wiki page, or did I miss something.
Thanks
Chander -
7. Re: Complex types mapping
thomas.diesler May 29, 2006 6:09 AM (in response to beep_beep)That page is deprecated. The user guide, shows you how to do DII clients with JBossWS
-
8. Re: Complex types mapping
pechetty May 29, 2006 6:26 AM (in response to beep_beep)Thanks Thomas.