axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krishna <kris...@lac.uic.edu>
Subject Re:Google with Axis
Date Wed, 09 Mar 2005 01:04:42 GMT
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,,,





Mime
View raw message