You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by venuireddy <ve...@gmail.com> on 2009/04/24 16:52:03 UTC

Problem with enabling Schema Validation

Hi,

At our project we have some problems with message validation. We user the
java first approach with annotations
and let CXF create the wsdl/webservice. When we enable validation and send
in a valid message (SoapUI says the message
is valid with the wsdl) then we get an error message. Apparantly the CXF
creates an error for this valid message and we
would like to know what we did wrong and how we can solve it.

validation fails with the following error message:

<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the declaration of
element 'Activating'.</faultstring>
</soap:Fault>

We use the following annotations with the Java class

@WebService
@SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL)

And enable the XML Schema Validation as follows 

<jaxws:endpoint id="testGateway"
		implementor="#testWebService"
		implementorClass="TestWebService"
		address="/testwebservice">
	<jaxws:properties>
  	<entry key="schema-validation-enabled" value="true" />
	</jaxws:properties>>
</jaxws:endpoint>

Is there anybody who can explain this behavior or point me into a direction
on how to fix it ?

Thanks in advance

Regards,
Venu.


-- 
View this message in context: http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23218029.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Problem with enabling Schema Validation

Posted by venuireddy <ve...@gmail.com>.
Sorry it was typo.

Regards,
Venu.


Andrew Clegg-2 wrote:
> 
> The error you originally posted said:
> 
> <soap:Fault>
> <faultcode>soap:Client</faultcode>
> <faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the declaration
> of
> element 'Activating'.</faultstring>
> </soap:Fault>
> 
> but the closest element name in this WSDL is 'Activeren'. Typo?
> 
> Andrew.
> 
> 2009/4/24 venuireddy <ve...@gmail.com>:
>>
>> It's a bit difficult to provide the real wsdl (because of
>> confidentiality) so
>> here is derived version
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <wsdl:definitions name="CvWebServiceService"
>> targetNamespace="http://gateway.test.company.nl/"
>> xmlns:tns="http://gateway.test.company.nl/"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>>  <wsdl:types>
>> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> xmlns="http://gateway.test.company.nl/"
>> attributeFormDefault="unqualified"
>> elementFormDefault="unqualified"
>> targetNamespace="http://gateway.test.company.nl/">
>> <xs:complexType name="activering">
>> <xs:sequence>
>> <xs:element name="accountReferentie" type="xs:string"/>
>> </xs:sequence>
>> </xs:complexType>
>> <xs:element name="ophalenVersie" type="ophalenVersie"/>
>> <xs:complexType name="ophalenVersie">
>> <xs:sequence/>
>> </xs:complexType>
>> <xs:element name="ophalenVersieResponse" type="ophalenVersieResponse"/>
>> <xs:complexType name="ophalenVersieResponse">
>> <xs:sequence>
>> <xs:element minOccurs="0" name="versie" type="xs:string"/>
>> </xs:sequence>
>> </xs:complexType>
>> <xs:element name="activeren" type="activeren"/>
>> <xs:complexType name="activeren">
>> <xs:sequence>
>> <xs:element minOccurs="0" name="Activering" type="activering"/>
>> </xs:sequence>
>> </xs:complexType>
>> <xs:element name="activerenResponse" type="activerenResponse"/>
>> <xs:complexType name="activerenResponse">
>> <xs:sequence/>
>> </xs:complexType>
>> </xs:schema>
>>  </wsdl:types>
>>  <wsdl:message name="ophalenVersie">
>>    <wsdl:part name="parameters" element="tns:ophalenVersie">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:message name="ophalenVersieResponse">
>>    <wsdl:part name="parameters" element="tns:ophalenVersieResponse">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:message name="activeren">
>>    <wsdl:part name="parameters" element="tns:activeren">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:message name="activerenResponse">
>>    <wsdl:part name="parameters" element="tns:activerenResponse">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:portType name="TestService">
>>    <wsdl:operation name="ophalenVersie">
>>      <wsdl:input name="ophalenVersie" message="tns:ophalenVersie">
>>    </wsdl:input>
>>      <wsdl:output name="ophalenVersieResponse"
>> message="tns:ophalenVersieResponse">
>>    </wsdl:output>
>>    </wsdl:operation>
>>    <wsdl:operation name="activeren">
>>      <wsdl:input name="activeren" message="tns:activeren">
>>    </wsdl:input>
>>      <wsdl:output name="activerenResponse"
>> message="tns:activerenResponse">
>>    </wsdl:output>
>>    </wsdl:operation>
>>  </wsdl:portType>
>>  <wsdl:binding name="WebServiceServiceSoapBinding"
>> type="tns:TestService">
>>    <soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http"/>
>>    <wsdl:operation name="ophalenVersie">
>>      <soap:operation soapAction="" style="document"/>
>>      <wsdl:input name="ophalenVersie">
>>        <soap:body use="literal"/>
>>      </wsdl:input>
>>      <wsdl:output name="ophalenVersieResponse">
>>        <soap:body use="literal"/>
>>      </wsdl:output>
>>    </wsdl:operation>
>>    <wsdl:operation name="activeren">
>>      <soap:operation soapAction="" style="document"/>
>>      <wsdl:input name="activeren">
>>        <soap:body use="literal"/>
>>      </wsdl:input>
>>      <wsdl:output name="activerenResponse">
>>        <soap:body use="literal"/>
>>      </wsdl:output>
>>    </wsdl:operation>
>>  </wsdl:binding>
>>  <wsdl:service name="WebServiceService">
>>    <wsdl:port name="TestServicePort"
>> binding="tns:WebServiceServiceSoapBinding">
>>      <soap:address location="http://localhost:9090/TestServicePort"/>
>>    </wsdl:port>
>>  </wsdl:service>
>> </wsdl:definitions>
>>
>>
>> The message
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:gat="http://gateway.test.company.nl/">
>>   <soapenv:Header/>
>>   <soapenv:Body>
>>      <gat:activeren>
>>         <Activering>
>>            <accountReferentie>?</accountReferentie>
>>         </Activering>
>>      </gat:activeren>
>>   </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>>
>>
>> Andrew Clegg-2 wrote:
>>>
>>> 2009/4/24 venuireddy <ve...@gmail.com>:
>>>
>>>> Is there anybody who can explain this behavior or point me into a
>>>> direction
>>>> on how to fix it ?
>>>
>>> It's a bit difficult if you don't post your WSDL or an example message
>>> that causes the error :-)
>>>
>>> Andrew.
>>>
>>> --
>>> :: http://biotext.org.uk/ ::
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23218429.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> :: http://biotext.org.uk/ ::
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23250932.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Problem with enabling Schema Validation

Posted by venuireddy <ve...@gmail.com>.
Sorry it was typo, and corrected this, but we still get the error message.

The error message is as follows, 

<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the declaration of
element 'Activeren'.</faultstring>
</soap:Fault>


Thanks,
Venu.


Andrew Clegg-2 wrote:
> 
> The error you originally posted said:
> 
> <soap:Fault>
> <faultcode>soap:Client</faultcode>
> <faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the declaration
> of
> element 'Activating'.</faultstring>
> </soap:Fault>
> 
> but the closest element name in this WSDL is 'Activeren'. Typo?
> 
> Andrew.
> 
> 2009/4/24 venuireddy <ve...@gmail.com>:
>>
>> It's a bit difficult to provide the real wsdl (because of
>> confidentiality) so
>> here is derived version
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <wsdl:definitions name="CvWebServiceService"
>> targetNamespace="http://gateway.test.company.nl/"
>> xmlns:tns="http://gateway.test.company.nl/"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>>  <wsdl:types>
>> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> xmlns="http://gateway.test.company.nl/"
>> attributeFormDefault="unqualified"
>> elementFormDefault="unqualified"
>> targetNamespace="http://gateway.test.company.nl/">
>> <xs:complexType name="activering">
>> <xs:sequence>
>> <xs:element name="accountReferentie" type="xs:string"/>
>> </xs:sequence>
>> </xs:complexType>
>> <xs:element name="ophalenVersie" type="ophalenVersie"/>
>> <xs:complexType name="ophalenVersie">
>> <xs:sequence/>
>> </xs:complexType>
>> <xs:element name="ophalenVersieResponse" type="ophalenVersieResponse"/>
>> <xs:complexType name="ophalenVersieResponse">
>> <xs:sequence>
>> <xs:element minOccurs="0" name="versie" type="xs:string"/>
>> </xs:sequence>
>> </xs:complexType>
>> <xs:element name="activeren" type="activeren"/>
>> <xs:complexType name="activeren">
>> <xs:sequence>
>> <xs:element minOccurs="0" name="Activering" type="activering"/>
>> </xs:sequence>
>> </xs:complexType>
>> <xs:element name="activerenResponse" type="activerenResponse"/>
>> <xs:complexType name="activerenResponse">
>> <xs:sequence/>
>> </xs:complexType>
>> </xs:schema>
>>  </wsdl:types>
>>  <wsdl:message name="ophalenVersie">
>>    <wsdl:part name="parameters" element="tns:ophalenVersie">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:message name="ophalenVersieResponse">
>>    <wsdl:part name="parameters" element="tns:ophalenVersieResponse">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:message name="activeren">
>>    <wsdl:part name="parameters" element="tns:activeren">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:message name="activerenResponse">
>>    <wsdl:part name="parameters" element="tns:activerenResponse">
>>    </wsdl:part>
>>  </wsdl:message>
>>  <wsdl:portType name="TestService">
>>    <wsdl:operation name="ophalenVersie">
>>      <wsdl:input name="ophalenVersie" message="tns:ophalenVersie">
>>    </wsdl:input>
>>      <wsdl:output name="ophalenVersieResponse"
>> message="tns:ophalenVersieResponse">
>>    </wsdl:output>
>>    </wsdl:operation>
>>    <wsdl:operation name="activeren">
>>      <wsdl:input name="activeren" message="tns:activeren">
>>    </wsdl:input>
>>      <wsdl:output name="activerenResponse"
>> message="tns:activerenResponse">
>>    </wsdl:output>
>>    </wsdl:operation>
>>  </wsdl:portType>
>>  <wsdl:binding name="WebServiceServiceSoapBinding"
>> type="tns:TestService">
>>    <soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http"/>
>>    <wsdl:operation name="ophalenVersie">
>>      <soap:operation soapAction="" style="document"/>
>>      <wsdl:input name="ophalenVersie">
>>        <soap:body use="literal"/>
>>      </wsdl:input>
>>      <wsdl:output name="ophalenVersieResponse">
>>        <soap:body use="literal"/>
>>      </wsdl:output>
>>    </wsdl:operation>
>>    <wsdl:operation name="activeren">
>>      <soap:operation soapAction="" style="document"/>
>>      <wsdl:input name="activeren">
>>        <soap:body use="literal"/>
>>      </wsdl:input>
>>      <wsdl:output name="activerenResponse">
>>        <soap:body use="literal"/>
>>      </wsdl:output>
>>    </wsdl:operation>
>>  </wsdl:binding>
>>  <wsdl:service name="WebServiceService">
>>    <wsdl:port name="TestServicePort"
>> binding="tns:WebServiceServiceSoapBinding">
>>      <soap:address location="http://localhost:9090/TestServicePort"/>
>>    </wsdl:port>
>>  </wsdl:service>
>> </wsdl:definitions>
>>
>>
>> The message
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:gat="http://gateway.test.company.nl/">
>>   <soapenv:Header/>
>>   <soapenv:Body>
>>      <gat:activeren>
>>         <Activering>
>>            <accountReferentie>?</accountReferentie>
>>         </Activering>
>>      </gat:activeren>
>>   </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>>
>>
>> Andrew Clegg-2 wrote:
>>>
>>> 2009/4/24 venuireddy <ve...@gmail.com>:
>>>
>>>> Is there anybody who can explain this behavior or point me into a
>>>> direction
>>>> on how to fix it ?
>>>
>>> It's a bit difficult if you don't post your WSDL or an example message
>>> that causes the error :-)
>>>
>>> Andrew.
>>>
>>> --
>>> :: http://biotext.org.uk/ ::
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23218429.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> :: http://biotext.org.uk/ ::
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23255554.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Problem with enabling Schema Validation

Posted by Andrew Clegg <an...@nervechannel.com>.
The error you originally posted said:

<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the declaration of
element 'Activating'.</faultstring>
</soap:Fault>

but the closest element name in this WSDL is 'Activeren'. Typo?

Andrew.

2009/4/24 venuireddy <ve...@gmail.com>:
>
> It's a bit difficult to provide the real wsdl (because of confidentiality) so
> here is derived version
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions name="CvWebServiceService"
> targetNamespace="http://gateway.test.company.nl/"
> xmlns:tns="http://gateway.test.company.nl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>  <wsdl:types>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns="http://gateway.test.company.nl/" attributeFormDefault="unqualified"
> elementFormDefault="unqualified"
> targetNamespace="http://gateway.test.company.nl/">
> <xs:complexType name="activering">
> <xs:sequence>
> <xs:element name="accountReferentie" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> <xs:element name="ophalenVersie" type="ophalenVersie"/>
> <xs:complexType name="ophalenVersie">
> <xs:sequence/>
> </xs:complexType>
> <xs:element name="ophalenVersieResponse" type="ophalenVersieResponse"/>
> <xs:complexType name="ophalenVersieResponse">
> <xs:sequence>
> <xs:element minOccurs="0" name="versie" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> <xs:element name="activeren" type="activeren"/>
> <xs:complexType name="activeren">
> <xs:sequence>
> <xs:element minOccurs="0" name="Activering" type="activering"/>
> </xs:sequence>
> </xs:complexType>
> <xs:element name="activerenResponse" type="activerenResponse"/>
> <xs:complexType name="activerenResponse">
> <xs:sequence/>
> </xs:complexType>
> </xs:schema>
>  </wsdl:types>
>  <wsdl:message name="ophalenVersie">
>    <wsdl:part name="parameters" element="tns:ophalenVersie">
>    </wsdl:part>
>  </wsdl:message>
>  <wsdl:message name="ophalenVersieResponse">
>    <wsdl:part name="parameters" element="tns:ophalenVersieResponse">
>    </wsdl:part>
>  </wsdl:message>
>  <wsdl:message name="activeren">
>    <wsdl:part name="parameters" element="tns:activeren">
>    </wsdl:part>
>  </wsdl:message>
>  <wsdl:message name="activerenResponse">
>    <wsdl:part name="parameters" element="tns:activerenResponse">
>    </wsdl:part>
>  </wsdl:message>
>  <wsdl:portType name="TestService">
>    <wsdl:operation name="ophalenVersie">
>      <wsdl:input name="ophalenVersie" message="tns:ophalenVersie">
>    </wsdl:input>
>      <wsdl:output name="ophalenVersieResponse"
> message="tns:ophalenVersieResponse">
>    </wsdl:output>
>    </wsdl:operation>
>    <wsdl:operation name="activeren">
>      <wsdl:input name="activeren" message="tns:activeren">
>    </wsdl:input>
>      <wsdl:output name="activerenResponse" message="tns:activerenResponse">
>    </wsdl:output>
>    </wsdl:operation>
>  </wsdl:portType>
>  <wsdl:binding name="WebServiceServiceSoapBinding" type="tns:TestService">
>    <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>    <wsdl:operation name="ophalenVersie">
>      <soap:operation soapAction="" style="document"/>
>      <wsdl:input name="ophalenVersie">
>        <soap:body use="literal"/>
>      </wsdl:input>
>      <wsdl:output name="ophalenVersieResponse">
>        <soap:body use="literal"/>
>      </wsdl:output>
>    </wsdl:operation>
>    <wsdl:operation name="activeren">
>      <soap:operation soapAction="" style="document"/>
>      <wsdl:input name="activeren">
>        <soap:body use="literal"/>
>      </wsdl:input>
>      <wsdl:output name="activerenResponse">
>        <soap:body use="literal"/>
>      </wsdl:output>
>    </wsdl:operation>
>  </wsdl:binding>
>  <wsdl:service name="WebServiceService">
>    <wsdl:port name="TestServicePort"
> binding="tns:WebServiceServiceSoapBinding">
>      <soap:address location="http://localhost:9090/TestServicePort"/>
>    </wsdl:port>
>  </wsdl:service>
> </wsdl:definitions>
>
>
> The message
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:gat="http://gateway.test.company.nl/">
>   <soapenv:Header/>
>   <soapenv:Body>
>      <gat:activeren>
>         <Activering>
>            <accountReferentie>?</accountReferentie>
>         </Activering>
>      </gat:activeren>
>   </soapenv:Body>
> </soapenv:Envelope>
>
>
>
>
> Andrew Clegg-2 wrote:
>>
>> 2009/4/24 venuireddy <ve...@gmail.com>:
>>
>>> Is there anybody who can explain this behavior or point me into a
>>> direction
>>> on how to fix it ?
>>
>> It's a bit difficult if you don't post your WSDL or an example message
>> that causes the error :-)
>>
>> Andrew.
>>
>> --
>> :: http://biotext.org.uk/ ::
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23218429.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>



-- 
:: http://biotext.org.uk/ ::

Re: Problem with enabling Schema Validation

Posted by venuireddy <ve...@gmail.com>.
It's a bit difficult to provide the real wsdl (because of confidentiality) so
here is derived version

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="CvWebServiceService"
targetNamespace="http://gateway.test.company.nl/"
xmlns:tns="http://gateway.test.company.nl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://gateway.test.company.nl/" attributeFormDefault="unqualified"
elementFormDefault="unqualified"
targetNamespace="http://gateway.test.company.nl/">
<xs:complexType name="activering">
<xs:sequence>
<xs:element name="accountReferentie" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ophalenVersie" type="ophalenVersie"/>
<xs:complexType name="ophalenVersie">
<xs:sequence/>
</xs:complexType>
<xs:element name="ophalenVersieResponse" type="ophalenVersieResponse"/>
<xs:complexType name="ophalenVersieResponse">
<xs:sequence>
<xs:element minOccurs="0" name="versie" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="activeren" type="activeren"/>
<xs:complexType name="activeren">
<xs:sequence>
<xs:element minOccurs="0" name="Activering" type="activering"/>
</xs:sequence>
</xs:complexType>
<xs:element name="activerenResponse" type="activerenResponse"/>
<xs:complexType name="activerenResponse">
<xs:sequence/>
</xs:complexType>
</xs:schema>
  </wsdl:types>
  <wsdl:message name="ophalenVersie">
    <wsdl:part name="parameters" element="tns:ophalenVersie">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ophalenVersieResponse">
    <wsdl:part name="parameters" element="tns:ophalenVersieResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="activeren">
    <wsdl:part name="parameters" element="tns:activeren">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="activerenResponse">
    <wsdl:part name="parameters" element="tns:activerenResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="TestService">
    <wsdl:operation name="ophalenVersie">
      <wsdl:input name="ophalenVersie" message="tns:ophalenVersie">
    </wsdl:input>
      <wsdl:output name="ophalenVersieResponse"
message="tns:ophalenVersieResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="activeren">
      <wsdl:input name="activeren" message="tns:activeren">
    </wsdl:input>
      <wsdl:output name="activerenResponse" message="tns:activerenResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="WebServiceServiceSoapBinding" type="tns:TestService">
    <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="ophalenVersie">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="ophalenVersie">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="ophalenVersieResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="activeren">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="activeren">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="activerenResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="WebServiceService">
    <wsdl:port name="TestServicePort"
binding="tns:WebServiceServiceSoapBinding">
      <soap:address location="http://localhost:9090/TestServicePort"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>


The message 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:gat="http://gateway.test.company.nl/">
   <soapenv:Header/>
   <soapenv:Body>
      <gat:activeren>
         <Activering>
            <accountReferentie>?</accountReferentie>
         </Activering>
      </gat:activeren>
   </soapenv:Body>
</soapenv:Envelope>




Andrew Clegg-2 wrote:
> 
> 2009/4/24 venuireddy <ve...@gmail.com>:
> 
>> Is there anybody who can explain this behavior or point me into a
>> direction
>> on how to fix it ?
> 
> It's a bit difficult if you don't post your WSDL or an example message
> that causes the error :-)
> 
> Andrew.
> 
> -- 
> :: http://biotext.org.uk/ ::
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-enabling-Schema-Validation-tp23218029p23218429.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Problem with enabling Schema Validation

Posted by Andrew Clegg <an...@nervechannel.com>.
2009/4/24 venuireddy <ve...@gmail.com>:

> Is there anybody who can explain this behavior or point me into a direction
> on how to fix it ?

It's a bit difficult if you don't post your WSDL or an example message
that causes the error :-)

Andrew.

-- 
:: http://biotext.org.uk/ ::