axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Brun (perso)" <phb.pe...@aegle.fr>
Subject Re: client dynamic invocation
Date Tue, 03 Mar 2009 16:41:12 GMT
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
>>>
> 
> 

Mime
View raw message