Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 6186 invoked from network); 26 Apr 2006 07:32:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2006 07:32:03 -0000 Received: (qmail 27948 invoked by uid 500); 26 Apr 2006 07:31:54 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 27931 invoked by uid 500); 26 Apr 2006 07:31:54 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 27913 invoked by uid 99); 26 Apr 2006 07:31:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 00:31:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.20.192.35] (HELO enekingm05.originenergy.com.au) (203.20.192.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 00:31:53 -0700 Received: from adeln128.originenergy.com.au ([203.20.192.9]) by enekingm05.originenergy.com.au with InterScan Messaging Security Suite; Wed, 26 Apr 2006 17:13:52 +0930 X-SEF-Processed: 5_0_0_910__2006_04_26_17_01_12 X-SEF-567C2F8B-1BA6-483D-AE96-D486511D77B: 1 Received: from Unknown [10.132.64.95] by adeln128.originenergy.com.au - SurfControl E-mail Filter (5.0); Wed, 26 Apr 2006 17:01:12 +0930 Received: from melbm001.originenergy.com.au ([10.80.64.27]) by adelm001.originenergy.com.au with Microsoft SMTPSVC(5.0.2195.6713); Wed, 26 Apr 2006 17:01:35 +0930 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: [Axis2] Client-within-server problems Date: Wed, 26 Apr 2006 17:31:12 +1000 Message-ID: <149A63E372B682408396757BE5AA6CE175EA77@melbm001.originenergy.com.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Axis2] Client-within-server problems Thread-Index: AcZpA2SuXCV+7pr6SiuxYjbfAeVKrQ== From: "Marshall, John" To: X-OriginalArrivalTime: 26 Apr 2006 07:31:35.0732 (UTC) FILETIME=[72BB1740:01C66903] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm trying to develop a request-reply web service, rather like in Figure 4 on this website: http://www-128.ibm.com/developerworks/library/ws-asynch2/ To do this I'm essentially writing a synchronous web service to do the first request-ack interaction. During the processing I launch a new thread that is effectively a client for the other end. I want to send the response document (which may have taken some time to obtain) back to the other end. I have the WSDL of the other end and used it to create a client stub. I can send my response document to the other end and get the ack back from it. However, my Stub ALWAYS crashes within the=20 _operationClient.execute(true); With a NullPointerException.=20 I've dug around a bit and it seems to be caused by the createSOAPMessage() method of the TransportUtils class - the inStream is always null. I'm guessing there is something clever I have to do with message/operation/configuration contexts, but I can't figure it out! The really weird thing is that despite the AxisFault being thrown, the document still gets sent! Can anyone advise what I have to do to be able to behave like a client within an AxisService? Thanks for any light you can shed, John M.