Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8C4D5200BD0 for ; Wed, 16 Nov 2016 02:08:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8AC6D160B05; Wed, 16 Nov 2016 01:08:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A631160B03 for ; Wed, 16 Nov 2016 02:08:07 +0100 (CET) Received: (qmail 59034 invoked by uid 500); 16 Nov 2016 01:08:06 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 59024 invoked by uid 99); 16 Nov 2016 01:08:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 01:08:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A62D9C7BF2 for ; Wed, 16 Nov 2016 01:08:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.12 X-Spam-Level: X-Spam-Status: No, score=-1.12 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id IlcAmX3H9f5H for ; Wed, 16 Nov 2016 01:08:03 +0000 (UTC) Received: from BAY004-OMC1S19.hotmail.com (bay004-omc1s19.hotmail.com [65.54.190.30]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9F9E75FC7D for ; Wed, 16 Nov 2016 01:08:02 +0000 (UTC) Received: from NAM01-BY2-obe.outbound.protection.outlook.com ([65.54.190.61]) by BAY004-OMC1S19.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 15 Nov 2016 17:07:56 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=37gmp86PIkDMFCJ+bEof9GTdtlvi6EuYkqKAJRMInRU=; b=qKHpFHm1e6xK8D1SZspN4ZcLdmgoZYyrXbctyhKs867oku5gqaMDa5E1J5rJyLnUlnuCeDe+xttGXKT5tatT29ItvV54dStCEKlPnSLWh7xJg0g8yRPtSVcUf9Zvm/tuSljxl/YfntozV0oO7Se/+gHYTSWO4mYycXAaJ98hELWnzi3SwA0g1foGVoDHcxeFCnHtZGtib/bCppuy4C55VHljEsdPKV30+ycUQsS5SOpH17VNiYi/xBRpJjf0wU5Gq/XTBWdrR2lMjemv/pRBaB/p7dngTUcm1hguFBdwW6Q+agHxRXO7Z3lSnxF8a0scXDeWCCTrO1wRR96PqRBnbQ== Received: from BY2NAM01FT047.eop-nam01.prod.protection.outlook.com (10.152.68.56) by BY2NAM01HT077.eop-nam01.prod.protection.outlook.com (10.152.68.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.5; Wed, 16 Nov 2016 01:07:55 +0000 Received: from DM5PR14MB1770.namprd14.prod.outlook.com (10.152.68.53) by BY2NAM01FT047.mail.protection.outlook.com (10.152.68.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.5 via Frontend Transport; Wed, 16 Nov 2016 01:07:55 +0000 Received: from DM5PR14MB1770.namprd14.prod.outlook.com ([10.171.157.12]) by DM5PR14MB1770.namprd14.prod.outlook.com ([10.171.157.12]) with mapi id 15.01.0721.010; Wed, 16 Nov 2016 01:07:55 +0000 From: Martin Gainty To: "java-user@axis.apache.org" Subject: Re: Re[4]: Raw SOAP XML response Thread-Topic: Re[4]: Raw SOAP XML response Thread-Index: AQHSPsKCoqc8ItFohESjytiFk1ZVsqDZ6gZ/gADjb/o= Date: Wed, 16 Nov 2016 01:07:55 +0000 Message-ID: References: ,, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: axis.apache.org; dkim=none (message not signed) header.d=none;axis.apache.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:7480;Count:39 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [MwG5cxVAluO99GWHKheaH93Cn0SL+4SA] x-incomingheadercount: 39 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1;BY2NAM01HT077;5:NV+OX9qqXziIyrLLcRwA9xchGsuNGQkBJtOL/Aj3L2HZNPuJXnv3vI0SIcJWrRi3OpiWONo4OvWkCYGsYbl7aXyqybzLeSebvUFSNYD6uSDfLiPJG/buY2G9PHi8JV+mxNGBSV4TP7xM0VmZs4kB+gTp99EB0BDI9QqWQ7JLI3k=;24:5PRQCSEbMBuQ+42sYYjqa691HI3cop+g734NRB8Ru2QX9U8oyIa3E3myWNgbpp2iR5s3GHRqJSdG1iZ8D0OuwlXq476MFeM2vDE4CmeOhvU=;7:GvCeYIRKo/3r9i/otzpcJkkKwOCBgrvsavMVuCNaf8MAZ/ONKYZa9AzCPOUerXa8UpS5X7ObtTJ2jZb89lqn914I7nGzzUrRWg3TUeQ2jSJU7h3me9S/SjzD8h03yZm9reNbnjUeIXtL01zMEsGsWbQmoYm00lc6FnyBQit6gHFK9m+PTiAVRuWSZeiHz3eIZZOP0DbtrLnK3zK5BcPaKuOKx+6oGN4gIUCSUyKAUb/2Gzx7df8Lw99w+/ks584oujyGog/PuR4DQY1w0/vqufer4fbrOc6qCBQ0oX9c+YPPMBUMZ1H1utQBCdtRGrqMpkpPAGUtKiAtlJCoxfQtFtw8zHRIeYixRLiULOiKa8s= x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(10019020)(98900003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2NAM01HT077;H:DM5PR14MB1770.namprd14.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 37b448ac-8cd4-41f4-f1d0-08d40dbcff31 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(1601124038)(1603103113)(1603101340)(1601125047);SRVR:BY2NAM01HT077; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(82015046);SRVR:BY2NAM01HT077;BCL:0;PCL:0;RULEID:;SRVR:BY2NAM01HT077; x-forefront-prvs: 01283822F8 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DM5PR14MB17708599005AC1B6882AEFB1AEBE0DM5PR14MB1770namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2016 01:07:55.1287 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT077 X-OriginalArrivalTime: 16 Nov 2016 01:07:56.0864 (UTC) FILETIME=[DDB05400:01D23FA5] archived-at: Wed, 16 Nov 2016 01:08:08 -0000 --_000_DM5PR14MB17708599005AC1B6882AEFB1AEBE0DM5PR14MB1770namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Martin Gainty ______________________________________________ _____ _ _____ _ _____ ___ _ = _____ _ _ _ |_ _| |_ ___ | _ = |___ ___ ___| |_ ___ | __|___| _| |_ _ _ _ ___ ___ ___ | __|___ _ = _ ___ _| |___| |_|_|___ ___ | | | | -_| | | . | .'| _| | -_| = |__ | . | _| _| | | | .'| _| -_| | __| . | | | | . | .'| _| | . = | | |_| |_|_|___| |__|__| _|__,|___|_|_|___| |_____|___|_| |_| |____= _|__,|_| |___| |__| |___|___|_|_|___|__,|_| |_|___|_|_| = |_| ________________________________ From: Martin Gainty Sent: Tuesday, November 15, 2016 6:46 AM To: java-user@axis.apache.org; Sterpu Victor Subject: Re: Re[4]: Raw SOAP XML response if you dont have axis2.xml in server config do you have annotations defined= in server code? http://www.ibm.com/developerworks/library/j-jws8/ Java Web services: JAXB and JAX-WS in Axis2 www.ibm.com Apache Axis2 supports a range of data-binding technologies, including the o= fficial Java standard, JAXB 2.x. Axis2 also supports the Java standard for = Web service configuration, JAX-WS 2.x, as an alternative to its own custom = configuration technique. Dennis Sosnoski continues his Java Web services co= lumn series by demonstrating how you can use each of these Java standards w= ith Axis2 and discussing some of the limitations of Axis2's current support= for them. do you have a Axis2 Server fully operational.. what does Axis Happiness pag= e say? http://localhost:8080/axis2-web/HappyAxis.jsp MG>http://ServerHostName:ServerPortNumber/axis2/axis2-web/HappyAxis.jsp Martin ______________________________________________ ________________________________ From: Sterpu Victor Sent: Monday, November 14, 2016 4:58 PM To: Martin Gainty; java-user@axis.apache.org Subject: Re[4]: Raw SOAP XML response I tired your code but I got a problem. This is what I wrote(I don't have a = axis2.xml file, I just create the stub with wsdl2java and used the class): ConfigurationContext configContext =3D ConfigurationContextFactory.createDe= faultConfigurationContext(); ServiceClient sender =3D new ServiceClient(configContext, null); OperationClient mepClient =3D sender.createClient(ServiceClient.ANON_OUT_IN= _OP); MessageContext response=3DmepClient.getMessageContext(WSDLConstants.MESSAGE= _LABEL_IN_VALUE); String response_xml =3D response.getEnvelope().toString(); These lines are executed immediatly after the succesful SOAP call and I rec= eive a java.lang.NullPointerException at the line "String response_xml =3D = response.getEnvelope().toString();". I traced the SOAP response with Fiddler and the answer is "" Thank you. ------ Original Message ------ From: "Martin Gainty" > To: "java-user@axis.apache.org" >; "Sterpu Victor" > Sent: 2/11/2016 9:28:48 PM Subject: Re: Re[2]: Raw SOAP XML response ________________________________ From: Sterpu Victor > Sent: Wednesday, November 2, 2016 11:57 AM To: Martin Gainty; java-user@axis.apache.org Subject: Re[2]: Raw SOAP XML response It didn't work. This is what I did: I deleted from the directory of Axis2\lib 4 files: axio= m-jaxb-1.2.19.jar, axiom-api-1.2.19.jar, axiom-dom-1.2.19.jar, axiom-impl-1= .2.19.jar and I added these 4 files: axiom-api-1.2.20.jar,axiom-dom-1.2.20.jar,axiom-= impl-1.2.20.jar,axiom-jaxb-1.2.20.jar. I use Axis embeded so I also deleted from my netbeans libraries the old jar= s and added the new ones. I recompiled and the error remained. ------ Original Message ------ From: "Martin Gainty" > To: "java-user@axis.apache.org" >; "Sterpu Victor" > Sent: 2/11/2016 4:58:09 PM Subject: Re: Raw SOAP XML response possible outdated version of axiom * In Axiom versions prior to 1.2.9, the sequence of events was inconsi= stent if the * underlying stream is XOP encoded and caching is disabled (see WSCOMM= ONS-485). * This made it necessary for the caller to (partially) handle the XOP = processing and to use * {@link OMAttachmentAccessor#getDataHandler(String)} to retrieve the = binary content. * Starting with 1.2.9 this is no longer be the case: as specified abov= e, * the sequence of events is *independent of the state of the object mo= del* * and the value of the cache parameter, * and ALL binary content is reported through the * {@link org.apache.axiom.ext.stax.datahandler.DataHandlerReader} (emb= edded in axiom-api) extension. upgrade axiom to 1.2.9 a recompile, package, deploy and run with 1.2.9 shou= ld mitigate the error you are now receiving *please keep us apprised* Martin ______________________________________________ ________________________________ From: Sterpu Victor > Sent: Wednesday, November 2, 2016 9:37 AM To: java-user@axis.apache.org Subject: Raw SOAP XML response Hello I need to save the raw SOAP XML response from Axis2(I use axis 2 1.7.3). When Axis2 call retusrns an error this code works: String response =3D sc.getLastOperationContext().getMessageContext("In").ge= tEnvelope().toString(); MG>//build configurationContext from location of repo and name of axis2.xml MG> ConfigurationContext configContext =3D ConfigurationContextFactory .createConfigurationContextFromFileSystem("../../repository", //exact loca= tion of repository "axis2.xml"); //exact filename of axis2.xml MG>establish new ServiceClient implementing attributes from ConfigurationCo= ntext MG> ServiceClient sender =3D new ServiceClient(configContext, null); MG>you will need to supply a QName for incoming request and SOAP response o= utput /** * Operation name used for an anonymous in-out operation (meaning we se= nt a message and receive * a response, equivalent to a WSDL In-Out operation). public static final QName ANON_OUT_IN_OP =3D new QName(Constants.AXIS2_= NAMESPACE_URI, "anonOutInOp", Constants.AXIS2_NA= MESPACE_PREFIX); */ MG>OperationClient mepClient =3D sender.createClient(ServiceClient.ANON_OUT= _IN_OP); MG>ask client to contact axis2 server and pull a response back MG>MessageContext response=3DmepClient.getMessageContext(WSDLConstants.MESS= AGE_LABEL_IN_VALUE)); /** *MESSAGE_LABEL_IN_VALUE Constant to represent the message label "In" w= hich is used by the * following WSDL 2.0 defined MEPs: In-Only, Robust In-Only, In-Out, //= Hint: In-Out is your Message Exchange * In-Optional-Out, Out-In, Out-Optional-In. public static final byte MESSAGE_LABEL_IN =3D 0; public static final String MESSAGE_LABEL_IN_VALUE =3D "In"; */ MG>convert soapEnvelope to String MG>String response =3Dresponse.getEnvelope().toString(); MG>? But when I run a succesful Axis2 call the same code gives the following err= or: "java.lang.IllegalStateException: Can't process next node because cachi= ng is disabled" I tryed to enable cache like this, but it didn't work: ServiceClient sc =3D (ServiceClient)method_= getServiceClient.invoke(objectReflect); ServiceContext srv_context =3D sc.getServic= eContext(); srv_context.setCachingOperationContext(true= ); OperationContext oc=3D new OperationContext= (); oc.setComplete(true); srv_context.setLastOperationContext(oc); Thank you --_000_DM5PR14MB17708599005AC1B6882AEFB1AEBE0DM5PR14MB1770namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable



Martin Gainty
______________________________________________
 _____ _          _____             _          _____     __=
_ _                        _____               _     _   _          |_   _|=
 |_ ___   |  _  |___ ___ ___| |_ ___   |   __|___|  _| |_ _ _ _ ___ ___ ___=
   |   __|___ _ _ ___ _| |___| |_|_|___ ___    | | |   | -_|  |     | . | .=
'|  _|   | -_|  |__   | . |  _|  _| | | | .'|  _| -_|  |   __| . | | |   | =
. | .'|  _| | . |   |   |_| |_|_|___|  |__|__|  _|__,|___|_|_|___|  |_____|=
___|_| |_| |_____|__,|_| |___|  |__|  |___|___|_|_|___|__,|_| |_|___|_|_|  =
                      |_|                                                  =
                                                  




From: Martin Gainty <mga= inty@hotmail.com>
Sent: Tuesday, November 15, 2016 6:46 AM
To: java-user@axis.apache.org; Sterpu Victor
Subject: Re: Re[4]: Raw SOAP XML response
 

if you dont have axis2.xml in server config do you have annotations= defined in server code?

http://www.ibm.com/d= eveloperworks/library/j-jws8/

www.ibm.com
Apache Axis2 supports a range of data-binding technologies, including the o= fficial Java standard, JAXB 2.x. Axis2 also supports the Java standard for = Web service configuration, JAX-WS 2.x, as an alternative to its own custom = configuration technique. Dennis Sosnoski continues his Java Web services column series by demonstrating ho= w you can use each of these Java standards with Axis2 and discussing some o= f the limitations of Axis2's current support for them.



do you have a Axis2 Server fully operational.. what does Axis Happiness page say?


http://localhost:8080/axis2-web/HappyAxis.jsp


MG>http://ServerHostName:ServerPortNumber/axis2/axis2-web/HappyAxis.j= sp


Martin
______________________________________________




From: Sterpu Victor <vic= tor@caido.ro>
Sent: Monday, November 14, 2016 4:58 PM
To: Martin Gainty; java-user@axis.apache.org
Subject: Re[4]: Raw SOAP XML response
 
I tired your code but I got a problem. This is what I wrote(I don't ha= ve a axis2.xml file, I just create the stub with wsdl2java and used the cla= ss):
ConfigurationContext configContext =3D ConfigurationC= ontextFactory.createDefaultConfigurationContext();
ServiceClient sender =3D new ServiceClient(configContext, null);
OperationClient mepClient =3D sender.createClient(ServiceClient.ANON_OUT_IN= _OP);
MessageContext response=3DmepClient.getMessageContext(WSDLConstants.MESSAGE= _LABEL_IN_VALUE);
String response_xml =3D response.getEnvelope().toString();

These lines are executed immediatly after the succesful SOAP call an= d I receive a java.lang.NullPointerException at the line "String response_xml =3D response.getEnvelope().toString();".
I traced the SOAP response with Fiddler and the answer is "<?xml version=3D"1.0" encoding=3D= "UTF-8"?><soapenv:Envelope xmlns:soapenv=3D"http://sch= emas.xmlsoap.org/soap/envelope/"><soapenv:Body><dlwmin:sto= reClinicalDocumentSResponse xmlns:dlwmin=3D"core.des.uti.ro" xmlns:xsi=3D"http://www.w3= .org/2001/XMLSchema-instance"><return></return></dlw= min:storeClinicalDocumentSResponse></soapenv:Body></soapenv:Env= elope>"
 
Thank you.
 
------ Original Message ------
From: "Martin Gainty" <mgainty@hotmail.com>
To: "java-user@axis.apache.org" <java-user@axis.apache.org>; "Sterpu Victor= " <victor@caido.ro>
Sent: 2/11/2016 9:28:48 PM
Subject: Re: Re[2]: Raw SOAP XML response
 



From: Sterpu Victor <victor@caido.ro>
Sent: Wednesday, November 2, 2016 11:57 AM
To: Martin Gainty; java= -user@axis.apache.org
Subject: Re[2]: Raw SOAP XML response
 
It didn't work.
This is what I did: I deleted from the directory of Axis2\lib 4 files:= axiom-jaxb-1.2.19.jar, axiom-api-1.2.19.jar, axiom-dom-1.2.19.jar, axiom-i= mpl-1.2.19.jar
and I added these 4 files: axiom-api-1.2.20.jar,axiom-dom-1.2.20.jar,a= xiom-impl-1.2.20.jar,axiom-jaxb-1.2.20.jar.
I use Axis embeded so I also deleted from my netbeans libraries the ol= d jars and added the new ones.
I recompiled and the error remained.
 
 
------ Original Message ------
From: "Martin Gainty" <mgainty@hotmail.com>
Sent: 2/11/2016 4:58:09 PM
Subject: Re: Raw SOAP XML response
 

possible outdated version of axiom


     * In Axiom versions prior to 1.2.9, the seque= nce of events was inconsistent if the
     * underlying stream is XOP encoded and caching is = disabled (see WSCOMMONS-485).
     * This made it necessary for the caller to (partia= lly) handle the XOP processing and to use
     * {@link OMAttachmentAccessor#getDataHandler(Strin= g)} to retrieve the binary content.
     * Starting with 1.2.9 this is no longer be the cas= e: as specified above,
     * the sequence of events is *independent of the st= ate of the object model*
     * and the value of the <code>cache</code&= gt; parameter,
     * and ALL binary content is reported through the      * {@link org.apache.axiom.ext.stax.datahandler.Dat= aHandlerReader} (embedded in axiom-api) extension.

upgrade axiom to 1.2.9 a recompile, package, deploy and run with 1.2.9 s= hould mitigate the error you are now receiving

*please keep us apprised*


Martin
______________________________________________



From: Sterpu Victor <victor@caido.ro>
Sent: Wednesday, November 2, 2016 9:37 AM
To: java-user@axis.apac= he.org
Subject: Raw SOAP XML response
 
Hello
 
I need to save the raw SOAP XML response from Axis2(I use axis 2 = 1.7.3).
When Axis2 call retusrns an error this code works: 
String response =3D sc.getLastOperationContext().getMessageContext(&qu= ot;In").getEnvelope().toString();

MG>//build configurationContext from location of repo and name of a= xis2.xml
MG> ConfigurationContext configContext =3D ConfigurationContextFactory
.creat= eConfigurationContextFromFileSystem("../../repository",  //e= xact location of repository
"= axis2.xml");                 &= nbsp;         //exact filename of axis2.xml

MG>establish new ServiceClient implementing attributes from Configu= rationContext
MG> ServiceClient sender =3D new ServiceClient(configContext, null);

MG>you will need to supply a QName for incoming request a= nd SOAP response output
/**
     * Operation name used for an anonymous in-out oper= ation (meaning we sent a message and receive
     * a response, equivalent to a WSDL In-Out operatio= n).
     
    public static final QName ANON_OUT_IN_OP =3D new QName(C= onstants.AXIS2_NAMESPACE_URI,
                    =                      = ;                "anonOutInOp&= quot;,
                    =                      = ;                Constants.AXIS2_NA= MESPACE_PREFIX);
*/
MG>OperationClient mepClient =3D sen= der.createClient(ServiceClient.= ANON_OUT_IN_OP); 

MG>ask client to contact axis2 serve= r and pull a response back
MG>MessageContext response=3DmepClient.getMessageContext(WSDL= Constants.MESSAGE_LABEL_IN_VALUE));
/**
     *MESSAGE_LABEL_IN_V= ALUE Constant to represent the m= essage label "In" which is used by the
     * following WSDL 2.0 defined MEPs: In-Only, Robust= In-Only, In-Out, //Hint: In-Out is your Message Exchange
     * In-Optional-Out, Out-In, Out-Optional-In.
    public static final byte MESSAGE_LABEL_IN =3D 0;
    public static final String MESSAGE_LABEL_IN_VALUE =3D &q= uot;In";
*/

MG>convert soapEnvelope to String
MG>String response =3Dresponse.getEn= velope().toString();

MG>?
But when I run a succesful Axis2 call the same code gives the followin= g error: "java.lang.IllegalStateException: Can't process next node bec= ause caching is disabled"
 
I tryed to enable cache like this, but it didn't work:
 
           &nbs= p;            &= nbsp;       ServiceClient sc =3D (ServiceClie= nt)method_getServiceClient.invoke(objectReflect);
            &nb= sp;            =        ServiceContext srv_context =3D sc.getS= erviceContext();
            &nb= sp;            =        srv_context.setCachingOperationContext= (true);
            &nb= sp;            =        OperationContext oc=3D new OperationCo= ntext(); 
            &nb= sp;            =        oc.setComplete(true); 
            &nb= sp;            =        srv_context.setLastOperationContext(oc);
 
Thank you

 
--_000_DM5PR14MB17708599005AC1B6882AEFB1AEBE0DM5PR14MB1770namp_--