<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ows="http://www.wfscorp.com/v1/OWS">
<soapenv:Header/>
<soapenv:Body>
<ows:request>
<ows:Caller-Application>?</ows:Caller-Application>
<ows:Caller-User>?</ows:Caller-User>
<ows:Fail-Fast>?</ows:Fail-Fast>
<ows:Entities>
<!--Optional:-->
<ows:Customer-Contact>
<ows:EntityId>?</ows:EntityId>
<ows:LastName>?</ows:LastName>
<ows:FirstName>?</ows:FirstName>
<!--Optional:-->
<ows:City>?</ows:City>
<!--Optional:-->
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:PhoneAreaCode>?</ows:PhoneAreaCode>
<ows:CustomerId>?</ows:CustomerId>
<ows:CustomerSiteId>?</ows:CustomerSiteId>
</ows:Customer-Contact>
<!--Optional:-->
<ows:Supplier-Contact>
<ows:EntityId>?</ows:EntityId>
<ows:LastName>?</ows:LastName>
<!--Optional:-->
<ows:MiddleName>?</ows:MiddleName>
<ows:FirstName>?</ows:FirstName>
<!--Optional:-->
<ows:City>?</ows:City>
<!--Optional:-->
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:SiteAreaCode>?</ows:SiteAreaCode>
<!--Optional:-->
<ows:SiteFaxAreaCode>?</ows:SiteFaxAreaCode>
<!--Optional:-->
<ows:ContactAreaCode>?</ows:ContactAreaCode>
<!--Optional:-->
<ows:ContactAltAreaCode>?</ows:ContactAltAreaCode>
<!--Optional:-->
<ows:ContactFaxAreaCode>?</ows:ContactFaxAreaCode>
<ows:VendorId>?</ows:VendorId>
<ows:VendorSiteId>?</ows:VendorSiteId>
</ows:Supplier-Contact>
<!--Optional:-->
<ows:Customer>
<ows:EntityId>?</ows:EntityId>
<!--Optional:-->
<ows:EntityName>VNESHECONOMBANK</ows:EntityName>
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:CustomerId>?</ows:CustomerId>
<!--Optional:-->
<ows:CustomerSiteUseId>?</ows:CustomerSiteUseId>
<!--Optional:-->
<ows:OperatingUnit>?</ows:OperatingUnit>
</ows:Customer>
<!--Optional:-->
<ows:CustomerSite>
<ows:EntityId>?</ows:EntityId>
<ows:EntityName>?</ows:EntityName>
<!--Optional:-->
<ows:City>?</ows:City>
<!--Optional:-->
<ows:Country>?</ows:Country>
<ows:OperatingUnit>?</ows:OperatingUnit>
<!--Optional:-->
<ows:CustomerId>?</ows:CustomerId>
<!--Optional:-->
<ows:CustomerSiteUseId>?</ows:CustomerSiteUseId>
</ows:CustomerSite>
<!--Optional:-->
<ows:Supplier>
<ows:EntityId>?</ows:EntityId>
<ows:EntityName>?</ows:EntityName>
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:AreaCode>?</ows:AreaCode>
<!--Optional:-->
<ows:VendorSiteId>?</ows:VendorSiteId>
</ows:Supplier>
<!--Optional:-->
<ows:SupplierSite>
<ows:EntityId>?</ows:EntityId>
<ows:EntityName>?</ows:EntityName>
<!--Optional:-->
<ows:City>?</ows:City>
<ows:Country>?</ows:Country>
</ows:SupplierSite>
<!--Optional:-->
<ows:Customer-Bank>
<ows:EntityId>?</ows:EntityId>
<ows:EntityName>?</ows:EntityName>
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:AreaCode>?</ows:AreaCode>
<!--Optional:-->
<ows:ContactAreaCode>?</ows:ContactAreaCode>
<!--Optional:-->
<ows:CustomerSiteUseId>?</ows:CustomerSiteUseId>
</ows:Customer-Bank>
<!--Optional:-->
<ows:Supplier-Bank>
<ows:EntityId>?</ows:EntityId>
<ows:EntityName>?</ows:EntityName>
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:AreaCode>?</ows:AreaCode>
<!--Optional:-->
<ows:ContactAreaCode>?</ows:ContactAreaCode>
<!--Optional:-->
<ows:VendorSiteId>?</ows:VendorSiteId>
</ows:Supplier-Bank>
<!--Optional:-->
<ows:FBO>
<ows:EntityId>?</ows:EntityId>
<!--Optional:-->
<ows:EntityName>?</ows:EntityName>
<ows:Country>?</ows:Country>
</ows:FBO>
<!--Optional:-->
<ows:Vessel>
<ows:EntityId>?</ows:EntityId>
<!--Optional:-->
<ows:EntityName>?</ows:EntityName>
<!--Optional:-->
<ows:Country>?</ows:Country>
<!--Optional:-->
<ows:IMO>?</ows:IMO>
</ows:Vessel>
<!--Optional:-->
<ows:Tail-Number>
<ows:EntityId>?</ows:EntityId>
<!--Optional:-->
<ows:EntityName>?</ows:EntityName>
<ows:Country>?</ows:Country>
</ows:Tail-Number>
<!--Optional:-->
<ows:Port>
<ows:EntityId>?</ows:EntityId>
<!--Optional:-->
<ows:EntityName>?</ows:EntityName>
<ows:Country>?</ows:Country>
</ows:Port>
<!--Optional:-->
<ows:Employee>
<ows:EntityId>?</ows:EntityId>
<!--Optional:-->
<ows:LastName>?</ows:LastName>
<!--Optional:-->
<ows:FirstName>?</ows:FirstName>
</ows:Employee>
</ows:Entities>
</ows:request>
</soapenv:Body>
</soapenv:Envelope>
--
You received this message because you are subscribed to the Google Groups "Savon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to savonrb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://www.wfscorp.com/v1/OWS" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<ns1:request>
<request>
<entities>
<customer>
<entityName>VNESHECONOMBANK</entityName>
</customer>
</entities>
</request>
</ns1:request>
</env:Body>
</env:Envelope>
******************** end of savon generated request *********************
From the top, notice the things that I have highlighted in yellow:
1. I specify a wsdl file, while your example specifies an endpoint. Should I use and endpoint instead? I'm not sure what my endpoint should be unfortunately.
2. Notice that SOAP inserts the ows namespace prefix while Savon does not. Is that a problem, do you think?
2. When generating the request, Savon inserts and extra "request" element. Should I remove the "request" entry from my hashmap?