the CVS source of axis has a castor serializer; castor does validate against
the schema.

----- Original Message -----
From: "Naveen Srinivasa Murthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 7:08 AM
Subject: RE: help - axis and schema validation


> Can you suggest an alternative as to how I
> can achieve this?
>
> Naveen
>
>
> -----Original Message-----
> From: Tom Jordahl [mailto:tomj@;macromedia.com]
> Sent: Friday, October 18, 2002 10:03 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: help - axis and schema validation
> Sensitivity: Confidential
>
>
>
> Axis does not do this.
>
> --
> Tom Jordahl
> Macromedia Server Development
>
> -----Original Message-----
> From: Naveen Srinivasa Murthy [mailto:nmurthy@;datalinx.net]
> Sent: Friday, October 18, 2002 10:00 AM
> To: [EMAIL PROTECTED]
> Subject: help - axis and schema validation
> Importance: High
> Sensitivity: Confidential
>
>
>
>
> I want to know whether the Service and Call objects
> provided by axis, can somehow do a schema validation
> of a webservice input parameter before Webservice invocation.
>
> consider this part of my wsdl
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions
>
targetNamespace="http://localhost/axis/services/MyService/axis/services/MySe
> rvice" xmlns="http://schemas.xmlsoap.org/wsdl/";
> xmlns:apachesoap="http://xml.apache.org/xml-soap";
>
xmlns:impl="http://localhost/axis/services/MyService/axis/services/MyService
> -impl"
>
xmlns:intf="http://localhost/axis/services/MyService/axis/services/MyService
> " xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:esxsd="http://naveen.com/myxml.xsd";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   <wsdl:message name="serviceMethodResponse">
>     <wsdl:part name="return" type="xsd:string"/>
>   </wsdl:message>
>   <wsdl:message name="serviceMethodRequest">
>     <wsdl:part name="arg" element="esxsd:ROOT"/>
>     <wsdl:part name="arg2" type="xsd:string"/>
>
>
> the input param 'arg' is supposed be an xml conforming
>
> to the 'ROOT' element in the http://naveen.com/myxml.xsd schema.
>
>
>
> I m calling my webservice using a Service and Call objects
>
> and im providing the WSDL url to the Service obj during the WS
>
> call. Is the Call object supposed to automatically validate
>
> the input against http://naveen.com/myxml.xsd schema? If not can
>
> I achieve this?
>
>
>
> Please let me know...
>
>
>
> thanks
>
> Naveen
>
>

Reply via email to