Re: trouble about c++ client using vc6
Could you tell me how to adopt MS SOAP Toolkit 3 with Visual C++ 6.0? I am a beginner. Thanks a lot! iamnxm wrote: > > Hi, Katze > I have adopted the Microsoft SOAP Toolkit Version 3. Everything goes well. > -- View this message in context: http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5810842 Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble about c++ client using vc6
Hi, Katze I have adopted the Microsoft SOAP Toolkit Version 3. Everything goes well. -- View this message in context: http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5374389 Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble about c++ client using vc6
Hi, iamnxm I have the just same compiling problem like yours under VC6. Have you now any solution? -- View this message in context: http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5361551 Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble about c++ client using vc6
thanks, John I have readed the instruction and follow it but it does not work properly. I guess if i miss some steps. :-> -- View this message in context: http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5164598 Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble about c++ client using vc6
Hi, This tells you about using the client -> http://ws.apache.org/axis/cpp/clientuser-guide.html And this about how to use trace ->http://ws.apache.org/axis/cpp/TraceGuide.html iamnxm <[EMAIL PROTECTED]> 04/07/2006 04:19 Please respond to "Apache AXIS C User List" To axis-c-user@ws.apache.org cc Subject Re: trouble about c++ client using vc6 Hi, Adrian,thank you for your reply. I'm a newbie about Axis. :) " m_pCall->setEndpointURI() " is the first clause in the constructor of "UpdateService", i can't realize what's the difference from entering constructor and invoking the clause. I think that the error occurs at the invoking time. Your reply mentioned trace and I found that it does reqire a file named AxisCpp.conf. I can't understand the effect of the file. I used merely the client part of Axis c++, does i need this file? Thanks again Regards, iamnxm -- View this message in context: http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5161485 Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble about c++ client using vc6
Hi, Adrian,thank you for your reply. I'm a newbie about Axis. :) " m_pCall->setEndpointURI() " is the first clause in the constructor of "UpdateService", i can't realize what's the difference from entering constructor and invoking the clause. I think that the error occurs at the invoking time. Your reply mentioned trace and I found that it does reqire a file named AxisCpp.conf. I can't understand the effect of the file. I used merely the client part of Axis c++, does i need this file? Thanks again Regards, iamnxm -- View this message in context: http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5161485 Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: trouble about c++ client using vc6
Hi, Does the error occur as you enter the constructor or when invoking m_pCall->setEndpointURI()? If the former, this suggests a configuration problem which startup trace should capture. Are catching any exceptions produced from Axis (ie: catch AxisException) ? If so, what messages are you seeing? In any case, I'd recommend enabling trace and startup trace, re-creating the problem and see if anything obvious shows up in the trace files. Instructions on using trace can be found here: http://ws.apache.org/axis/cpp/TraceGuide.html Regards, Adrian ___ Adrian Dick ([EMAIL PROTECTED]) iamnxm <[EMAIL PROTECTED]> wrote on 03/07/2006 08:09:07: > I have successfully set up a axis-java webservice. I try to call it > with a c++ client. There are my steps : 1) Deploying my web service > using AdminClient Tool. 2) Show WSDL via add "?WSDL" to the end of > the webservice (eg.http://localhost:8080/update/UpdateService?WSDL) > 3) Utilise WSDL2WS tool to generate the client stub 4) Create a vc > MFC wizard project 5) Add stub files to the project 6) Set the > include path to the include directory of the axis binary > distribution 7) Add the axis_client.lib to the library modules path > of this project 8) call webservice like below: UpdateService up; > char * hasUp = up.hasUpdate(); or UpdateService *up = new > UpdateService; char * hasUp = up->hasUpdate(); compilation goes well > but error occurs when runing. I have debuged it and fond that it > seems that there are some errors in clauses below: UpdateService:: > UpdateService() :Stub(" ", APTHTTP1_1) { m_pCall->setEndpointURI(" > http://192.168.1.107:8080/update/services/UpdateService";); } any > suggestions are appreciated > View this message in context: trouble about c++ client using vc6 > Sent from the Axis - C++ - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
trouble about c++ client using vc6
I have successfully set up a axis-java webservice. I try to call it with a c++ client. There are my steps : 1) Deploying my web service using AdminClient Tool. 2) Show WSDL via add "?WSDL" to the end of the webservice (eg.http://localhost:8080/update/UpdateService?WSDL) 3) Utilise WSDL2WS tool to generate the client stub 4) Create a vc MFC wizard project 5) Add stub files to the project 6) Set the include path to the include directory of the axis binary distribution 7) Add the axis_client.lib to the library modules path of this project 8) call webservice like below: UpdateService up; char * hasUp = up.hasUpdate(); or UpdateService *up = new UpdateService; char * hasUp = up->hasUpdate(); compilation goes well but error occurs when runing. I have debuged it and fond that it seems that there are some errors in clauses below: UpdateService::UpdateService() :Stub(" ", APTHTTP1_1) { m_pCall->setEndpointURI("http://192.168.1.107:8080/update/services/UpdateService"); } any suggestions are appreciated View this message in context: trouble about c++ client using vc6 Sent from the Axis - C++ - User forum at Nabble.com.