I get this error on my application when i try to run in "Tomcat", in WEBrick works fine:
SEVERE: Application Error
org.jruby.rack.RackInitializationException: wrong # of arguments(0 for 1)
from /home/gpereira/apache/apache-tomcat-6.0.18/webapps/vtsbackoffice/WEB-INF/app/controllers/application_controller.rb:5
and in line 5 i h...
Given a schema such as this:
<xs:element name="Group" type="GroupType"/>
<xs:complexType name="GroupType">
<xs:sequence>
<xs:element type="OptionsType" name="Options" maxOccurs="1" minOccurs="1"/>
<xs:element type="PageContainerType" name="PageContainer" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:...
Hello,
I use CXF to generate the classes from WSDL but I don't know how to access the following field :
<s:complexType name="text-with-layout-type" mixed="true">
<s:sequence>
<s:any minOccurs="0" maxOccurs="unbounded"/>
</s:sequence>
<s:attribute name="L" type="s:string"/>
</s:complexType>
The resulting class is :
@XmlAccessorType(X...
Hi
I am able to crate java class using jaxb xjc with java.util.List.
How to create the same class with java.util.Set ?
I like create the java class as follows.
protected Set<ActivitiesByType> activitiesByType;
public Set<ActivitiesByType> getActivitiesByType() {
if (activitiesByType == null) {
activitiesByType = new HashS...
Hi
I have a schema with following attributes in schema element:
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:abc="http://abc.example.com" targetNamespace="http://abc.example.com" elementFormDefault="qualified" attributeFormDefault="unqualified">
I could compile it and get java classes. Using these classes, I filled in data ...
I have some common types which are defined in an xsd file which is then later bundled as a jar file. I have this jar file in my classpath and I want to include this xsd into another xsd to use those types. How to refer the schema in a jar file? Also I want to create JAXB objects from the new schema is it possible. Also I want to use this...
I'm trying to produce something like this with JAXB:
<person>
<firstName>Foo</firstName>
<lastName>Bar</lastName>
<identities>
<green id="greenId">
<some_elements....
</green>
<blue id="blueId"/>
</identities>
The child elements of <identities> all stem from a common super-class.
In Jav...
XJC seems to be completely ignoring mixed="true" on my XML Schema elements thereby not allowing me to extract text content. From the sample XML below, I need to be able to extract "Title Text." Without mixed="true" being recognized, no accessor is created nor is it unmarshalled from XML:
<?xml version="1.0" encoding="UTF-8"?>
<title xml...
The problem that I am trying to solve is that JAXB cannot handle the parent and inherited objects of the same name in different namespaces.
I have two schemas:
schemaA.xsd
<xs:schema xmlns:A="...">
<xs:complexType name="mytype">
...
schemaB.xsd
<xs:schema xmlns:B="..." xmlns:A="...">
<xs:import namespace="..." schemaLocation="schem...
In Spring Roo I used this tutorial with my custom xsd to generate objects.
After that I used command controller all ~.web, controller is generated but without CRUD functions.
If I make manual objects in Roo controller with CRUD functions is generated. Any idea what is the problem?
Schema file xsd is in my case important for REST data exc...