Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 98342 invoked from network); 26 May 2004 08:36:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 May 2004 08:36:47 -0000 Received: (qmail 91439 invoked by uid 500); 26 May 2004 08:37:29 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 91361 invoked by uid 500); 26 May 2004 08:37:28 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 91132 invoked by uid 98); 26 May 2004 08:37:26 -0000 Received: from susantha@opensource.lk by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(209.68.1.20):. Processed in 0.013047 secs); 26 May 2004 08:37:26 -0000 X-Qmail-Scanner-Mail-From: susantha@opensource.lk via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(209.68.1.20):. Processed in 0.013047 secs) Received: from unknown (HELO relay.pair.com) (209.68.1.20) by hermes.apache.org with SMTP; 26 May 2004 08:37:25 -0000 Received: (qmail 92168 invoked from network); 26 May 2004 08:36:24 -0000 Received: from 54.247.adsl.sltnet.lk (HELO SusanthaNB) (220.247.247.54) by relay.pair.com with SMTP; 26 May 2004 08:36:24 -0000 X-pair-Authenticated: 220.247.247.54 From: "Susantha Kumara" To: "'Apache AXIS C User List'" Subject: RE: Samples does not run, no deployed services available Date: Wed, 26 May 2004 14:36:20 +0600 Message-ID: <000a01c442fc$88c8a860$0a65a8c0@SusanthaNB> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <56512F1841F5E846879EE0D9F858D20F019A85E3@RZJC1EX.jr1.local> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Did you check the SOAP message that the server sends using tcpmonitor ?. Tcpmonitor is a Axis Java applet that you can use to check tcp packets. You can see the soap fault and get the idea where it is wrong. --- Susantha Kumara Virtusa (pvt) Ltd. Office : +94112714385 Mobile : +94777420453 > -----Original Message----- > From: Scharinger, Florian [mailto:florian.scharinger@joanneum.at] > Sent: Monday, May 24, 2004 7:27 PM > To: axis-c-user@ws.apache.org > Subject: Samples does not run, no deployed services available > > Hi there, > > I already posted (an unanswered) message two weeks ago, when I had > problems connecting to a WebService (Invoke success, CheckMessage > fails). > > Still, this does not work. > > I also figured out, that the provided samples (e.g. Calculator) do NOT > work (properly). When using the SimpleAxisServer.exe, the return result > of the Calculator is always the first passed parameter. > --- > Calculator.exe localhost 8080 add 7 5 > Sending Requests to Server http://localhost:8080 ........ > > Result : 7 > --- > > Thus I opened the calculator client source with VS.NET, and debugged: > > Although > int Calculator::add(int Value0, int Value1) > { > [...] > if (AXIS_SUCCESS == m_pCall->Invoke()) > [...] > } > returns AXIS_SUCCESS, the method fails actually! > > The problem is in clientaxisengine.cpp, method: > int ClientAxisEngine::Process(Ax_soapstream* pSoap) > { > [...] > pService = g_pWSDDDeployment->GetService(pchService); > [...] > } > Method 'GetService' returns NULL, because the member > 'm_DeployedServices' (wsdddeployment.cpp) is NULL. > > > This brings me to the end: Do I have to deploy the /sample/ WebServices > somewhere additionally (or programmatically)? > > > I really appreciate an answer, otherwise we have to go via JNI to a Axis > Java Stub Client :( > > > Florian. > > > > /------------------------------------------------------------------\ > Florian Scharinger > Institute of Information Systems & Information Management > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, A-8010 Graz, AUSTRIA > > phone: +43-316-876-1219 fax: +43-316-876-1191 > web: http://www.joanneum.at/iis > e-mail: mailto:florian.scharinger@joanneum.at > \------------------------------------------------------------------/ >