Thank you very much, I will try Martin Rampart explanation on Monday, I´m excitted to try now but on Saturday and Sunday I work in a Bakery and from Monday - Friday on Software
Keep all updated with my progress Thank you very much Kind regards, Oscar From: mgai...@hotmail.com To: java-user@axis.apache.org Subject: RE: Log xml request file Date: Fri, 6 Mar 2015 22:08:09 -0500 > Date: Fri, 6 Mar 2015 17:28:16 -0300 > Subject: Re: Log xml request file > From: robertlazar...@gmail.com > To: java-user@axis.apache.org > > On Fri, Mar 6, 2015 at 3:29 PM, Oscar Rugama <oscas...@hotmail.com> wrote: > > So because I have changed the soap header I want to know how exactly the > > soap envelope will go I mean the soap request which is a xml file just to > > compare with the structure I know that should be sent. > > > > For me it is ok if something like system.out.printl(request) and appears in > > the log the all soap request xml file > > > > Does it make sense now? > > > > Thanks your support is her appreciated. > > > > Un saludo, > > Oscar > > This may help: > > MessageContext messageContext = MessageContext. > getCurrentMessageContext(); > String request = messageContext.getEnvelope().toString(); > > - R that will help for ADB ..thanks robert for xmlbeans you may need to add log.debug statements in org.apache.axis2.xmlbeans.CodeGenerationUtility.java: take a look at: //process the unwrapped parameters if (!cgconfig.isParametersWrapped()) { //figure out the unwrapped operations axisServices = cgconfig.getAxisServices(); for (Iterator servicesIter = axisServices.iterator(); servicesIter.hasNext();) { axisService = (AxisService)servicesIter.next(); for (Iterator operations = axisService.getOperations(); operations.hasNext();) { AxisOperation op = (AxisOperation)operations.next(); if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) { AxisMessage message = op.getMessage( WSDLConstants.MESSAGE_LABEL_IN_VALUE); if (message != null && message.getParameter(Constants.UNWRAPPED_KEY) != null) { SchemaGlobalElement xmlbeansElement = sts.findElement(message.getElementQName()); log.debug("CodeGenerationUtility::processSchemas xmlbeansElement = "+xmlbeansElement.toString() ); then of course compile and redeploy: mvn package copy /target/*.jar into webapps/axis2/WEB-INF/lib Un Saludo Martín > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org >