axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentin Kuznetsov <vkuz...@yahoo.com>
Subject Re: Solaris and 1.3 release
Date Tue, 19 Oct 2004 20:10:11 GMT
Hi John,
my first step to compile 1.3 on Solaris.
So, default configure options turn to compile 
LibWWWTransport which needs WWWlib.h
I can try to disable libwww support, but as far as
I understood the crowd you'd like to use it.

Valentin.

--- John Hawkins <HAWKINSJ@uk.ibm.com> wrote:

> 
> 
> 
> 
> Hi Valentin
> 
> not sure about handler chains however - re libwww.
> 
> Do you really want this or do you want to run with
> the "new" transport that
> Samisa created - that is what 1.3 release is to be
> based on.
> 
> If you want libwww then yes You can get it from here
> ->
> http://www.w3.org/Library/Distribution.html
> ]
> John Hawkins
> 
> 
> 
> 
>                                                     
>                       
>              Valentin                               
>                       
>              Kuznetsov                              
>                       
>              <vkuznet@yahoo.co                      
>                    To 
>              m>                       
> axis-c-dev@ws.apache.org            
>                                                     
>                    cc 
>              19/10/2004 17:57                       
>                       
>                                                     
>               Subject 
>                                        Solaris and
> 1.3 release             
>              Please respond to                      
>                       
>               "Apache AXIS C                        
>                       
>              Developers List"                       
>                       
>                                                     
>                       
>                                                     
>                       
>                                                     
>                       
> 
> 
> 
> 
> Hi,
> I'm trying to build axis-c version 1.3 on Solaris.
> There are few problems.
> 
> 1) Once again I updated configure.ac in order to
> build
> through configure, etc.
> 2) ant build fail in java code and I still need to
> find out what is wrong.
> 3) Unfortunately on Solaris the
> src/engine/HandlerChain.h(cpp) doesn't compile. The
> reason is that Solaris compiler (CC) try to
> instantiate a list of ChainItem and want to have
> opertator == for this structure.
> There are two ways to resolve the problem. Either
> use
> vector instead of list (but that may cause memory
> relocation). Or add operators '==', '<' into
> ChainItem.
> I actually did it (see attachment), but since I
> don't
> know the logic it may not what author wanted.
> What is people preferences? I need this in order to
> finish Solaris build!!!!!
> 4) Finally I'm stuck now finding WWWlib.h which is
> required by libWWWTransport.h
> Does anybody tell me where we suppose to get it?
> Valentin.
> 
> 
> 
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com/*
>  *   Copyright 2003-2004 The Apache Software
> Foundation.
>  *
>  *   Licensed under the Apache License, Version 2.0
> (the "License");
>  *   you may not use this file except in compliance
> with the License.
>  *   You may obtain a copy of the License at
>  *
>  *       http://www.apache.org/licenses/LICENSE-2.0
>  *
>  *   Unless required by applicable law or agreed to
> in writing, software
>  *   distributed under the License is distributed on
> an "AS IS" BASIS,
>  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
> either express or
> implied.
>  *   See the License for the specific language
> governing permissions and
>  *   limitations under the License.
>  */
> 
> 
> #if !defined(_HANDLERCHAIN_H____OF_AXIS_INCLUDED_)
> #define _HANDLERCHAIN_H____OF_AXIS_INCLUDED_
> 
> #include <axis/server/Handler.h>
> #include <vector>
> 
> /*
>  *  @class HandlerChain
>  *  @brief interface for the HandlerChain class.
>  *  @author Susantha Kumara (skumara@virtusa.com)
>  */
> 
> AXIS_CPP_NAMESPACE_START
> 
> class HandlerChain : public HandlerBase
> {
>     friend class HandlerPool;
> private:
>     typedef struct ChainItem
>     {
>         BasicHandler* m_pHandler;
>         int m_nScope;
>         int m_nLibId;
>              bool operator==(const ChainItem& rhs)
> const {
>                 if(rhs.m_nScope!=m_nScope &&
> rhs.m_nLibId!=m_nLibId &&
>                                        
> rhs.m_pHandler!=m_pHandler) {
>                    return false;
>                 }
>                 return true;
>              }
>              bool operator<(const ChainItem& rhs)
> const {
>                 if(rhs.m_nScope<m_nScope &&
> rhs.m_nLibId<m_nLibId) {
>                    return false;
>                 }
>                 return true;
>              }
>     } ChainItem;
> public:
>     int addHandler(BasicHandler* pHandler, int
> nScope, int nLibId);
>     HandlerChain();
>     virtual ~HandlerChain();
>     int AXISCALL invoke(void* pMsg);
>     void AXISCALL onFault(void* pMsg);
>     int AXISCALL getType(){return CHAIN_HANDLER;};
>     int AXISCALL init();
>     int AXISCALL fini();
>     AXIS_BINDING_STYLE AXISCALL getBindingStyle(){
> return RPC_ENCODED;};
>     /* this is never called */
> 
> private:
>     std::list<ChainItem> m_HandlerList;
>     std::list<ChainItem>::iterator m_itCurrHandler;
> //    std::vector<ChainItem> m_HandlerList;
> //    std::vector<ChainItem>::iterator
> m_itCurrHandler;
> 
> };
> 
> AXIS_CPP_NAMESPACE_END
> 
> #endif
> 
> 
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Mime
View raw message