You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by tu...@employease.com on 2001/06/11 22:28:11 UTC

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: tushar.dave@employease.com
--------------------------------------------------------------


Re: How can I tell soap 2.2 to use 2001 schema

Posted by Barry Boatfield <ba...@onetel.net.uk>.
How can I tell soap 2.2 to use 2001 schemathe 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:

  a.. 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 ----- 
  From: tushar.dave@employease.com 
  To: soap-user@xml.apache.org 
  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: tushar.dave@employease.com 
  -------------------------------------------------------------- 


Re: How can I tell soap 2.2 to use 2001 schema

Posted by Barry Boatfield <ba...@onetel.net.uk>.
How can I tell soap 2.2 to use 2001 schemathe 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:

  a.. 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 ----- 
  From: tushar.dave@employease.com 
  To: soap-user@xml.apache.org 
  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: tushar.dave@employease.com 
  --------------------------------------------------------------