I had a similar problem. The server used SOAP::Lite, originally, and was
translated into Java keeping all headers and XML exact. All the tools
(SOAPScope, XMLSpy) complained about the schema version. I was using
Axis 1.2rc3 and, as I recall, WSDL2Java didn't run for me (the WSDL used
xsd:dateTime, which isn't actually *in* schema 1999). The switch to 2001
was painless and seems only to have made everything happy.

As far as I can tell, Schema 1999 is deprecated and 'bad'.

Chris

-----Original Message-----
From: Jayaraman, Venkatesh [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 04, 2005 10:06
To: [email protected]
Subject: RE: AXIS reaponse on array and duplicate attributes

Let me answer my own question posted here...;D
 
Our Test Client Request has 2001 Schemas in the name spaces

        xmlns:xsd="http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema> " 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> "
        

 
 
Perl Client Requests had 1999 schemas  in the name spaces
 

        xmlns:xsd="http://www.w3.org/1999/XMLSchema
<http://www.w3.org/1999/XMLSchema> " 
        xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance
<http://www.w3.org/1999/XMLSchema-instance> "
        

We asked to correct the perl client with 2001 schema references then all
worked correctly.
 
 
Any one know why AXIS does not behave properly when 1999 schemas
referenced in request?
 
 ( Easy answer could be TOO OLD shemas )
 
Have Fun ...;D
 
-Venky
 
 
 

________________________________

From: Jayaraman, Venkatesh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 3:20 PM
To: [email protected]
Subject: AXIS reaponse on array and duplicate attributes


Hello ,I am using AXIS 1.2 RC3 . I am seeing this duplicate attributes
in the AXIS response . 
 
Any help is greatly appreciated
 
 
 
 

        <?xml version="1.0" encoding="utf-8"?>
        <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
<http://schemas.xmlsoap.org/soap/envelope/> "
xmlns:xsd="http://www.w3.org/1999/XMLSchema
<http://www.w3.org/1999/XMLSchema> "
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance
<http://www.w3.org/1999/XMLSchema-instance> ">
            <soapenv:Body>
                <ns1:PerfmonListCounterResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
<http://schemas.xmlsoap.org/soap/encoding/> "
xmlns:ns1="http://schemas.cisco.com/ast/soap/
<http://schemas.cisco.com/ast/soap/> ">
                    <ArrayOfObjectInfo
soapenc:arrayType="ns1:ObjectInfoType[56]" xsi:type="soapenc:Array"
xsi:type="ns1:ArrayOfObjectInfoType"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
<http://schemas.xmlsoap.org/soap/encoding/> "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> ">
                        <item xsi:type="ns1:ObjectInfoType">
                            <Name xsi:type="ns1:ObjectNameType">My
Sample Service</Name>
                            <MultiInstance xsi:type="ns2:boolean"
xmlns:ns2="http://www.w3.org/2001/XMLSchema";>false</MultiInstance
<http://www.w3.org/2001/XMLSchema";>false</MultiInstance> >
                            <ArrayOfCounter
soapenc:arrayType="ns1:CounterType[84]" xsi:type="soapenc:Array"
xsi:type="soapenc:Array"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> ">
                                <item xsi:type="ns1:CounterType">
        

   
                                     
-Venky

Reply via email to