-
2. Re: Schema-first WS development with JBossWS
tejasjani Jan 9, 2007 2:37 PM (in response to tejasjani)Hi Thomas, thanks for the reply.
This link talks about the client side. I am referring to the server-side on how to implement and deploy the service when one starts out with a WSDL. The JBoss documentation does not seem to address this approach, as it seems to auto-generate WSDL and mapping files using wstools. Also it does not address how does one generate the type classes.
I would appreciate if I can get some pointers as we are currently evaluating if JBossWS is the right way for us to go.
thanks in advance -
3. Re: Schema-first WS development with JBossWS
omatzura Jan 10, 2007 7:07 AM (in response to tejasjani)Hi!
the jbossws-support in jbosside 2.0 beta2 has initial support for this (ie generating server side java from wsdl).. have a look at the tutorials at http://www.soapui.org/jbossws/topdown.html..
If I remember correctly, you need to;
1) generate java artifacts from your wsdl using wstools wsdl2java
2) implement the generated interface
3) publish the implementaion using wstools java2wstools (for creating the correct descriptors/config files required for deployment)
The tutorial covers these step together with a walk-through example.. let me know if you have any troubles..
regards,
/Ole
eviware.com -
4. Re: Schema-first WS development with JBossWS
tejasjani Jan 10, 2007 11:19 AM (in response to tejasjani)Thanks Ole, I will definitely check it out.
-
5. Re: Schema-first WS development with JBossWS
tejasjani Jan 10, 2007 5:07 PM (in response to tejasjani)Hi,
I just tried to use this plug-in and I am encountering problems importing the wsdl file from my local machine.
It just gives me an exception saying:
Error importing wsdl:org.apache.xml.xmlBeans.XMLException:error: Prefix not specified.
I have checked the wsdl and am not able to find any issues with it.
Any hints on what could be wrong ? -
6. Re: Schema-first WS development with JBossWS
omatzura Jan 10, 2007 5:11 PM (in response to tejasjani)Hi!
Could you mail/show me the WSDL so I can have a look?
kind regards,
/Ole
ole@eviware.com -
7. Re: Schema-first WS development with JBossWS
tejasjani Jan 10, 2007 5:28 PM (in response to tejasjani)Hi Ole, I just sent you the wsdl file in an email.