You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ss ak <ss...@gmail.com> on 2008/12/03 02:17:13 UTC

build problem for the client stubs created by wsdal2ws tool

I just created the stubs with the exisitng wsdl using wsdl2ws tool(built
from the latest code)
Complied the stubs in the VC++ and thats all...not yet added any client code
to it...

main with simple printf statement..Please let me know what the error
is...ITS URGENT..........

Thanks ina dvance.........

------ Build started: Project: trace, Configuration: Debug Win32 ------
1>Linking...
1>   Creating library Debug\trace.lib and object Debug\trace.exp
1>switchPortType.obj : error LNK2019: unresolved external symbol "private:
void __thiscall axiscpp::Call::closeConnection(bool)" (?closeConnection@Call
@axiscpp@@AAEX_N@Z) referenced in function "public: void __thiscall
axiscpp::Call::closeTransportConnection(void)"
(?closeTransportConnection@Call@axiscpp@@QAEXXZ)
1>switchPortType.obj : error LNK2019: unresolved external symbol "public:
int __stdcall axiscpp::Call::sendAndReceive(void)" (?sendAndReceive@Call
@axiscpp@@QAGHXZ) referenced in function "public: int __stdcall
axiscpp::Call::invoke(void)" (?invoke@Call@axiscpp@@QAGHXZ)
1>switchPortType.obj : error LNK2019: unresolved external symbol "private:
void __thiscall axiscpp::Call::resetSoapFaultList(void)"
(?resetSoapFaultList@Call@axiscpp@@AAEXXZ) referenced in function "public:
void __thiscall axiscpp::Call::setSoapFaultNamespace(char const *)"
(?setSoapFaultNamespace@Call@axiscpp@@QAEXPBD@Z)
1>switchPortType.obj : error LNK2019: unresolved external symbol "public:
char * __thiscall axiscpp::Call::getFaultAsXMLString(void)"
(?getFaultAsXMLString@Call@axiscpp@@QAEPADXZ) referenced in function
__catch$?get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z$0
1>switchPortType.obj : error LNK2019: unresolved external symbol "protected:
void __thiscall axiscpp::Stub::checkForExtraneousElements(void)"
(?checkForExtraneousElements@Stub@axiscpp@@IAEXXZ) referenced in function
"public: class GetResponse * __thiscall switchPortType::get(class GetRequest
*)" (?get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
1>switchPortType.obj : error LNK2019: unresolved external symbol "public:
int __stdcall axiscpp::Call::validateMessage(char const *,char const
*,bool)" (?validateMessage@Call@axiscpp@@QAGHPBD0_N@Z) referenced in
function "public: class GetResponse * __thiscall switchPortType::get(class
GetRequest *)" (?get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
1>switchPortType.obj : error LNK2019: unresolved external symbol "public:
void __stdcall axiscpp::Call::setOperation(char const *,char const *,bool)"
(?setOperation@Call@axiscpp@@QAGXPBD0_N@Z) referenced in function "public:
class GetResponse * __thiscall switchPortType::get(class GetRequest *)"
(?get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
1>Debug\trace.exe : fatal error LNK1120: 7 unresolved externals
1>Build log was saved at "file://c:\trace\Debug\BuildLog.htm"
1>trace - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Re: build problem for the client stubs created by wsdal2ws tool

Posted by ss ak <ss...@gmail.com>.
where do i find this client dll...

i try to built from teh src...i get these errors

Please help...i m in desparate situation...


1>------ Build started: Project: AxisClient, Configuration: Debug Win32
------
1>Compiling...
1>WSDDDocumentExpat.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\wsdd\WSDDDocumentExpat.cpp': No such file or directory
1>Url.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\Url.cpp': No such file or directory
1>TransportFactory.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\TransportFactory.cpp': No such file or directory
1>Transport.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\Transport.cpp': No such file or directory
1>SoapParserExpat.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\soap\SoapParserExpat.cpp': No such file or directory
1>Sender.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\Sender.cpp': No such file or directory
1>Receiver.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\Receiver.cpp': No such file or directory
1>Packet.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\common\Packet.cpp': No such file or directory
1>HttpTransport.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\HttpTransport.cpp': No such file or directory
1>Channel.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\Channel.cpp': No such file or directory
1>AxisTransport.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\transport\axis\AxisTransport.cpp': No such file or directory
1>AxisTime.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\common\AxisTime.cpp': No such file or directory
1>AxisException.cpp
1>c1xx : fatal error C1083: Cannot open source file:
'..\src\common\AxisException.cpp': No such file or directory
1>Generating Code...
1>Compiling...
1>apr_base64.c
1>c1 : fatal error C1083: Cannot open source file:
'..\src\soap\apr_base64.c': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\New
Folder\srccode\vc\CDebug\BuildLog.htm"
1>AxisClient - 14 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



On Tue, Dec 2, 2008 at 5:31 PM, Nadir Amra <am...@us.ibm.com> wrote:

>
> You need to bind to the client dll.....
>
> Nadir Amra
>
>
> "ss ak" <ss...@gmail.com> wrote on 12/02/2008 07:17:13 PM:
>
> > [image removed]
> >
> > build problem for the client stubs created by wsdal2ws tool
> >
> > ss ak
> >
> > to:
> >
> > axis-c-dev
> >
> > 12/02/2008 07:17 PM
> >
> > Please respond to "Apache AXIS C Developers List"
> >
> > I just created the stubs with the exisitng wsdl using wsdl2ws tool
> > (built from the latest code)
> > Complied the stubs in the VC++ and thats all...not yet added any
> > client code to it...
> >
> > main with simple printf statement..Please let me know what the error
> > is...ITS URGENT..........
> >
> > Thanks ina dvance.........
> >
> > ------ Build started: Project: trace, Configuration: Debug Win32 ------
> > 1>Linking...
> > 1>   Creating library Debug\trace.lib and object Debug\trace.exp
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "private: void __thiscall axiscpp::Call::
> > closeConnection(bool)" (?closeConnection@Call@axiscpp@@AAEX_N@Z)
> > referenced in function "public: void __thiscall
> > axiscpp::Call::closeTransportConnection(void)" (?
> > closeTransportConnection@Call@axiscpp@@QAEXXZ)
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "public: int __stdcall axiscpp::Call::sendAndReceive(void)" (?
> > sendAndReceive@Call@axiscpp@@QAGHXZ) referenced in function "public:
> > int __stdcall axiscpp::Call::invoke(void)" (?invoke@Call@axiscpp@
> @QAGHXZ)
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "private: void __thiscall axiscpp::Call::resetSoapFaultList(void)"
> > (?resetSoapFaultList@Call@axiscpp@@AAEXXZ) referenced in function
> > "public: void __thiscall axiscpp::Call::setSoapFaultNamespace(char
> > const *)" (?setSoapFaultNamespace@Call@axiscpp@@QAEXPBD@Z)
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "public: char * __thiscall axiscpp::Call::getFaultAsXMLString(void)"
> > (?getFaultAsXMLString@Call@axiscpp@@QAEPADXZ) referenced in function
> > __catch$?get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z$0
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "protected: void __thiscall
> > axiscpp::Stub::checkForExtraneousElements(void)" (?
> > checkForExtraneousElements@Stub@axiscpp@@IAEXXZ) referenced in
> > function "public: class GetResponse * __thiscall switchPortType::get
> > (class GetRequest *)" (?
> > get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "public: int __stdcall axiscpp::Call::validateMessage(char const
> > *,char const *,bool)" (?validateMessage@Call@axiscpp@@QAGHPBD0_N@Z)
> > referenced in function "public: class GetResponse * __thiscall
> > switchPortType::get(class GetRequest *)" (?
> > get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
> > 1>switchPortType.obj : error LNK2019: unresolved external symbol
> > "public: void __stdcall axiscpp::Call::setOperation(char const
> > *,char const *,bool)" (?setOperation@Call@axiscpp@@QAGXPBD0_N@Z)
> > referenced in function "public: class GetResponse * __thiscall
> > switchPortType::get(class GetRequest *)" (?
> > get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
> > 1>Debug\trace.exe : fatal error LNK1120: 7 unresolved externals
> > 1>Build log was saved at "file://c:\trace\Debug\BuildLog.htm"
> > 1>trace - 8 error(s), 0 warning(s)
> > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> ==========
>

Re: build problem for the client stubs created by wsdal2ws tool

Posted by Nadir Amra <am...@us.ibm.com>.
You need to bind to the client dll.....

Nadir Amra


"ss ak" <ss...@gmail.com> wrote on 12/02/2008 07:17:13 PM:

> [image removed] 
> 
> build problem for the client stubs created by wsdal2ws tool
> 
> ss ak 
> 
> to:
> 
> axis-c-dev
> 
> 12/02/2008 07:17 PM
> 
> Please respond to "Apache AXIS C Developers List"
> 
> I just created the stubs with the exisitng wsdl using wsdl2ws tool
> (built from the latest code)
> Complied the stubs in the VC++ and thats all...not yet added any 
> client code to it...
> 
> main with simple printf statement..Please let me know what the error
> is...ITS URGENT..........
> 
> Thanks ina dvance.........
> 
> ------ Build started: Project: trace, Configuration: Debug Win32 ------
> 1>Linking...
> 1>   Creating library Debug\trace.lib and object Debug\trace.exp
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "private: void __thiscall axiscpp::Call::
> closeConnection(bool)" (?closeConnection@Call@axiscpp@@AAEX_N@Z) 
> referenced in function "public: void __thiscall 
> axiscpp::Call::closeTransportConnection(void)" (?
> closeTransportConnection@Call@axiscpp@@QAEXXZ)
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "public: int __stdcall axiscpp::Call::sendAndReceive(void)" (?
> sendAndReceive@Call@axiscpp@@QAGHXZ) referenced in function "public:
> int __stdcall axiscpp::Call::invoke(void)" 
(?invoke@Call@axiscpp@@QAGHXZ)
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "private: void __thiscall axiscpp::Call::resetSoapFaultList(void)" 
> (?resetSoapFaultList@Call@axiscpp@@AAEXXZ) referenced in function 
> "public: void __thiscall axiscpp::Call::setSoapFaultNamespace(char 
> const *)" (?setSoapFaultNamespace@Call@axiscpp@@QAEXPBD@Z)
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "public: char * __thiscall axiscpp::Call::getFaultAsXMLString(void)"
> (?getFaultAsXMLString@Call@axiscpp@@QAEPADXZ) referenced in function
> __catch$?get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z$0
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "protected: void __thiscall 
> axiscpp::Stub::checkForExtraneousElements(void)" (?
> checkForExtraneousElements@Stub@axiscpp@@IAEXXZ) referenced in 
> function "public: class GetResponse * __thiscall switchPortType::get
> (class GetRequest *)" (?
> get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "public: int __stdcall axiscpp::Call::validateMessage(char const 
> *,char const *,bool)" (?validateMessage@Call@axiscpp@@QAGHPBD0_N@Z) 
> referenced in function "public: class GetResponse * __thiscall 
> switchPortType::get(class GetRequest *)" (?
> get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
> 1>switchPortType.obj : error LNK2019: unresolved external symbol 
> "public: void __stdcall axiscpp::Call::setOperation(char const 
> *,char const *,bool)" (?setOperation@Call@axiscpp@@QAGXPBD0_N@Z) 
> referenced in function "public: class GetResponse * __thiscall 
> switchPortType::get(class GetRequest *)" (?
> get@switchPortType@@QAEPAVGetResponse@@PAVGetRequest@@@Z)
> 1>Debug\trace.exe : fatal error LNK1120: 7 unresolved externals
> 1>Build log was saved at "file://c:\trace\Debug\BuildLog.htm"
> 1>trace - 8 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped 
==========