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
> >>>
> > 
> > 

Reply via email to