Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes weblogic home page sample request not generated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "weblogic home page sample request not generated" Watch "weblogic home page sample request not generated" New topic

weblogic home page sample request not generated

pranav pranav

Joined: Mar 28, 2005
Posts: 9
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.

<!-- 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:complexType name="TestTerms">
<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" />
I agree. Here's the link:
subject: weblogic home page sample request not generated
It's not a secret anymore!