[EJB 3.0] - wscompile : generate wsdl for all simple types with minOccur
by jelda
Hi,
How to generate also minOcccurs=0 for all simple/complex types in wsdl.?
I am using wscompile to generate wsdl from java in our environment.
I am severely facing problems in keeping compatible with my old versions of applicaitons. Because
lets say, I have a complext type as follows generated by wscompile
<complexType name="Address">
| <sequence>
| <element name="alive" type="boolean"/>
| <element name="name" nillable="true" type="string"/>
| <element name="street" type="string"/>
| <element name="zip" type="int"/>
| </sequence>
| </complexType>
all simple types are generated with nillible true. Thats absolutely fine. But what about minOccurs=0. How can I generate them?
If in future, ever want to remove that simple type. I could not.Becuase older clients are not compatible with newer appication.
Please help me out in this regards,
I posted it some days ago in jbossws forum. But no one has replied to my post. So I am cross posting it again here. sorry for cross posting.
Regards,
Jelda
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974141#3974141
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974141
19 years, 7 months
[JBoss Eclipse IDE (users)] - Re: How to
by SpecialAgent
Hey,
its a reply to an old post but perhaps it could help someone.
So I found this site:
http://wiki.lamsfoundation.org/display/lams/Development+Environment
Look for the section "Eclipse 3.2: Installing Web Development (including JBOSS) Support"
And there you are! :-D
Well, this site is about something else, but it works fine for me! :-)
I copied the contents from the page, because its not a JBoss site and could be go to nowhere...
Greets SA.
anonymous wrote :
| Eclipse 3.2: Installing Web Development (including JBOSS) Support
| If you are running Eclipse 3.2, this is how you can run JBOSS from within Eclipse. This section assumes that you have JBOSS already installed and Eclipse is running the JDK is configured.
|
| Part 1: Install the "Web Standard Tools" and "J2EE Standard Tools"
|
| Go to the Help menu and select Software Updates, Find and Install
| On the dialog box that pops up, select "Search for new features to install" and click "Next"
| Click the Callisto Discovery Site checkbox and click "Finish"
| This should bring you back a list including "C and C++ Development", "Java Development", "Web and J2EE Development".
| Open "Web and J2EE Development" and select "Web Standard Tools" and "J2EE Standard Tools". Click on "Select Required" and the other needed items will be selected for you.
| When you are ready, Click "next" and go through the screens to install these features.
| Allow the installer to restart Eclipse if it needs to do this.
| When it is all installed, follow the same process but this time select the option to "Search of updates" rather than get new features. This should ensure you have the latest copy of the installed products.
| Part 2: Configure JBOSS
| Once all the updates are done, go to Preferences, Web Services, Server and Runtime.
| Select the Window Menu, then Show View, Other. Expand Server and select servers. A new tab should open in the bottom part of your screen, marked Servers.
| On the Server area, right mouse click to get a popup menu and select "New", "Server".
| Select JBOSS v4.0 and click Next.
| Set up the JRE to your Java 1.5 (Java 5) JDK. Despite what the label on the screen says it must be an JDK for JBOSS to run properly, not a JRE (runtime version).
| Set the "Application Server Directory" to your jboss directory.
| Follow through the remaining screens. Do not set up any projects on the server.
| You should now have an entry for JBOSS on the server tab. Start jboss by right mouse clicking on the JBOSS row and selecting start.
| One advantage of this method of starting JBOSS from Eclipse (over the older MyEclipse method) is that you can now have more than one 4.0.x version of JBOSS configured on your PC and be able to switch between versions easily. This won't affect many developers but it is handy when we are trying out other versions of JBOSS.
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974139#3974139
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974139
19 years, 7 months
[JBoss jBPM] - BPEL beta2 - JBOSS 4.0.4 - JWSDP?
by KVAK_TNT
Hi there!
in your ant.properties you have the following code:
# JWSDP installation directory
| # optional for JBoss 4.0.4+
| # required for JBoss 4.0.3-
| ##jwsdp.home=C:/entwicklung/sun/jwsdp-1.6
As you see I have commented out the jwsdp installation directory as I am using JBOS 4.0.4+ GA Patch 1
But If I do so - I cannont use the wstools with the following error:
Buildfile: C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\ticket\build.xml
| detect-wsgenerator:
| generate-artifacts:
| wstools:
|
| BUILD FAILED
| C:\EWorkspace\bpel-b2\jbpm.bpel\doc\examples\common\webservice.build.xml:128: The following error occurred while executing this line:
| java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel
|
| Total time: 2 seconds
Whats the reason for?
I have installed JBOSS with default installation options.
Greetings
Claus
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974137#3974137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974137
19 years, 7 months