Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 76050 invoked from network); 7 Mar 2008 06:54:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2008 06:54:49 -0000 Received: (qmail 21260 invoked by uid 500); 7 Mar 2008 06:54:45 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 21101 invoked by uid 500); 7 Mar 2008 06:54:45 -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 21089 invoked by uid 99); 7 Mar 2008 06:54:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 22:54:45 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MISSING_MID,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [206.190.52.175] (HELO smtp106.biz.mail.re2.yahoo.com) (206.190.52.175) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Mar 2008 06:53:55 +0000 Received: (qmail 82938 invoked from network); 7 Mar 2008 06:54:14 -0000 Received: from unknown (HELO rahil) (rahil.ali@tpsonline.com@202.70.148.10 with login) by smtp106.biz.mail.re2.yahoo.com with SMTP; 7 Mar 2008 06:54:13 -0000 X-YMail-OSG: wDundGAVM1mJW4lFwL3bfXnG8mM2B_kVCLuni0i1a.Rh6n2txg3sh8BhjsBHUfhMzrH7sgABIT6hsXMoVQr.tXvnpGcJBbIMIfH.h0_humF23FpqwfrjU57J6jR5KsBk6JNco1Oty4t8yt0nLy5n6Mjw X-Yahoo-Newman-Property: ymail-3 From: "Rahil Ali" To: "'Apache AXIS C User List'" , Subject: RE: Problem with Service deployed Date: Fri, 7 Mar 2008 11:57:53 +0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: Ach/r6q0ipjX4/V0QbKIw7gRVQl1ZwAaxSZg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <49931.124.43.228.198.1204824535.squirrel@webmail3.pair.com> X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20080307065405.B5F5C4DA0B6@nike.apache.org> Hello Senaka, Thanks very much for your reply. I have some confusion, pls clarify it: - I want to deploy a web-service; I will follow these steps + write a code and implement these functions (Service operation, hello_init, hello_invoke, hello_on_fault, hello_free, axis2_get_instance and axis2_remove_instance) and write a service.xml + I compiled that source and put it in the axis2c/service/Myservice folder. (libMyservice.so, service.xml) + Now I restart apache web server.(I have tried this with "axis2_http_server" as well. And access this URI("http://ip-address/asix2/services") - After following these steps is my service ready to be used by any .Net or other client? - If yes then I am having some problems. Because the client cannot access the .wsdl file for that service, and the browser only displays the service name and available functions, no Hyper-links like the one showed in AXIS/Java tutorial. Pls see the output of the browser from my previous email. - I believe that there must be some tool which will create the .wsdl for any service that I write. - Am I missing anything here. Please help me get the clear picture of AXIS2/C web service deployment. Thanks & Regards, Rahil Ali -----Original Message----- From: Senaka Fernando [mailto:senaka@wso2.com] Sent: Thursday, March 06, 2008 10:29 PM To: Apache AXIS C User List Subject: Re: Problem with Service deployed Hi Rahil, We do have support for displaying static .wsdl files. But, the issue is we don't simply publish the .wsdl file. For the moment, you can find the required .wsdl file in the test/resources/wsdl/ folder. I have started a discussion on the developer list regarding this concern, [1]. Hope to have this issue fixed soon. [1] http://marc.info/?l=axis-c-dev&m=120481700919297&w=2 Regards, Senaka > Hello everyone, > > > > I have configured AXIS2/C with apache2 web server. I compiled calculator > sample with the following command: > > "gcc -shared -olibCalculator.o -I/usr/local/axis2c/include/axis2-1.3.0 > -L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser -laxis2_engine > -lpthread -laxis2_http_sender -laxis2_http_receiver calc.c" > > > > Now when I access it through Internet explorer : > http://192.168.4.163/axis2/services/Calculator it displays : > > > Deployed Services > > > Calculator > > > This is a testing service, named 'Calculator' to test dynamic client > > Available Operations > > * div > * add > * sub > * mul > > Problem is when I try to access its WSDL file by adding "?wsdl" at the end > of URL it gives an error: > > The XML page cannot be displayed > > Cannot view XML input using style sheet. Please correct the error and then > click the Refresh button, or try again > later. > > _____ > > Invalid at the top level of the document. Error processing resource > 'http://192.168.4.163/axis2/services/Calculator?wsdl'. ... > > Unable to retreive wsdl for this service > > ^ > > > > When I tried to add this as a web-reference in VS.Net it displayed "The > HTML > document does not contain Web service discovery information.". > > > Please help me where I am doing wrong. > > > > Regards, > > Rahil Ali > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org