[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    Re: Adding Attributes
From:       Samisa Abeysinghe <samisa_abeysinghe () yahoo ! com>
Date:       2004-05-27 2:12:59
Message-ID: 20040527021259.30756.qmail () web40607 ! mail ! yahoo ! com
[Download RAW message or body]

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 <PRESTONF@uk.ibm.com> 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"
> <axis-c-dev@ws.apache.org>                    
>                       <roshan@opensourc        cc:                                              
>                                       
>                       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:
> ><body>
> >       <ns1:find_business xmlns:ns1="...">
> >             <name>
> >                   xxx
> >             </name>
> >       </ns1:find_business xmlns:ns1="...">
> ></body>
> >
> >Would like:
> ><body>
> >       <ns1:find_business xmlns:ns1="..." generic="2.0">
> >             <name>
> >                   xxx
> >             </name>
> >       </ns1:find_business xmlns:ns1="...">
> ></body>
> >
> >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/ 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic