473,563 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for good WSDL manual - plain C++ oriented

Dear all,

Could someone suggest a good WSDL reading, oriented for manual Web services
implementation?

There are plenty working ATL and .NET examples in Internet, but I have
troubles making a plain C++ ISAPI Web service.

I took the WSDL from:

http://msdn.microsoft.com/archive/de...lexplained.asp

and created both client and server as .NET without a problem.

Then I replaced the Web service with my own, dumb C++ ISAPI extension,
which returns exactly the same data, and the .NET client failed with unknown
error.

My goal is to convert an existing Web application to a Web service - in
order to give a chance to everybody to write a frontend, by their favourite
means, or at least using .NET.

This Web app *cannot* be rewritten using .NET or ATL.

Thanks!

P.S. Here is the WSDL I tried and the server response I emulated:
// WSDL

<?xml version="1.0" encoding="UTF-8" ?>
<definitions name="FooSample "
targetNamespace ="http://tempuri.org/wsdl/"
xmlns:wsdlns="h ttp://tempuri.org/wsdl/"
xmlns:typens="h ttp://tempuri.org/xsd"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:stk="http ://schemas.microso ft.com/soap-toolkit/wsdl-extension"
xmlns="http://schemas.xmlsoap .org/wsdl/">

<types>
<schema targetNamespace ="http://tempuri.org/xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap .org/soap/encoding/"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
elementFormDefa ult="qualified" >
</schema>
</types>

<message name="Simple.fo o">
<part name="arg" type="xsd:int"/>
</message>

<message name="Simple.fo oResponse">
<part name="result" type="xsd:int"/>
</message>

<portType name="SimplePor tType">
<operation name="foo" parameterOrder= "arg" >
<input message="wsdlns :Simple.foo"/>
<output message="wsdlns :Simple.fooResp onse"/>
</operation>
</portType>

<binding name="SimpleBin ding" type="wsdlns:Si mplePortType">
<stk:binding preferredEncodi ng="UTF-8" />
<soap:binding style="rpc"
transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="foo">
<soap:operati on
soapAction="htt p://tempuri.org/action/Simple.foo"/>
<input>
<soap:body use="encoded" namespace="http ://tempuri.org/message/"
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/" />
</input>
<output>
<soap:body use="encoded" namespace="http ://tempuri.org/message/"
encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/" />
</output>
</operation>
</binding>

<service name="FOOSAMPLE Service">
<port name="SimplePor t" binding="wsdlns :SimpleBinding" >
<soap:address location="http://localhost/dump_isapi.dll"/>
</port>
</service>
</definitions>
// Response

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingSty le="http://schemas.xmlsoap .org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap .org/soap/envelope/">
<SOAP-ENV:Body>
<SOAPSDK1:fooRe sponse xmlns:SOAPSDK1= "http://tempuri.org/message/">
<result>5131953 </result>
</SOAPSDK1:fooRes ponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Dec 15 '05 #1
0 1345

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6819
by: Glenn | last post by:
I've RTFM'd and searched google and Zend and still am having a problem loading php_mssql.dll. First, background: I'm using PHP Version 4.3.10 Apache/2.0.52 MySQL Server 4.1 Windows 2000 Professional OS
0
1044
by: The Ruling Class | last post by:
The mono site has been cleaned up a lot especially in the area of downloads install. mono.ximian.com Here's a good learning site: http://www.gotmono.com/ Here's a tutorial
1
1315
by: m++ | last post by:
Hi there, I am looking for some C++(object oriented) source codes of applications designed for embedded systems. I am going to use them as benchmarks. I've faced with some of these applications in a paper(object oriented co-synthesis, Wolf 97)which uses the below quoted from some software engineering books: 1-'dyeing machine' described in...
0
1395
by: windandwaves | last post by:
Hi There Can some Flash guru tell me if this Flash code is OK to set / retrieve a cookie for exchange with PHP? stop(); var ses:string; //create the local Shared Object myLocalSO = sharedobject.getLocal("hookie" );
4
1782
by: scottrm | last post by:
I am fairly new to oo design and I am looking at developing an object oriented asp.net application which will be built on top of a relational database. I have read quite a bit of the theory but find it hard to put it into practice. In particular I am confused in terms of interacting with the database. It seems to me classes map quite closely...
13
3409
by: ScottM | last post by:
I have run into a problem generating the class file via the WSDL utility. I have a WSDL file that was generated by XMLSpy and is able to be read by the Java code utility, but I get the following error from the WSDL utility. Error: Unable to import binding 'REMSOAPHttpsBinding' from namespace...
17
3789
by: Kevin Hall | last post by:
C++ is one of my favorite languages to work in. This is because it has so many differrent strengths. But there is also a number of blemishes in the language -- some could potentially be fixed, others are not likely. I wanted to open a discussion on what people think are the good and bad things about C++. Here are my lists: Good things...
1
3730
by: AAAlansari | last post by:
Hi everyone. I am a new customer here :) ... I hope you can help me.. I am trying to program Telit GM862-GSM GPS modem in order to send SMS. However, I am not sure which software do I have to used to do that? and how simply? Thanks alot
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7885
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7948
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.