Hello 

can some one help about this? Could someone generate a service with axis
that takes a string and returns a structure of 

Class retVal{

String cod
String err
String num

}

and try to create a client with axis2?

Many thanks

Best regards


Il giorno ven, 02/10/2009 alle 16.28 +0200, Bartolomeo Nicolotti ha
scritto:
> Hello,
> 
> I don't think that it's an axis2 problem, as I've said
> 
> and also with doc-literal, doc-wrapped, rpc-encoded servers. We've tried
> also with ASP.net and we got the same behaviour. 
> 
> so also ASP.net seems to have the same problem with this wsdl.
> 
> The problem seems the wsdl generated by axis(not2)
> 
> Many thanks
> 
> Best Regards
> 
> Il giorno ven, 02/10/2009 alle 16.05 +0200, [email protected] ha
> scritto:
> > I have the exact same issue. If you search on Google, you will find
> > some bug reports related to this. Not sure whether it has been fixed
> > as I am getting it with the latest 1.5 I believe version.
> > 
> >  
> > 
> > --
> > 
> > Kind Regards
> > 
> > Schalk Neethling
> > 
> > 
> > From: Bartolomeo Nicolotti [mailto:[email protected]] 
> > Sent: 02 October 2009 03:15 PM
> > To: [email protected]
> > Cc: Marco Damilano; Livio Costamagna
> > Subject: axis wsdl not working with axis2
> > 
> > 
> >  
> > 
> > Hello,
> > 
> > we've generated a webservice and  related attached wsdl with axis(not
> > 2) Eclipse 3.2.2 plugin.
> > 
> > The web service is receiving one string and returning 3 strings, very
> > simple.
> > 
> > Then we've used axis2 wsdl2java to generate the client with:
> > 
> > wsdl2java.sh --noBuildXML -S ../../JavaSource -ns2p
> > http://Servizi.Pratica.APWebServices=com.siap.APPraticaXmlClient
> > -uri ./PraticaFromXml.wsdl
> > 
> > The request is correctly received from the server side, the response
> > is received, as the sniffer report, by the client, but we got:
> > 
> > Thu Oct 01 15:13:11 CEST
> > 2009:generaPraticaDaRes.percProvvigioneTotale20091001151201403-1
> > caught an exception: 24442574 org.a
> > pache.axis2.AxisFault
> >  e.toString():org.apache.axis2.AxisFault:
> > org.apache.axis2.databinding.ADBException: Unexpected subelement
> > importaReturn,
> >  e.getMessage():org.apache.axis2.databinding.ADBException: Unexpected
> > subelement importaReturn
> > org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> > com.siap.APPraticaXmlClient.PraticaFromXmlServiceStub.fromOM(PraticaFromXmlServiceStub.java:2200)
> > com.siap.APPraticaXmlClient.PraticaFromXmlServiceStub.importa(PraticaFromXmlServiceStub.java:191)
> > com.siap.TPUtility.TPPraticaAtlanteUtil.generaPraticaDaSIAPDocumentable(TPPraticaAtlanteUtil.java:56)
> > com.siap.DPKWebServices.Util.DynPkgOTAServiceUtil.generaPraticaDaSIAPDocumentable(DynPkgOTAServiceUtil.java:1001)
> > com.siap.DPKWebServices.OTAMessages.WSMH_OTA_HotelRes_Literal.handleMessage(WSMH_OTA_HotelRes_Literal.java:166)
> > com.siap.DPKWebServices.OTAMessages.WSMD_SerialSimple.dispatchWebService_Message(WSMD_SerialSimple.java:31)
> > com.siap.DPKWebServices.Util.DynPkgOTAServiceDispacher.dispatchWebService_Message_internals(DynPkgOTAServiceDispacher.java:15
> > 3)
> > com.siap.DPKWebServices.Util.DynPkgOTAServiceDispacher.dispatchWebService_Message(DynPkgOTAServi
> > 
> > Analogous messages with
> > 
> > -d jaxbri
> > -d xmlbeans
> > 
> > and also with doc-literal, doc-wrapped, rpc-encoded servers. We've
> > tried also with ASP.net and we got the same behaviour. 
> > 
> > The only client that worked was the one generated from the wsdl from
> > axis(not2) Eclipse 3.2.2 plugin.
> > 
> > The problem seems that the response type 
> > 
> > <element name="importaReturn" type="tns1:StructImportOut"/>
> > 
> > is not recognized.
> > 
> > Could  someone have a look at the wsdl and tell us why?
> > 
> > 
> > Many thanks
> > 
> > Best regards
> > 
> >  
> > -- 
> > Bartolomeo Nicolotti
> > SIAP s.r.l.
> > www.siapcn.it
> > v.S.Albano 13 12049
> > Trinità(CN) Italy
> > ph:+39 0172 652553
> > centralino: +39 0172 652511
> > fax: +39 0172 652519
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > AfriGIS e-mail facility may not be used for the distribution of chain
> > letters or offensive email. AfriGIS hereby distances itself from and
> > accepts no liability for the unauthorized use of its e-mail facility
> > or the sending of e-mail communications for other than strictly
> > business purposes. AfriGIS furthermore disclaims liability for any
> > unauthorized instruction for which permission was not granted.
> > Required as per Sec 50 Companies Act 61 of 1973 Afrigis Pty LTD Reg No
> > 1997/0067/1607. 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > AfriGIS e-mail facility may not be used for the distribution of chain
> > letters or offensive email. AfriGIS hereby distances itself from and
> > accepts no liability for the unauthorized use of its e-mail facility
> > or the sending of e-mail communications for other than strictly
> > business purposes. AfriGIS furthermore disclaims liability for any
> > unauthorized instruction for which permission was not granted.
> > Required as per Sec 50 Companies Act 61 of 1973 Afrigis Pty LTD Reg No
> > 1997/0067/1607.
> > 
> > 
> > 
-- 
____________________________________________________________
Bartolomeo Nicolotti - Reparto Sviluppo - SIAP s.r.l.
Via Sant'Albano, 13 - 12049 Trinità (CN) Italy
Tel. (+39) 0172 652511 - Fax (+39) 0172 652519
E-mail: [email protected] - URL: www.siapcn.it
Codice Fiscale, Partita IVA, Iscr. Reg. Imprese di Cuneo: 01871320048
Capitale Sociale: € 99.000,00 i.v. - R.E.A. CN 141311
____________________________________________________________

Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservate e sono, comunque, destinate
esclusivamente alle persone o alla Società sopraindicati. La
comunicazione, diffusione, distribuzione e/o copiatura del documento
trasmesso nonché qualsiasi forma di trattamento dei dati ivi contenuti
da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia
ai sensi dell'art. 616 c.p., che ai sensi del D. Lgs. n. 196/2003, ed in
ogni caso espressamente inibita. Se avete ricevuto questo messaggio per
errore, vi preghiamo di distruggerlo e di informarci immediatamente per
telefono allo 0172/652511 o inviando un messaggio all'indirizzo:
[email protected]
____________________________________________________________

This electronic mail transmission, including any accompanying documents
or attachments, may contain information that is confidential,
privileged, proprietary, or otherwise legally exempt from disclosure and
it's intended solely for the addressee(s).  Access to this Internet
electronic mail message by anyone else is unauthorized.  If you are not
the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it is prohibited and
may be unlawful. If you have received this electronic mail erroneously,
we ask you to to destroy it and let us know immediately by phone
at 0172/652511 or by sending an e-mail at [email protected] 
____________________________________________________________



Reply via email to