Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 92501 invoked from network); 27 May 2004 02:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 May 2004 02:13:08 -0000 Received: (qmail 13051 invoked by uid 500); 27 May 2004 02:13:47 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 13000 invoked by uid 500); 27 May 2004 02:13:47 -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 12976 invoked by uid 98); 27 May 2004 02:13:46 -0000 Received: from samisa_abeysinghe@yahoo.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(66.218.78.144):. Processed in 0.013774 secs); 27 May 2004 02:13:46 -0000 X-Qmail-Scanner-Mail-From: samisa_abeysinghe@yahoo.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(66.218.78.144):. Processed in 0.013774 secs) Received: from unknown (HELO web40607.mail.yahoo.com) (66.218.78.144) by hermes.apache.org with SMTP; 27 May 2004 02:13:46 -0000 Message-ID: <20040527021259.30756.qmail@web40607.mail.yahoo.com> Received: from [202.162.25.34] by web40607.mail.yahoo.com via HTTP; Wed, 26 May 2004 19:12:59 PDT Date: Wed, 26 May 2004 19:12:59 -0700 (PDT) From: Samisa Abeysinghe Subject: Re: Adding Attributes To: Apache AXIS C Developers List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Fred, A richer API for the stub is being developed at the moment, so that you could access the internal reatures of the engine through the stub. At the moment, setting trasport and SOAP headers are being supporeted. Your requirement is a new one; however with the current model I hope this could be supported. Thanks, Samisa... --- Fred Preston wrote: > > > > > Hi Roshan, > Is there a way that I can do all this from outside ws-axis? I have > created stubs from WSDL. I have a 'main' which calls methods on the stubs > which call methods in axis. All of the ws-axis object is behind the 'call' > API. Is there a way to create an attribute and attach it to an operation > using this API? Currently I have:- > > m_pCall->SetTransportPorperty(SOAPACTION_HEADER, "find_business") > m_pCall->SetSOAPVersion(SOAP_VER_1_1) > m_pCall->SetOperation( "find_business", "urn:uddi-org:api_v2"); > m_pCall->AddParameter(...); > > But there is no API call that will allow me to add an attribute to the > SOAPObject that is created by SetOperation... This is also true for the > AddParameter group. > > Regards, > > Fred Preston. > Software Engineer > Business Integration > > Mail Point 188, IBM Hursley Park > Winchester, Hampshire, SO21 2JN, UK > Notes id: Fred Preston/UK/IBM @ IBMGB > Internet: prestonf@uk.ibm.com > Tel: +44 1962 817180 > Internal: 247180 > > > > > > Roshan > > Weerasuriya To: "Apache AXIS C Developers List" > > > e.lk> Subject: Re: Adding Attributes > > > > 26/05/04 04:37 > > Please respond to > > "Apache AXIS C > > Developers List" > > > > > > > > > hi, > > SoapMethod has the method addAttribute(Attribute *pAttribute). You have to > create a Attribute object pointer with your data and set it. > > rgds, > Roshan > > At 06:07 PM 5/25/2004 +0100, you wrote: > > > > >Hi All, > > How do I add attributes to the SOAP-BODY operation. e.g > > > >Currently have: > > > > > > > > xxx > > > > > > > > > >Would like: > > > > > > > > xxx > > > > > > > > > >How do I add in the generic="2.0" attribute using ws-axis methods? > > > >Regards, > > > >Fred Preston. > >Software Engineer > >Business Integration > > > >Mail Point 188, IBM Hursley Park > >Winchester, Hampshire, SO21 2JN, UK > >Notes id: Fred Preston/UK/IBM @ IBMGB > >Internet: prestonf@uk.ibm.com > >Tel: +44 1962 817180 > >Internal: 247180 > > > > > > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/