Hi Jerry, I assume you are trying to create a TR069 client. How do you extract data from the TR069 datamodel (in obj1.obj2.obj3 format)? Are you using any third party tool to traverse the tree?
Thanks, Sanjay --- In [email protected], Jerry Yin <jerry....@...> wrote: > > Hi Sanjay, > > That works. > > Thanks a lot. > > Jerry > > --- On Thu, 4/2/09, sanjay_cec <krishsan...@...> wrote: > > From: sanjay_cec <krishsan...@...> > Subject: [gsoap] Re: TR-69 by gsoap? > To: [email protected] > Received: Thursday, April 2, 2009, 10:12 AM > > > > > > > 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 gs...@yahoogroups. com, Jerry Yin <jerry.yin@ ..> 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.broadban d-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.yin@ ..> wrote: > > > > From: Jerry Yin <jerry.yin@ ..> > > Subject: Re: [gsoap] How to generate C/C++ Client Proxy/Service codes from > > XSD > > To: gs...@yahoogroups. com > > 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. > > > > > > > > > > > > > > > > > > > > __________________________________________________________________ > Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! > Canada Messenger at http://ca.beta.messenger.yahoo.com/ >
