I have upgraded axis to 1.4 for SRW server in JAFER and running wsdl2java has changed the stubs slightly to remove the array wrapper classes round diagnostics and records etc. However now even though two diagnostics are returned the serialised response class only shows one in the array.
This is the 1.2 stub response from SOAPMonitor
<soapenv:Body>
<searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
<version>9.1</version>
<numberOfRecords lowestSetBit="-1">0</numberOfRecords>
<echoedSearchRetrieveRequest>
<version>9.1</version>
<query>
</query>
<xQuery/>
<startRecord lowestSetBit="0">1</startRecord>
<maximumRecords lowestSetBit="2"
xsi:type="xsd:positiveInteger">20</maximumRecords>
<recordPacking>string</recordPacking>
</echoedSearchRetrieveRequest>
<diagnostics>
<ns1:diagnostic xmlns:ns1="http://www.loc.gov/zing/srw/diagnostic/">
<ns1:uri>info:srw/diagnostic/1/5</ns1:uri>
<ns1:details>1.1</ns1:details>
<ns1:message>Unsupported version</ns1:message>
</ns1:diagnostic>
<ns2:diagnostic xmlns:ns2="http://www.loc.gov/zing/srw/diagnostic/">
<ns2:uri>info:srw/diagnostic/1/7</ns2:uri>
<ns2:details>Query</ns2:details>
<ns2:message>Mandatory parameter not supplied</ns2:message>
</ns2:diagnostic>
</diagnostics>
</searchRetrieveResponse>
</soapenv:Body>
</soapenv:Envelope>
This is the 1.4 response from SOAPMonitor you get this with or without the
deploy mappings in the deploy.wsdd file.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
<version>6.1</version>
<numberOfRecords>0</numberOfRecords>
<echoedSearchRetrieveRequest>
<version>6.1</version>
<query>
</query>
<xQuery/>
</echoedSearchRetrieveRequest>
<diagnostics xsi:type="ns1:diagnosticType"
xmlns:ns1="http://www.loc.gov/zing/srw/diagnostic/">
<ns1:uri>info:srw/diagnostic/1/5</ns1:uri>
<ns1:details>1.1</ns1:details>
<ns1:message>Unsupported version</ns1:message>
</diagnostics>
<diagnostics xsi:type="ns2:diagnosticType"
xmlns:ns2="http://www.loc.gov/zing/srw/diagnostic/">
<ns2:uri>info:srw/diagnostic/1/7</ns2:uri>
<ns2:details>Query</ns2:details>
<ns2:message>Mandatory parameter not supplied</ns2:message>
</diagnostics>
</searchRetrieveResponse>
</soapenv:Body>
</soapenv:Envelope>
I have attached the current deploy script but I'm a bit lost now as to why
the serialisation code is not working. I can only suspect its something to
do with the mappings.
Can you advise?
Andy
deploy.wsdd
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
