axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r389016 [5/5] - in /webservices/axis2/trunk/c: include/ modules/core/context/ modules/core/description/ modules/core/engine/ modules/mod_addr/ modules/util/ modules/xml/om/ test/resources/xml/ test/resources/xml/om/ test/resources/xml/soap/...
Date Mon, 27 Mar 2006 04:06:02 GMT
Added: webservices/axis2/trunk/c/test/resources/xml/soap/sample1.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/sample1.txt?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/sample1.txt (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/sample1.txt Sun Mar 26 20:05:56 2006
@@ -0,0 +1,12 @@
+POST /axis/services/EchoService HTTP/1.1
+Host: 127.0.0.1
+Content-Type: application/soap+xml; charset="utf-8"
+
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> 
+ <env:Header>
+ </env:Header>
+ <env:Body>
+	<axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2" ></axis2:echoVoid>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/sample1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/sample1.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/sample1.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/sample1.xml Sun Mar 26 20:05:56 2006
@@ -0,0 +1,9 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+    <env:Header>
+    </env:Header>
+    <env:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/security2-soap.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/security2-soap.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/security2-soap.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/security2-soap.xml Sun Mar 26 20:05:56
2006
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
+    xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"
+    xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
+    <S:Header>
+        <m:path xmlns:m="http://schemas.xmlsoap.org/rp">
+            <m:action>http://fabrikam123.com/getQuote</m:action>
+            <m:to>http://fabrikam123.com/stocks</m:to>
+            <m:from>mailto:johnsmith@fabrikam123.com</m:from>
+            <m:id>uuid:84b9f5d0-33fb-4a81-b02b-5b760641c1d6</m:id>
+        </m:path>
+        <wsse:Security>
+            <wsse:BinarySecurityToken
+                ValueType="wsse:X509v3"
+                EncodingType="wsse:Base64Binary"
+                Id="X509Token">
+                MIIEZzCCA9CgAwIBAgIQEmtJZc0rqrKh5i...
+            </wsse:BinarySecurityToken>
+            <ds:Signature>
+                <ds:SignedInfo>
+                    <ds:CanonicalizationMethod Algorithm=
+                                               "http://www.w3.org/2001/10/xml-exc-c14n#"/>
+                    <ds:SignatureMethod Algorithm=
+                                        "http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
+                    <ds:Reference>
+                        <ds:Transforms>
+                            <ds:Transform Algorithm=
+                                          "http://...#RoutingTransform"/>
+                            <ds:Transform Algorithm=
+                                          "http://www.w3.org/2001/10/xml-exc-c14n#"/>
+                        </ds:Transforms>
+                        <ds:DigestMethod Algorithm=
+                                         "http://www.w3.org/2000/09/xmldsig#sha1"/>
+                        <ds:DigestValue>EULddytSo1...</ds:DigestValue>
+                    </ds:Reference>
+                </ds:SignedInfo>
+                <ds:SignatureValue>
+                    BL8jdfToEb1l/vXcMZNNjPOV...
+                </ds:SignatureValue>
+                <ds:KeyInfo>
+                    <wsse:SecurityTokenReference>
+                        <wsse:Reference URI="#X509Token"/>
+                    </wsse:SecurityTokenReference>
+                </ds:KeyInfo>
+            </ds:Signature>
+        </wsse:Security>
+    </S:Header>
+    <S:Body>
+        <tru:StockSymbol xmlns:tru="http://fabrikam123.com/payloads">
+            QQQ
+        </tru:StockSymbol>
+    </S:Body>
+</S:Envelope>
\ No newline at end of file

Copied: webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11fault.xml (from r389013,
webservices/axis2/trunk/c/test/xml/soap/soap11/soap11fault.xml)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11fault.xml?p2=webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11fault.xml&p1=webservices/axis2/trunk/c/test/xml/soap/soap11/soap11fault.xml&r1=389013&r2=389016&rev=389016&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/soap11/soap11fault.xml (original)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11fault.xml Sun Mar 26 20:05:56
2006
@@ -1,16 +1,16 @@
- <SOAP-ENV:Envelope
-     xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
-     <SOAP-ENV:Header>
-         <TestHeader>Test</TestHeader>
-     </SOAP-ENV:Header>
-     <SOAP-ENV:Body>
-         <SOAP-ENV:Fault>
-             <faultcode>SOAP-ENV:MustUnderstand</faultcode>
-             <faultstring>SOAP Must Understand Error</faultstring>
-             <faultactor>Actor</faultactor>
-             <detail>Detail text
-                 <SomeElement>Some Element Text</SomeElement>
-             </detail>
-         </SOAP-ENV:Fault>
-     </SOAP-ENV:Body>
+ <SOAP-ENV:Envelope
+     xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+     <SOAP-ENV:Header>
+         <TestHeader>Test</TestHeader>
+     </SOAP-ENV:Header>
+     <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+             <faultcode>SOAP-ENV:MustUnderstand</faultcode>
+             <faultstring>SOAP Must Understand Error</faultstring>
+             <faultactor>Actor</faultactor>
+             <detail>Detail text
+                 <SomeElement>Some Element Text</SomeElement>
+             </detail>
+         </SOAP-ENV:Fault>
+     </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

Copied: webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11message.xml (from r389013,
webservices/axis2/trunk/c/test/xml/soap/soap11/soap11message.xml)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11message.xml?p2=webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11message.xml&p1=webservices/axis2/trunk/c/test/xml/soap/soap11/soap11message.xml&r1=389013&r2=389016&rev=389016&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/soap11/soap11message.xml (original)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/soap11/soap11message.xml Sun Mar 26
20:05:56 2006
@@ -1,46 +1,46 @@
-<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"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:From soapenv:mustUnderstand="0"
-            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-        <test:MessageID xmlns:test="http://example.org/ts-tests"
-            soapenv:mustUnderstand="1"
-            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
-            soapenv:anyAttribute="any value">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
-        </test:MessageID>
-        <wsa:To soapenv:mustUnderstand="0"
-            soapenv:anyAttribute="any value">
-            http://localhost:8081/axis/services/BankPort
-        </wsa:To>
-    </soapenv:Header>
-    <soapenv:Body>
-        <soapenv:Fault>
-            <soapenv:faultcode>
-                env:Sender
-            </soapenv:faultcode>
-            <soapenv:faultstring>Sender Timeout</soapenv:faultstring>
-            <soapenv:faultactor>
-                http://schemas.xmlsoap.org/soap/envelope/actor/ultimateReceiver
-            </soapenv:faultactor>
-            <soapenv:detail xmlns:m="http://www.sample.org">
-                Details of error
-                <m:MaxTime m:detail="This is only a test">
-                    P5M
-                </m:MaxTime>
-                <m:AveTime>
-                    <m:Time>
-                        P3M
-                    </m:Time>
-                </m:AveTime>
-            </soapenv:detail>
-        </soapenv:Fault>
-    </soapenv:Body>
-</soapenv:Envelope>
-
+<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"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:From soapenv:mustUnderstand="0"
+            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+        <test:MessageID xmlns:test="http://example.org/ts-tests"
+            soapenv:mustUnderstand="1"
+            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
+            soapenv:anyAttribute="any value">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
+        </test:MessageID>
+        <wsa:To soapenv:mustUnderstand="0"
+            soapenv:anyAttribute="any value">
+            http://localhost:8081/axis/services/BankPort
+        </wsa:To>
+    </soapenv:Header>
+    <soapenv:Body>
+        <soapenv:Fault>
+            <soapenv:faultcode>
+                env:Sender
+            </soapenv:faultcode>
+            <soapenv:faultstring>Sender Timeout</soapenv:faultstring>
+            <soapenv:faultactor>
+                http://schemas.xmlsoap.org/soap/envelope/actor/ultimateReceiver
+            </soapenv:faultactor>
+            <soapenv:detail xmlns:m="http://www.sample.org">
+                Details of error
+                <m:MaxTime m:detail="This is only a test">
+                    P5M
+                </m:MaxTime>
+                <m:AveTime>
+                    <m:Time>
+                        P3M
+                    </m:Time>
+                </m:AveTime>
+            </soapenv:detail>
+        </soapenv:Fault>
+    </soapenv:Body>
+</soapenv:Envelope>
+

Added: webservices/axis2/trunk/c/test/resources/xml/soap/soap12message.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/soap12message.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/soap12message.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/soap12message.xml Sun Mar 26 20:05:56
2006
@@ -0,0 +1,58 @@
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
+    <env:Header>
+        <test:echoOk xmlns:test="http://example.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="true"
+            env:anyAttribute="any value">
+            foo
+        </test:echoOk>
+        <test1:echoOk1 xmlns:test1="http://example1.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/next"
+            env:mustUnderstand="false"
+            env:anyAttribute="any value">
+            foo
+        </test1:echoOk1>
+        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="1"
+            env:anyAttribute="any value">
+            foo
+        </test2:echoOk2>
+    </env:Header>
+    <env:Body>
+        <env:Fault>
+            <env:Code>
+                <env:Value>env:Sender</env:Value>
+                <env:Subcode>
+                    <env:Value>m:MessageTimeout In First Subcode</env:Value>
+                    <env:Subcode>
+                        <env:Value>m:MessageTimeout In Second Subcode</env:Value>
+                        <env:Subcode>
+                            <env:Value>m:MessageTimeout In Third Subcode</env:Value>
+                        </env:Subcode>
+                    </env:Subcode>
+                </env:Subcode>
+            </env:Code>
+            <env:Reason>
+                <env:Text xml:lang="en">Sender Timeout</env:Text>
+            </env:Reason>
+            <env:Node>
+                http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver
+            </env:Node>
+            <env:Role>
+                ultimateReceiver
+            </env:Role>
+            <env:Detail xmlns:m="http:www.sample.org">
+                Details of error
+                <m:MaxTime m:detail="This is only a test">
+                    P5M\n
+                </m:MaxTime>
+                <m:AveTime>
+                    <m:Time>
+                        P3M\n
+                    </m:Time>
+                </m:AveTime>
+            </env:Detail>
+        </env:Fault>
+    </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.txt?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.txt (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.txt Sun Mar 26 20:05:56
2006
@@ -0,0 +1,16 @@
+POST /axis/services/EchoService HTTP/1.1
+Host: 127.0.0.1
+Content-Type: application/soap+xml; charset="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" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2" ></axis2:echoVoid>
+    </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage.xml Sun Mar 26 20:05:56
2006
@@ -0,0 +1,20 @@
+<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"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage1.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage1.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/soapmessage1.xml Sun Mar 26 20:05:56
2006
@@ -0,0 +1,27 @@
+<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"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <ns1:getBalance soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+            xmlns:ns1="http://localhost:8081/axis/services/BankPort">
+            <ns1:accountNo href="#id0"/>
+        </ns1:getBalance>
+        <multiRef xmlns="tempUri" id="id0" soapenc:root="0"
+            soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+            xsi:type="xsd:int"
+            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001
+        </multiRef>
+    </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/test.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/test.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/test.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/test.xml Sun Mar 26 20:05:56 2006
@@ -0,0 +1,59 @@
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
+    <env:Header>
+        <test:echoOk xmlns:test="http://example.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="true"
+            env:anyAttribute="any value">
+            foo
+        </test:echoOk>
+        <test1:echoOk1 xmlns:test1="http://example1.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/next"
+            env:mustUnderstand="false"
+            env:anyAttribute="any value">
+            foo
+        </test1:echoOk1>
+        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="1"
+            env:anyAttribute="any value">
+            foo
+        </test2:echoOk2>
+    </env:Header>
+    <env:Body>
+        <env:Fault>
+            <env:Code>
+                <env:Value>env:Sender</env:Value>
+                <env:Subcode>
+                    <env:Value>m:MessageTimeout In First Subcode</env:Value>
+                    <env:Subcode>
+                        <env:Value>m:MessageTimeout In Second Subcode</env:Value>
+                        <env:Subcode>
+                            <env:Value>m:MessageTimeout In Third Subcode</env:Value>
+                        </env:Subcode>
+                    </env:Subcode>
+                </env:Subcode>
+            </env:Code>
+            <env:Reason>
+                <env:Text xml:lang="en">Sender Timeout</env:Text>
+            </env:Reason>
+            <env:Node>
+                http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver
+            </env:Node>
+            <env:Role>
+                ultimateReceiver
+            </env:Role>
+            <env:Detail xmlns:m="http:www.sample.org">
+                Details of error
+                <m:MaxTime m:detail="This is only a test">
+                    P5M\n
+                </m:MaxTime>
+                <m:AveTime>
+                    <m:Time>
+                        P3M\n
+                    </m:Time>
+                </m:AveTime>
+            </env:Detail>
+        </env:Fault>
+    </env:Body>
+</env:Envelope>
+

Added: webservices/axis2/trunk/c/test/resources/xml/soap/whitespacedMessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/whitespacedMessage.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/whitespacedMessage.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/whitespacedMessage.xml Sun Mar 26 20:05:56
2006
@@ -0,0 +1,27 @@
+<?xml version='1.0' ?>
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+
+    <env:Header>
+
+
+        <wsa:MessageID env:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To env:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From env:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+
+    </env:Header>
+    <env:Body>
+
+
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+
+
+    </env:Body>
+</env:Envelope>
\ No newline at end of file

Added: webservices/axis2/trunk/c/test/resources/xml/soap/wrongEnvelopeNamespace.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/resources/xml/soap/wrongEnvelopeNamespace.xml?rev=389016&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/resources/xml/soap/wrongEnvelopeNamespace.xml (added)
+++ webservices/axis2/trunk/c/test/resources/xml/soap/wrongEnvelopeNamespace.xml Sun Mar 26
20:05:56 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<soap:Envelope
+xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
+soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
+
+  <soap:Body xmlns:m="http://www.stock.org/stock">
+    <m:GetStockPrice>
+      <m:StockName>IBM</m:StockName>
+    </m:GetStockPrice>
+  </soap:Body>
+
+</soap:Envelope>
\ No newline at end of file

Modified: webservices/axis2/trunk/c/test/unit/main.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/unit/main.c?rev=389016&r1=389015&r2=389016&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/unit/main.c (original)
+++ webservices/axis2/trunk/c/test/unit/main.c Sun Mar 26 20:05:56 2006
@@ -5,7 +5,6 @@
 #include "core/description/description_test.h"
 #include "core/engine/engine_test.h"
 #include "wsdl/wsdl_test.h"
-#include <stdio.h>
 
 void RunAllTests(void) {
     CuString *output = CuStringNew();

Modified: webservices/axis2/trunk/c/test/xml/om/test_om.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/om/test_om.c?rev=389016&r1=389015&r2=389016&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/om/test_om.c (original)
+++ webservices/axis2/trunk/c/test/xml/om/test_om.c Sun Mar 26 20:05:56 2006
@@ -265,7 +265,7 @@
 int
 main (int argc, char *argv[])
 {
-    char *file_name = "test.xml";
+    char *file_name = "./../../resources/xml/om/test.xml";
     if (argc > 1)
         file_name = argv[1];
     allocator = axis2_allocator_init (NULL);

Modified: webservices/axis2/trunk/c/test/xml/soap/test_soap.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/soap/test_soap.c?rev=389016&r1=389015&r2=389016&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/test_soap.c (original)
+++ webservices/axis2/trunk/c/test/xml/soap/test_soap.c Sun Mar 26 20:05:56 2006
@@ -328,8 +328,8 @@
     axis2_allocator_t *allocator = NULL;
     axis2_error_t *error = NULL;
     axis2_log_t *log = NULL;
-    axis2_char_t *uri = AXIS2_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI;
-    char *filename = "test.xml";
+    axis2_char_t *uri = AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI;
+    char *filename = "./../../resources/xml/soap/test.xml";
     if(argc > 1)
         filename = argv[1];
     if(argc > 2)



Mime
View raw message