Jerry, I assume you are using C for this. Follow these steps wsdl2h -c -o tr69.h tr69.xsd (copied from the forum) now add the protos for your RPCs in the .h file created
soapcpp2 -c tr69.h (this will create soapClient.c, soapC.c etc) now, gcc -o client client.c stdsoap2.c soapC.c soapClient.c And voila!!! you have your tr69client -Sanjay --- In [email protected], Jerry Yin <jerry....@...> wrote: > > Hi Experts, > > Maybe I should ask this way. Has any one developed the TR-69 using gsoap. The > TR-69 schema is here. (http://www.broadband-forum.org/cwmp/cwmp-1-1.xsd). I > can't generate the client and server skeleton files. Could someone help me, > or give me a direction? > > Regards, > Jerry > > --- On Wed, 4/1/09, Jerry Yin <jerry....@...> wrote: > > From: Jerry Yin <jerry....@...> > Subject: Re: [gsoap] How to generate C/C++ Client Proxy/Service codes from XSD > To: [email protected] > Received: Wednesday, April 1, 2009, 1:39 PM > > > > > > > > > > > > Hi Jon, > > Thanks for your response. Actually that was what I did. I did some further > experiment. It seems only the *.h file that created from .wsdl could generate > the client proxy and server files. The .h files from .xsd file can not. > Correct me if I am wrong. > > Regards, > Jerry > > > --- On Wed, 4/1/09, Jon Burgess <jkbur...@gmail. com> wrote: > > From: Jon Burgess <jkbur...@gmail. com> > Subject: Re: [gsoap] How to generate C/C++ Client Proxy/Service codes from XSD > To: gs...@yahoogroups. com > Received: Wednesday, April 1, 2009, 2:02 AM > > > > > > I tried to compile using soapcpp2. It only generates soapH.h, soapC.cpp, > > and soapStub.h. What is the procedure to generate the proxy and service > > codes. Is there any public tool for this? > > soapcpp2 -i <headerfile> > > From the usage: -i generate service proxies and objects inherited from > soap struct > > Hope that is your answer. > > Jono > > > > > > > Looking for the perfect gift? Give the gift of Flickr! > > > > > > > > > > > > > > > > > __________________________________________________________________ > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your > favourite sites. Download it now > http://ca.toolbar.yahoo.com. >
