-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also handle the case where the WSDL has two bindings.
- Loading branch information
Jim Kingdon
committed
Jan 18, 2011
1 parent
76ea08a
commit 4f98479
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Example of a WSDL with two <binding> tags ("sections" in Savon | ||
parlance). | ||
This is stripped down from a real example found in the wild, although | ||
having different operations for the SOAP 1.1 and SOAP 1.2 bindings | ||
is hypothetical (the real-world example I saw had the same operations | ||
in each binding section). --> | ||
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<types> | ||
</types> | ||
<portType name="BlogSoap"> | ||
</portType> | ||
<binding name="BlogSoap"> | ||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> | ||
<operation name="Post" /> | ||
<operation name="Post11only" /> | ||
</binding> | ||
<binding name="BlogSoap12"> | ||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> | ||
<operation name="Post" /> | ||
<operation name="Post12only" /> | ||
</binding> | ||
</definitions> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters