• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

weblogic home page sample request not generated

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Given below is portion of XSD for my enum type which is generated
from my java class.
The Error I get is here , any ideas why this would happen.
Thanks in advance.
Pranav.

<!-- Do not know how to create a sample instance for this part due to the following exception:java.lang.InstantiationException: TestPeriodType. Pls replace this with the correct XML before invoking the service. --->


<xsd:simpleType name="TestPeriodType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Day" />
<xsd:enumeration value="Week" />
<xsd:enumeration value="Month" />
<xsd:enumeration value="Year" />
<xsd:enumeration value="Explicit" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TestTerms">
<xsd:sequence>
<xsd:element type="stns:TestPeriodType" name="autoTestFrequency" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd:string" name="TestCurrency" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd:int" name="TestDayOfMonth" minOccurs="1" maxOccurs="1" />
<xsd:element type="xsd:float" name="TestPrice" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd ateTime" name="TestPriceExpire" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd:int" name="dontTestDuration" minOccurs="1" maxOccurs="1" />
<xsd:element type="xsd:int" name="minCommittment" minOccurs="1" maxOccurs="1" />
<xsd:element type="xsd ateTime" name="periodStartDate" minOccurs="1" nillable="true" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
 
reply
    Bookmark Topic Watch Topic
  • New Topic