Hi Krishna,
As there are quite a number of files that I would have to look
into, please give me some time.
I will get back to you.
Thanks,
Samisa...
-----Original Message-----
From: krishna [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 7:05 AM
To: [email protected]
Cc: Krishna Kumar Rajagopalan
Subject: Re:Google with Axis
Hi Samisa
I have attached the source code files with a description.
1.Google.cpp - File written by me for Client side which calls
doGoogleSearch
2.GoogleSearchPort.cpp1(renamed) - Original GoogleSearchPort .cpp file
generated by wsdl2ws tool
3.error1 - SOAP message generated when GoogleSearchPort.cpp1 was used
4.GoogleSearchPort2.cpp2(modified) - Order of function calls changed to
that of wsdl as shown below
m_pCall->addParameter((void*)&Value1, "key",
XSD_STRING);
m_pCall->addParameter((void*)&Value9, "q", XSD_STRING);
m_pCall->addParameter((void*)&Value3, "start", XSD_INT);
m_pCall->addParameter((void*)&Value7, "maxResults",
XSD_INT);
m_pCall->addParameter((void*)&Value0, "filter",
XSD_BOOLEAN);
m_pCall->addParameter((void*)&Value2, "restrict",
XSD_STRING);
m_pCall->addParameter((void*)&Value5, "safeSearch",
XSD_BOOLEAN);
m_pCall->addParameter((void*)&Value6, "lr", XSD_STRING);
m_pCall->addParameter((void*)&Value4, "ie", XSD_STRING);
m_pCall->addParameter((void*)&Value8, "oe", XSD_STRING);
5.error2 - SOAP message generated when GoogleSearchPort.cpp2(modified)
was used
6.All other files generated by the WSDL2WS tool are attached
7.compile - sample script to compile files
After the run with GoogleSearchPort.cpp2(modified) the code exits with a
segmentation fault
Regards
Krishna
uic.edu/~krajag2
Hi Krishna,
It would be helpfult to fix this problem if you could send the
SOAP message and the generated code that you are using.
Thanks,
Samisa,,,