The Artima Developer Community
Sponsored Link

Web Services Forum
gsoap example calc

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
vijay rayudu

Posts: 2
Nickname: vrayudu
Registered: May, 2008

gsoap example calc Posted: May 30, 2008 7:53 AM
Reply to this message Reply
Advertisement
anyone tried the calc example? I tried to run the calc.dll from IIS server

http://localhost/gsoap/mod_gsoap.dll?calc

Error:
could not create server 'C:\Inetpub\wwwroot\gsoap\calc.dll'. Check your request if it is correct. Entry Point 'soap_lookup_plugin' not found in dll 'C:\Inetpub\wwwroot\gsoap\calc.dll'.

and if i run the calclient.exe from command line


D:\GATeIc\gsoap-2.7\gsoap\mod_gsoap\gsoap_win\isapi\Debug>calcclnt add 3 5
result = 0

The result is 0

Following are the log files.

RECV.log
-------------
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.1
Date: Fri, 30 May 2008 14:13:11 GMT
X-Powered-By: ASP.NET

could not create server 'C:\Inetpub\wwwroot\gsoap\calc.dll'. Check your request if it is correct. Entry Point 'soap_lookup_plugin' not found in dll 'C:\Inetpub\wwwroot\gsoap\calc.dll'.


SENT.log
------------------------------- -------

POST /gsoap/mod_gsoap.dll?calc HTTP/1.1
Host: localhost
User-Agent: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 0
Connection: close
SOAPAction: ""

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:calc"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP- ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><ns:po w><a>2</a><b>2</b></ns:pow></SOAP-ENV:Body&g t;</SOAP-ENV:Envelope>


TEST.log
--------------------

Initializing context
Reinitializing context
Free namespace stack
Free any remaining temp blocks
Free attribute storage
Free pointer hashtable
Free ID hashtable
Reinitializing context
Free namespace stack
Free any remaining temp blocks
Free attribute storage
Free pointer hashtable
Free ID hashtable
Lookup location=001188A8 type=7: not found
Lookup location=001188B0 type=7: not found
D:\GATeIc\gsoap-2.7\gsoap\stdsoap2.cpp(6806): malloc(96) = 003956C0
Begin count phase (socket=-1 mode=0x8 count=0)
End of count phase
Connect/reconnect to host='localhost' path='/gsoap/mod_gsoap.dll?calc' port=80
Opening socket 1944 to host='localhost' port=80
Calculating the message size with attachments, current count=0
New count is 0 bytes
Initializing for output
Begin send phase (socket=1944 mode=0x1 count=0)
D:\GATeIc\gsoap-2.7\gsoap\stdsoap2.cpp(5416): malloc(12) = 00395790
Element begin tag='SOAP-ENV:Envelope' id='0' type=''
Embedded_id CCCC0000 type=24 id=0
Element begin tag='SOAP-ENV:Header' id='0' type=''
Element ending tag='SOAP-ENV:Header'
Element begin tag='SOAP-ENV:Body' id='0' type=''
Lookup location=001188A8 type=23: not found
Embedded_id 001188A8 type=23 id=0
Element begin tag='ns:pow' id='0' type=''
Embedded_id 001188A8 type=7 id=-1
Lookup location=001188A8 type=7: not found
Element begin tag='a' id='-1' type=''
Element ending tag='a'
Embedded_id 001188B0 type=7 id=-1
Lookup location=001188B0 type=7: not found
Element begin tag='b' id='-1' type=''
Element ending tag='b'
Element ending tag='ns:pow'
Element ending tag='SOAP-ENV:Body'
Element ending tag='SOAP-ENV:Envelope'
End send
End of send phase
Initializing for input
Free namespace stack
Free any remaining temp blocks
Free attribute storage
D:\GATeIc\gsoap-2.7\gsoap\stdsoap2.cpp(6191): free(003956C0)
Free pointer hashtable
Free ID hashtable
D:\GATeIc\gsoap-2.7\gsoap\stdsoap2.cpp(6806): malloc(96) = 003956C0
Free ID hashtable
Read 112 bytes from socket 1944
Waiting for HTTP request/response...
HTTP status: HTTP/1.1 100 Continue
HTTP header: Server: Microsoft-IIS/5.1
HTTP header: Date: Fri, 30 May 2008 14:13:11 GMT
HTTP header: X-Powered-By: ASP.NET
Read 184 bytes from socket 1944
Read 0 bytes from socket 1944
Shutdown socket 1944 how=2
Close socket 1944



Any one worked on this example please suggest.

Regards,
Vijay

Topic: gsoap stub generation Previous Topic   Next Topic Topic: Defining Message:part without any element or type defined.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use