Hi, I have a problem using Axis APIs to call a wrapped web service. The problem seems to be in the fact that the soap message does not have namespaces declarations.
My java code is: Service service = new Service(); Call call = (Call) service.createCall(); call.setEncodingStyle(null); call.setTargetEndpointAddress( new java.net.URL(url) ); call.setOperationStyle(Style.WRAPPED); call.setOperationUse(Use.LITERAL); //various registerTypeMapping s here... QName name = new QName("http://ws.service.rc.nec", "pubblicaRisorsaT1", "m"); call.setOperationName( name ); call.addParameter(QNames.IN0, QNames.PUBBL_T1_REQ, PubblicazioneRisorsaT1Req.class, ParameterMode.IN ); call.setReturnType(new javax.xml.namespace.QName("http://ws.model.rc.nec", "EsitoRichiesta", "m1")); call.setReturnClass(EsitoRichiesta.class); result = (EsitoRichiesta) call.invoke( new Object[] {req} ); The SOAP message generated is: <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> <pubblicaRisorsaT1 xmlns="http://ws.service.rc.nec"> <in0> <credenzialiRichiesta> <password>euolweqewq</password> <username>aweqwemmao</username> </credenzialiRichiesta> <operazioneT1> <dataOra>2005-10-12T16:19:07.557Z</dataOra> <note>Note</note> </operazioneT1> </in0> </pubblicaRisorsaT1> </soapenv:Body> </soapenv:Envelope> and it doesn't work because there's no indication of the namespaces in elements credenzialiRichiesta, password, username, operazioneT1 ..... Am I missing any configuration step? Thank you filippo ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it