Title: How can I tell soap 2.2 to use 2001 schema
I am also curious of how to validate SOAP messages in SOAP4J?  (Just validating against the SOAP Schema for now, if somebody can show me how to make SOAP4J to do the validation against both the SOAP and my business object XML Schemas, that would be awesome!!) 
 
thanks,
___________________________________________________
Ray Weng
Software Engineer,
Ariba Inc.
Ariba Plaza 2.3.202
650.390-2861
[EMAIL PROTECTED]
-----Original Message-----
From: Barry Boatfield [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 11:12 PM
To: [EMAIL PROTECTED]
Subject: Re: How can I tell soap 2.2 to use 2001 schema

the following documentation seems to address this point
 
soap-2_2\docs\guide\interop.html
 

The second type of XML problems are related to XML Schema support. The problem comes with the fact that there are actually three versions of XML Schema in use today: the version with a 1999 URI which was current when the SOAP v1.1 specification first came out in April 2000, the version with a 2000 URI reflecting a "nearly done" version and the recommended specification with a 2001 URI which became final in May 2001. Apache SOAP currently behaves as follows:

  • Built-in serializers for the Java types corresponding to various XML Schema simple types will by default indicate the resulting type using XML Schema from the 1999 namespace. If it is desired to use one of the other schema namespaces in the SOAP envelopes generated by Apache SOAP, then one has to edit org/apache/soap/Constants.java and change the values of the constants NS_URI_CURRENT_SCHEMA_XSI and NS_URI_CURRENT_SCHEMA_XSD to the selected ones (indicated right before these constants). Once built, the resulting system will generate SOAP envelopes using the desired target namespace

----- Original Message -----
Sent: Monday, June 11, 2001 1:28 PM
Subject: How can I tell soap 2.2 to use 2001 schema


By default the soap 2.2 library is based of XML Schema instance http://www.w3.org/1999/XMLSchema-instance.
I need this library to work of the August 2000 Candidate Recommendation. Can I do that. If so how?
Tahnks for your help
--------------------------------------------------------------
Tushar Dave
Employease Inc.
Phone: 404-949-8833 (NEW)
Email: [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to