roshan 2003/08/05 05:28:09
Modified: c/src/engine Main.c
Log:
adding a SOAP req with headers
Revision Changes Path
1.5 +4 -5 xml-axis/c/src/engine/Main.c
Index: Main.c
===================================================================
RCS file: /home/cvs/xml-axis/c/src/engine/Main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Main.c 5 Aug 2003 06:47:11 -0000 1.4
+++ Main.c 5 Aug 2003 12:28:09 -0000 1.5
@@ -76,11 +76,10 @@
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" \
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> \
<soapenv:Header><t:Transaction
xmlns:t=\"http://example.org/2001/06/tx\" \
- soapenv:mustUnderstand=\"true\" >Hello Req Header
Val</t:Transaction> \
- </soanenv:Header> \
- <soapenv:Body><add
soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"> \
- <op1 xsi:type=\"xsd:int\">3</op1><op2
xsi:type=\"xsd:int\">4</op2> \
- </add></soapenv:Body></soapenv:Envelope>";
+ soapenv:mustUnderstand=\"true\" >Hello Req Header
Val</t:Transaction></soapenv:Header> \
+ <soapenv:Body><add
soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><op1
xsi:type=\"xsd:int\">3</op1><op2
xsi:type=\"xsd:int\">4</op2></add></soapenv:Body></soapenv:Envelope>";
+
+//char* ip = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><add
soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><op1
xsi:type=\"xsd:int\">3</op1><op2
xsi:type=\"xsd:int\">4</op2></add></soapenv:Body></soapenv:Envelope>";
// char* ip = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><echo
soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><op1
xsi:type=\"xsd:string\">Hello World!</op1></echo></soapenv:Body></soapenv:Envelope>";