It looks like this...;

<element name="createAndStartRequestByValueException">
    <complexType>
        <choice>
            <element name="ossIllegalArgumentException"
type="co-v1-5:OssIllegalArgumentException"/>
            <element name="remoteException" type="co-v1-5:RemoteException"/>
            <element name="objectNotFoundException"
type="co-v1-5:ObjectNotFoundException"/>
            <element name="duplicateKeyException"
type="co-v1-5:DuplicateKeyException"/>
            <element name="createException" type="co-v1-5:CreateException"/>
        </choice>
    </complexType>
</element>

As you can see; it has the createExceptionElement as a choice. 

However; the requestKey appears here;

<element name="createAndStartRequestByValueResponse">
    <complexType>
        <sequence>
            <element name="requestKey" type="om-v1-0:RequestKey"  />
        </sequence>
    </complexType>
</element>

... and more about the request (from the wsdl);
<wsdl:operation name="createAndStartRequestByValue">
    <soap:operation soapAction="createAndStartRequestByValue"
style="document"/>
    <wsdl:input name="createAndStartRequestByValueRequest">
        <soap:body parts="parameters" use="literal"/>
    </wsdl:input>
    <wsdl:output name="createAndStartRequestByValueResponse">
        <soap:body parts="parameters" use="literal"/>
    </wsdl:output>
    <wsdl:fault name="createAndStartRequestByValueException">
        <soap:fault name="createAndStartRequestByValueException" use="literal"/>
    </wsdl:fault>
</wsdl:operation>

... It looks ok to me...



dkulp wrote:
> 
> 
> What does the schema look like for the
> createAndStartRequestByValueException 
> element?    From that error message, it looks like 
> createAndStartRequestByValueException is not allowed to have a 
> "createException" child element.   The only expected element is a
> "requestKey" 
> element.   
> 
> Dan
> 
> -- 
> Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog
> 
> 


-----
http://www.knutivars.net www.knutivars.net 
"http://www.knutivars.net/cxf/index.html Document first Apache CXF and
XMLBeans with Spring. 
-- 
View this message in context: 
http://old.nabble.com/Client-side--service-returns-fault--Unmarshalling-Error%3A-unexpected-element-tp27417976p27424872.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to