File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
changing xml request version from 1.0 to 1.1
Joined: Aug 22, 2012
Aug 22, 2012 08:19:07
Till now we have been using
<?xml version="1.0" encoding="UTF-8"?> <request version="1.0">
with schema specification as
<xs:element name="request"> <xs:attribute name="version" use="required" type="xs:string"/>
Now we are introducing 1.1 request version along with 1.0. Depending on the input request version number, application should pick the corresponding schema.
<?xml version="1.0" encoding="UTF-8"?> <request version="1.1">
The schema specification for version remains the same.
I developed my application which checks the incoming version and picks the schema file accordinglyand its working as expected locally with
5.1 server. But when I deploy to Dev its giving me
<?xml version="1.0" encoding="UTF-8"?><response version="1.0"><queryAck><queryId extension="857259" /><queryResponseCode code="4004" /><resultCurrentQuantity value="0" /><resultRemainingQuantity value="0" /><queryResponseMessage>Not a valid version number.</queryResponseMessage></queryAck></response>
Can any one help me if I need to change the schema specification to specifially match 1.1??
I agree. Here's the link:
subject: changing xml request version from 1.0 to 1.1
Struts1+Hibernate+Tomcat and encoding problem
spring security 3.1 login not working.
problem in ResourceBundleViewResolver
Does Spring framework supported by godaddy shared linux hosting
.Net Client for Axis Web services
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014