Groups > Weblogic > WebLogic Webservices > Web Service WLS9.2 and WLS6.1 SOAP compatibility




Web Service WLS9.2 and WLS6.1 SOAP compatibility

Web Service WLS9.2 and WLS6.1 SOAP compatibility
Tue, 27 Nov 2007 05:34:58 -080
We have a Web Service (running on WLS6.1) which has been published for a long
time, and many customers have developed their own clients.

Now we must upgrade our Web Service from WLS6.1 to WLS9.2. In practice we had to
re-develope the Web Service starting form the original WSDL. 

The new WSDL is identical to the original one, and the business code inside has
obviously been kept the same.
The new Java Test Client that we generated with clientgen (WLS92) works fine,
but we need to guarantee total compatibility for all the clients developed for
the 6.1 version.
 
Unfortunately testing our new Web Service (WLS9.2) with our old java Client
(developed with WLS6.1), we found that the SOAP implementation of arrays has
changed, and therefore the old client is not compatible with the new Web
Services.

Is this a known issue? Is there a workaround or a solution to this problem?

== WLS6.1 array "listaPacchetti " SOAP implementation  ==
[pre]<listaPacchetti xsi:type='SOAP-ENC:Array'
xmlns:bean='java:smash.webservices.bean'
SOAP-ENC:arrayType='bean:PacchettoBean[2]'>
<item xsi:type='bean:PacchettoBean' xmlns:bean='java:smash.webservices.bean'
>
<numeroSmsResidui xsi:type='xsd:int'>2908</numeroSmsResidui>
<flagOnOffNet xsi:type='xsd:int'>1</flagOnOffNet>
<numeroSmsIniziali xsi:type='xsd:int'>4000</numeroSmsIniziali>
<idPacchetto xsi:type='xsd:string'>9693</idPacchetto>
<cessato xsi:type='xsd:int'>0</cessato>
<dataScadenza xsi:type='xsd:string'>28-02-2008</dataScadenza>
</item>
<item xsi:type='bean:PacchettoBean' xmlns:bean='java:smash.webservices.bean'
>
<numeroSmsResidui xsi:type='xsd:int'>1866</numeroSmsResidui>
<flagOnOffNet xsi:type='xsd:int'>0</flagOnOffNet>
<numeroSmsIniziali xsi:type='xsd:int'>2000</numeroSmsIniziali>
<idPacchetto xsi:type='xsd:string'>9694
</idPacchetto>
<cessato xsi:type='xsd:int'>0</cessato>
<dataScadenza xsi:type='xsd:string'>28-02-2008</dataScadenza>
</item>
</listaPacchetti>[/pre]
== WLS9.2 array "listaPacchetti " SOAP implementation ==
[pre]<listaPacchetti>
<numeroSmsResidui>2908</numeroSmsResidui>
<flagOnOffNet>1</flagOnOffNet>
<numeroSmsIniziali>4000</numeroSmsIniziali>
<idPacchetto>9693</idPacchetto>
<cessato>0</cessato>
<dataScadenza>28-02-2008</dataScadenza>
</listaPacchetti>
<listaPacchetti>
<numeroSmsResidui>1866</numeroSmsResidui>
<flagOnOffNet>0</flagOnOffNet>
<numeroSmsIniziali>2000</numeroSmsIniziali>
<idPacchetto>9694</idPacchetto>
<cessato>0</cessato>
<dataScadenza>28-02-2008</dataScadenza>
</listaPacchetti>[/pre]

Any help will be appreciated!
Thank you
Post Reply
about | contact