Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 6973 invoked from network); 5 Mar 2009 04:00:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 04:00:00 -0000 Received: (qmail 30917 invoked by uid 500); 5 Mar 2009 03:59:59 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 30907 invoked by uid 500); 5 Mar 2009 03:59:59 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 30898 invoked by uid 99); 5 Mar 2009 03:59:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 19:59:59 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Mar 2009 03:59:49 +0000 Received: (qmail 70042 invoked from network); 5 Mar 2009 03:59:26 -0000 Received: from 123.231.64.242 (HELO ?10.100.1.184?) (123.231.64.242) by relay00.pair.com with SMTP; 5 Mar 2009 03:59:26 -0000 X-pair-Authenticated: 123.231.64.242 Subject: [Fwd: Re: client dynamic invocation] From: Manjula Peiris To: Apache AXIS C Developers List Content-Type: multipart/mixed; boundary="=-V+psyUsRdLa+cssJtE8+" Date: Thu, 05 Mar 2009 09:31:01 +0530 Message-Id: <1236225661.6308.2.camel@manjula> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-V+psyUsRdLa+cssJtE8+ Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi, Since we have removed Wooden and XMLschema code long time back, there is no point of keeping this function. So I would like to remove this from the API. WDYT ? -- Manjula Peiris Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ Blog: http://manjula-peiris.blogspot.com/ --=-V+psyUsRdLa+cssJtE8+ Content-Disposition: inline Content-Description: Forwarded message - Re: client dynamic invocation Content-Type: message/rfc822 Return-Path: Delivered-To: serendib-wso2:com-manjula@wso2.com X-Envelope-To: manjula@wso2.com Received: (qmail 8903 invoked from network); 4 Mar 2009 04:56:43 -0000 Received: from mailwash1.pair.com (66.39.2.1) by mahawu.pair.com with SMTP; 4 Mar 2009 04:56:43 -0000 Received: from localhost (localhost [127.0.0.1]) by mailwash1.pair.com (Postfix) with SMTP id A2AE97D108 for ; Tue, 3 Mar 2009 23:56:43 -0500 (EST) X-Virus-Check-By: mailwash1.pair.com X-Spam-Check-By: mailwash1.pair.com X-Spam-Status: No, hits=-102.5 required=3.0 tests=BAYES_00,IP_WHITELIST,USER_IN_WHITELIST autolearn=no version=3.002005 X-Spam-Flag: NO X-Spam-Level: X-Spam-Filtered: 3fc932da366b20cd0389af2ee94c19b7 X-Greylisting: 209.68.4.0/24 is whitelisted Received: from mahawu.pair.com (mahawu.pair.com [209.68.4.109]) by mailwash1.pair.com (Postfix) with ESMTP id CDE587D120 for ; Tue, 3 Mar 2009 23:56:42 -0500 (EST) Received: from mail.apache.org (hermes.apache.org [140.211.11.2]) by mahawu.pair.com (Postfix) with SMTP id C9EDBFF93F for ; Tue, 3 Mar 2009 23:56:41 -0500 (EST) Received: (qmail 18956 invoked by uid 500); 4 Mar 2009 04:56:41 -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 18942 invoked by uid 99); 4 Mar 2009 04:56:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 20:56:41 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Mar 2009 04:56:32 +0000 Received: (qmail 39235 invoked from network); 4 Mar 2009 04:56:06 -0000 Received: from 123.231.64.242 (HELO ?10.100.1.184?) (123.231.64.242) by relay00.pair.com with SMTP; 4 Mar 2009 04:56:06 -0000 X-pair-Authenticated: 123.231.64.242 Subject: Re: client dynamic invocation From: Manjula Peiris To: Apache AXIS C User List In-Reply-To: <49AD5DA8.1080609@aegle.fr> References: <49AD02E6.6000904@aegle.fr> <1236077107.16210.1.camel@manjula> <49AD1E2A.6090300@aegle.fr> <1236089183.6218.2.camel@manjula> <49AD5DA8.1080609@aegle.fr> Content-Type: text/plain; charset=utf-8 Date: Wed, 04 Mar 2009 10:27:35 +0530 Message-Id: <1236142655.8547.3.camel@manjula> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit Actually this function is not usable. Axis2/C uses WSDL2C tool comes with Axis2/Java to generate code. You can't just give a WSDL to Axis2/C alone and expect for dynamic invocation. We should remove this function. -Manjula. On Tue, 2009-03-03 at 16:41 +0000, Philippe Brun (perso) wrote: > Manjula Peiris a écrit : > > On Tue, 2009-03-03 at 12:10 +0000, Philippe Brun (perso) wrote: > >> I'm new to webservices. Not that it is part of my use case, just to set up the background :-) > >> > >> I'm trying to access a webservice to send SMSes. The provider supplies a php example which retrieves > >> the wsdl file and invokes the ws dynamically. I was trying to reproduce this. > > > > So you should start from WSDL2C tool and generate code for the WSDL. > > Sorry, my explanation wasn't clear : for me, dynamic was at runtime not for coding. > axis2_svc_client_create_for_dynamic_invocation takes a .wsdl as one of its parameters, so it sounded ok. > > > > >> Manjula Peiris a écrit : > >>> What is your use case ? > >>> > >>> On Tue, 2009-03-03 at 10:13 +0000, Philippe Brun (perso) wrote: > >>>> Hi, > >>>> > >>>> I'm trying to use axis2_svc_client_create_for_dynamic_invocation, but it fails with a 0 error code. > >>>> > >>>> Looking at the code in svc_client.c, it appears that it fails after : > >>>> svc_client->options = axis2_options_create(env); > >>>> The test fails because svc_client->svc is NULL > >>>> if (svc_client->svc) > >>>> > >>>> I'm certainly missing something. Can anyone help ? > >>>> > >>>> Thanks in advance > >>>> Philippe > >>> > > > > --=-V+psyUsRdLa+cssJtE8+--