To whom it may concern,

we've a web service created with axis (not two), that's fine :-D

we're calling this web service from another project that's using axis2.

So we've generated a client with this axis2 command (jaxbri
databinding):

wsdl2java.sh --noBuildXML -S ../../JavaSource -ns2p
http://Servizi.Anagrafiche.APWebServices=com.siap.APAnagraficaHotelClient -d 
jaxbri -uri ./WebServicesHotel.wsdl

We've had a problem and sniffing the http communication the axis web
service is replying with:

<?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>
    <ns1:gestioneAnagraficaHotelResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://Servizi.Anagrafiche.APWebServices";>
      <gestioneAnagraficaHotelReturn href="#id0" />
    </ns1:gestioneAnagraficaHotelResponse>
    <multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="ns2:StructAnaHotelOut"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns2="http://Strutture.Anagrafiche.APWebServices";>
      <anaHotel xsi:type="ns2:StructAnaHotel" xsi:nil="true" />
      <azioneEseguita xsi:type="xsd:string"></azioneEseguita>
      <esito href="#id1" />
    </multiRef>
    <multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="ns3:StructEsito"
xmlns:ns3="http://Strutture.WebServices.siap.com";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
      <messaggio xsi:type="xsd:string">GESTIONE_ANAGRAFICA_HOTEL -
VALIDAZIONE_DATI_INPUT - Valore campo flagInvioDocEmail in
APWebServices.Anagrafiche.Strutture.StructAnaHotel non valido (valori
possibili: "Y" - "N" - valore campo in input:
      "")</messaggio>
      <stato xsi:type="xsd:string">KO</stato>
    </multiRef>
  </soapenv:Body>
</soapenv:Envelope>

but then if we marshall the object received we've only this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:gestioneAnagraficaHotelResponse
xmlns:ns2="http://Servizi.Anagrafiche.APWebServices";>
    <gestioneAnagraficaHotelReturn>
        <anaHotel xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
        <azioneEseguita xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
        <esito xsi:nil="true" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </gestioneAnagraficaHotelReturn>
</ns2:gestioneAnagraficaHotelResponse>

Could some one help us?

Many thanks




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to