savon_with_adapter 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.travis.yml +11 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +1042 -0
- data/CONTRIBUTING.md +46 -0
- data/Gemfile +18 -0
- data/LICENSE +20 -0
- data/README.md +81 -0
- data/Rakefile +14 -0
- data/donate.png +0 -0
- data/lib/savon.rb +27 -0
- data/lib/savon/block_interface.rb +26 -0
- data/lib/savon/builder.rb +166 -0
- data/lib/savon/client.rb +89 -0
- data/lib/savon/core_ext/string.rb +29 -0
- data/lib/savon/header.rb +70 -0
- data/lib/savon/http_error.rb +27 -0
- data/lib/savon/log_message.rb +48 -0
- data/lib/savon/message.rb +35 -0
- data/lib/savon/mock.rb +5 -0
- data/lib/savon/mock/expectation.rb +71 -0
- data/lib/savon/mock/spec_helper.rb +62 -0
- data/lib/savon/model.rb +80 -0
- data/lib/savon/operation.rb +127 -0
- data/lib/savon/options.rb +336 -0
- data/lib/savon/qualified_message.rb +49 -0
- data/lib/savon/request.rb +89 -0
- data/lib/savon/request_logger.rb +48 -0
- data/lib/savon/response.rb +112 -0
- data/lib/savon/soap_fault.rb +48 -0
- data/lib/savon/version.rb +3 -0
- data/savon.gemspec +52 -0
- data/spec/fixtures/gzip/message.gz +0 -0
- data/spec/fixtures/response/another_soap_fault.xml +14 -0
- data/spec/fixtures/response/authentication.xml +14 -0
- data/spec/fixtures/response/header.xml +13 -0
- data/spec/fixtures/response/list.xml +18 -0
- data/spec/fixtures/response/multi_ref.xml +39 -0
- data/spec/fixtures/response/soap_fault.xml +8 -0
- data/spec/fixtures/response/soap_fault12.xml +18 -0
- data/spec/fixtures/response/taxcloud.xml +1 -0
- data/spec/fixtures/ssl/client_cert.pem +16 -0
- data/spec/fixtures/ssl/client_encrypted_key.pem +30 -0
- data/spec/fixtures/ssl/client_encrypted_key_cert.pem +24 -0
- data/spec/fixtures/ssl/client_key.pem +15 -0
- data/spec/fixtures/wsdl/authentication.xml +63 -0
- data/spec/fixtures/wsdl/betfair.xml +2981 -0
- data/spec/fixtures/wsdl/edialog.xml +15416 -0
- data/spec/fixtures/wsdl/interhome.xml +2137 -0
- data/spec/fixtures/wsdl/lower_camel.xml +52 -0
- data/spec/fixtures/wsdl/multiple_namespaces.xml +92 -0
- data/spec/fixtures/wsdl/multiple_types.xml +60 -0
- data/spec/fixtures/wsdl/taxcloud.xml +934 -0
- data/spec/fixtures/wsdl/team_software.xml +1 -0
- data/spec/fixtures/wsdl/vies.xml +176 -0
- data/spec/fixtures/wsdl/wasmuth.xml +153 -0
- data/spec/integration/centra_spec.rb +72 -0
- data/spec/integration/email_example_spec.rb +32 -0
- data/spec/integration/random_quote_spec.rb +23 -0
- data/spec/integration/ratp_example_spec.rb +28 -0
- data/spec/integration/stockquote_example_spec.rb +28 -0
- data/spec/integration/support/application.rb +82 -0
- data/spec/integration/support/server.rb +84 -0
- data/spec/integration/temperature_example_spec.rb +46 -0
- data/spec/integration/zipcode_example_spec.rb +42 -0
- data/spec/savon/builder_spec.rb +86 -0
- data/spec/savon/client_spec.rb +198 -0
- data/spec/savon/core_ext/string_spec.rb +37 -0
- data/spec/savon/features/message_tag_spec.rb +61 -0
- data/spec/savon/http_error_spec.rb +49 -0
- data/spec/savon/log_message_spec.rb +33 -0
- data/spec/savon/message_spec.rb +40 -0
- data/spec/savon/mock_spec.rb +157 -0
- data/spec/savon/model_spec.rb +154 -0
- data/spec/savon/observers_spec.rb +92 -0
- data/spec/savon/operation_spec.rb +211 -0
- data/spec/savon/options_spec.rb +772 -0
- data/spec/savon/request_spec.rb +493 -0
- data/spec/savon/response_spec.rb +258 -0
- data/spec/savon/soap_fault_spec.rb +126 -0
- data/spec/spec_helper.rb +30 -0
- data/spec/support/endpoint.rb +25 -0
- data/spec/support/fixture.rb +39 -0
- data/spec/support/integration.rb +9 -0
- data/spec/support/stdout.rb +25 -0
- metadata +310 -0
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="ServiceManager" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><wsp:Policy wsu:Id="BasicHttpBinding_IWinTeamServiceManager_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="https://winteamservicestest.myteamsoftware.com/Services.svc?xsd=xsd0" namespace="http://tempuri.org/"/><xsd:import schemaLocation="https://winteamservicestest.myteamsoftware.com/Services.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="https://winteamservicestest.myteamsoftware.com/Services.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/TeamSoftware.WinTeam.Validator"/><xsd:import schemaLocation="https://winteamservicestest.myteamsoftware.com/Services.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xsd:schema></wsdl:types><wsdl:message name="IWinTeamServiceManager_Login_InputMessage"><wsdl:part name="parameters" element="tns:Login"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_Login_OutputMessage"><wsdl:part name="parameters" element="tns:LoginResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_SaveEmployee_InputMessage"><wsdl:part name="parameters" element="tns:SaveEmployee"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_SaveEmployee_OutputMessage"><wsdl:part name="parameters" element="tns:SaveEmployeeResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_SavePartialEmployee_InputMessage"><wsdl:part name="parameters" element="tns:SavePartialEmployee"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_SavePartialEmployee_OutputMessage"><wsdl:part name="parameters" element="tns:SavePartialEmployeeResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_GetEmployeeComboListXML_InputMessage"><wsdl:part name="parameters" element="tns:GetEmployeeComboListXML"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_GetEmployeeComboListXML_OutputMessage"><wsdl:part name="parameters" element="tns:GetEmployeeComboListXMLResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_eHubValidEmployee_InputMessage"><wsdl:part name="parameters" element="tns:eHubValidEmployee"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_eHubValidEmployee_OutputMessage"><wsdl:part name="parameters" element="tns:eHubValidEmployeeResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_eHubValidCustomer_InputMessage"><wsdl:part name="parameters" element="tns:eHubValidCustomer"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_eHubValidCustomer_OutputMessage"><wsdl:part name="parameters" element="tns:eHubValidCustomerResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_ValidEmployee_InputMessage"><wsdl:part name="parameters" element="tns:ValidEmployee"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_ValidEmployee_OutputMessage"><wsdl:part name="parameters" element="tns:ValidEmployeeResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeProfile_InputMessage"><wsdl:part name="parameters" element="tns:EmployeeProfile"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeProfile_OutputMessage"><wsdl:part name="parameters" element="tns:EmployeeProfileResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeComplianceCodeImport_InputMessage"><wsdl:part name="parameters" element="tns:EmployeeComplianceCodeImport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeComplianceCodeImport_OutputMessage"><wsdl:part name="parameters" element="tns:EmployeeComplianceCodeImportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeComplianceCodesCompletedExport_InputMessage"><wsdl:part name="parameters" element="tns:EmployeeComplianceCodesCompletedExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeComplianceCodesCompletedExport_OutputMessage"><wsdl:part name="parameters" element="tns:EmployeeComplianceCodesCompletedExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeComplianceCodesNotCompletedExport_InputMessage"><wsdl:part name="parameters" element="tns:EmployeeComplianceCodesNotCompletedExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_EmployeeComplianceCodesNotCompletedExport_OutputMessage"><wsdl:part name="parameters" element="tns:EmployeeComplianceCodesNotCompletedExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_PS_TT_TK_Hours_Import_InputMessage"><wsdl:part name="parameters" element="tns:PS_TT_TK_Hours_Import"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_PS_TT_TK_Hours_Import_OutputMessage"><wsdl:part name="parameters" element="tns:PS_TT_TK_Hours_ImportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_PS_TT_TK_Hours_BatchImport_InputMessage"><wsdl:part name="parameters" element="tns:PS_TT_TK_Hours_BatchImport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_PS_TT_TK_Hours_BatchImport_OutputMessage"><wsdl:part name="parameters" element="tns:PS_TT_TK_Hours_BatchImportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_JobExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_JobExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_JobExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_JobExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_EmployeeExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_EmployeeExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_EmployeeExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_EmployeeExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_SingleEmployeeExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_SingleEmployeeExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_SingleEmployeeExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_SingleEmployeeExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_PostExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_PostExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_PostExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_PostExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_JobContactExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_JobContactExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_JobContactExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_JobContactExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_SchedulingExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_SchedulingExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_SchedulingExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_SchedulingExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_JobHolidayExport_InputMessage"><wsdl:part name="parameters" element="tns:CyCop_JobHolidayExport"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_CyCop_JobHolidayExport_OutputMessage"><wsdl:part name="parameters" element="tns:CyCop_JobHolidayExportResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_GetActiveDirectoryEmployees_InputMessage"><wsdl:part name="parameters" element="tns:GetActiveDirectoryEmployees"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_GetActiveDirectoryEmployees_OutputMessage"><wsdl:part name="parameters" element="tns:GetActiveDirectoryEmployeesResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_UploadNewHireDocuments_InputMessage"><wsdl:part name="parameters" element="tns:UploadNewHireDocuments"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_UploadNewHireDocuments_OutputMessage"><wsdl:part name="parameters" element="tns:UploadNewHireDocumentsResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_LMS_GetActiveEmployees_InputMessage"><wsdl:part name="parameters" element="tns:LMS_GetActiveEmployees"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_LMS_GetActiveEmployees_OutputMessage"><wsdl:part name="parameters" element="tns:LMS_GetActiveEmployeesResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_LMS_ProcessFile_InputMessage"><wsdl:part name="parameters" element="tns:LMS_ProcessFile"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_LMS_ProcessFile_OutputMessage"><wsdl:part name="parameters" element="tns:LMS_ProcessFileResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_UpdateComplianceCode_InputMessage"><wsdl:part name="parameters" element="tns:UpdateComplianceCode"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_UpdateComplianceCode_OutputMessage"><wsdl:part name="parameters" element="tns:UpdateComplianceCodeResponse"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_DeleteComplianceCode_InputMessage"><wsdl:part name="parameters" element="tns:DeleteComplianceCode"/></wsdl:message><wsdl:message name="IWinTeamServiceManager_DeleteComplianceCode_OutputMessage"><wsdl:part name="parameters" element="tns:DeleteComplianceCodeResponse"/></wsdl:message><wsdl:portType name="IWinTeamServiceManager"><wsdl:operation name="Login"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/Login" message="tns:IWinTeamServiceManager_Login_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/LoginResponse" message="tns:IWinTeamServiceManager_Login_OutputMessage"/></wsdl:operation><wsdl:operation name="SaveEmployee"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/SaveEmployee" message="tns:IWinTeamServiceManager_SaveEmployee_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/SaveEmployeeResponse" message="tns:IWinTeamServiceManager_SaveEmployee_OutputMessage"/></wsdl:operation><wsdl:operation name="SavePartialEmployee"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/SavePartialEmployee" message="tns:IWinTeamServiceManager_SavePartialEmployee_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/SavePartialEmployeeResponse" message="tns:IWinTeamServiceManager_SavePartialEmployee_OutputMessage"/></wsdl:operation><wsdl:operation name="GetEmployeeComboListXML"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/GetEmployeeComboListXML" message="tns:IWinTeamServiceManager_GetEmployeeComboListXML_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/GetEmployeeComboListXMLResponse" message="tns:IWinTeamServiceManager_GetEmployeeComboListXML_OutputMessage"/></wsdl:operation><wsdl:operation name="eHubValidEmployee"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/eHubValidEmployee" message="tns:IWinTeamServiceManager_eHubValidEmployee_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/eHubValidEmployeeResponse" message="tns:IWinTeamServiceManager_eHubValidEmployee_OutputMessage"/></wsdl:operation><wsdl:operation name="eHubValidCustomer"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/eHubValidCustomer" message="tns:IWinTeamServiceManager_eHubValidCustomer_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/eHubValidCustomerResponse" message="tns:IWinTeamServiceManager_eHubValidCustomer_OutputMessage"/></wsdl:operation><wsdl:operation name="ValidEmployee"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/ValidEmployee" message="tns:IWinTeamServiceManager_ValidEmployee_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/ValidEmployeeResponse" message="tns:IWinTeamServiceManager_ValidEmployee_OutputMessage"/></wsdl:operation><wsdl:operation name="EmployeeProfile"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeProfile" message="tns:IWinTeamServiceManager_EmployeeProfile_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeProfileResponse" message="tns:IWinTeamServiceManager_EmployeeProfile_OutputMessage"/></wsdl:operation><wsdl:operation name="EmployeeComplianceCodeImport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodeImport" message="tns:IWinTeamServiceManager_EmployeeComplianceCodeImport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodeImportResponse" message="tns:IWinTeamServiceManager_EmployeeComplianceCodeImport_OutputMessage"/></wsdl:operation><wsdl:operation name="EmployeeComplianceCodesCompletedExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodesCompletedExport" message="tns:IWinTeamServiceManager_EmployeeComplianceCodesCompletedExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodesCompletedExportResponse" message="tns:IWinTeamServiceManager_EmployeeComplianceCodesCompletedExport_OutputMessage"/></wsdl:operation><wsdl:operation name="EmployeeComplianceCodesNotCompletedExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodesNotCompletedExport" message="tns:IWinTeamServiceManager_EmployeeComplianceCodesNotCompletedExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodesNotCompletedExportResponse" message="tns:IWinTeamServiceManager_EmployeeComplianceCodesNotCompletedExport_OutputMessage"/></wsdl:operation><wsdl:operation name="PS_TT_TK_Hours_Import"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/PS_TT_TK_Hours_Import" message="tns:IWinTeamServiceManager_PS_TT_TK_Hours_Import_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/PS_TT_TK_Hours_ImportResponse" message="tns:IWinTeamServiceManager_PS_TT_TK_Hours_Import_OutputMessage"/></wsdl:operation><wsdl:operation name="PS_TT_TK_Hours_BatchImport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/PS_TT_TK_Hours_BatchImport" message="tns:IWinTeamServiceManager_PS_TT_TK_Hours_BatchImport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/PS_TT_TK_Hours_BatchImportResponse" message="tns:IWinTeamServiceManager_PS_TT_TK_Hours_BatchImport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_JobExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_JobExport" message="tns:IWinTeamServiceManager_CyCop_JobExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_JobExportResponse" message="tns:IWinTeamServiceManager_CyCop_JobExport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_EmployeeExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_EmployeeExport" message="tns:IWinTeamServiceManager_CyCop_EmployeeExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_EmployeeExportResponse" message="tns:IWinTeamServiceManager_CyCop_EmployeeExport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_SingleEmployeeExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_SingleEmployeeExport" message="tns:IWinTeamServiceManager_CyCop_SingleEmployeeExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_SingleEmployeeExportResponse" message="tns:IWinTeamServiceManager_CyCop_SingleEmployeeExport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_PostExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_PostExport" message="tns:IWinTeamServiceManager_CyCop_PostExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_PostExportResponse" message="tns:IWinTeamServiceManager_CyCop_PostExport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_JobContactExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_JobContactExport" message="tns:IWinTeamServiceManager_CyCop_JobContactExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_JobContactExportResponse" message="tns:IWinTeamServiceManager_CyCop_JobContactExport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_SchedulingExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_SchedulingExport" message="tns:IWinTeamServiceManager_CyCop_SchedulingExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_SchedulingExportResponse" message="tns:IWinTeamServiceManager_CyCop_SchedulingExport_OutputMessage"/></wsdl:operation><wsdl:operation name="CyCop_JobHolidayExport"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_JobHolidayExport" message="tns:IWinTeamServiceManager_CyCop_JobHolidayExport_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/CyCop_JobHolidayExportResponse" message="tns:IWinTeamServiceManager_CyCop_JobHolidayExport_OutputMessage"/></wsdl:operation><wsdl:operation name="GetActiveDirectoryEmployees"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/GetActiveDirectoryEmployees" message="tns:IWinTeamServiceManager_GetActiveDirectoryEmployees_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/GetActiveDirectoryEmployeesResponse" message="tns:IWinTeamServiceManager_GetActiveDirectoryEmployees_OutputMessage"/></wsdl:operation><wsdl:operation name="UploadNewHireDocuments"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/UploadNewHireDocuments" message="tns:IWinTeamServiceManager_UploadNewHireDocuments_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/UploadNewHireDocumentsResponse" message="tns:IWinTeamServiceManager_UploadNewHireDocuments_OutputMessage"/></wsdl:operation><wsdl:operation name="LMS_GetActiveEmployees"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/LMS_GetActiveEmployees" message="tns:IWinTeamServiceManager_LMS_GetActiveEmployees_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/LMS_GetActiveEmployeesResponse" message="tns:IWinTeamServiceManager_LMS_GetActiveEmployees_OutputMessage"/></wsdl:operation><wsdl:operation name="LMS_ProcessFile"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/LMS_ProcessFile" message="tns:IWinTeamServiceManager_LMS_ProcessFile_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/LMS_ProcessFileResponse" message="tns:IWinTeamServiceManager_LMS_ProcessFile_OutputMessage"/></wsdl:operation><wsdl:operation name="UpdateComplianceCode"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/UpdateComplianceCode" message="tns:IWinTeamServiceManager_UpdateComplianceCode_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/UpdateComplianceCodeResponse" message="tns:IWinTeamServiceManager_UpdateComplianceCode_OutputMessage"/></wsdl:operation><wsdl:operation name="DeleteComplianceCode"><wsdl:input wsaw:Action="http://tempuri.org/IWinTeamServiceManager/DeleteComplianceCode" message="tns:IWinTeamServiceManager_DeleteComplianceCode_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWinTeamServiceManager/DeleteComplianceCodeResponse" message="tns:IWinTeamServiceManager_DeleteComplianceCode_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IWinTeamServiceManager" type="tns:IWinTeamServiceManager"><wsp:PolicyReference URI="#BasicHttpBinding_IWinTeamServiceManager_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="Login"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/Login" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="SaveEmployee"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/SaveEmployee" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="SavePartialEmployee"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/SavePartialEmployee" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetEmployeeComboListXML"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/GetEmployeeComboListXML" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="eHubValidEmployee"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/eHubValidEmployee" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="eHubValidCustomer"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/eHubValidCustomer" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ValidEmployee"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/ValidEmployee" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="EmployeeProfile"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/EmployeeProfile" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="EmployeeComplianceCodeImport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodeImport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="EmployeeComplianceCodesCompletedExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodesCompletedExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="EmployeeComplianceCodesNotCompletedExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/EmployeeComplianceCodesNotCompletedExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="PS_TT_TK_Hours_Import"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/PS_TT_TK_Hours_Import" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="PS_TT_TK_Hours_BatchImport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/PS_TT_TK_Hours_BatchImport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_JobExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_JobExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_EmployeeExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_EmployeeExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_SingleEmployeeExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_SingleEmployeeExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_PostExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_PostExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_JobContactExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_JobContactExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_SchedulingExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_SchedulingExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CyCop_JobHolidayExport"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/CyCop_JobHolidayExport" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetActiveDirectoryEmployees"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/GetActiveDirectoryEmployees" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="UploadNewHireDocuments"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/UploadNewHireDocuments" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="LMS_GetActiveEmployees"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/LMS_GetActiveEmployees" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="LMS_ProcessFile"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/LMS_ProcessFile" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="UpdateComplianceCode"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/UpdateComplianceCode" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="DeleteComplianceCode"><soap:operation soapAction="http://tempuri.org/IWinTeamServiceManager/DeleteComplianceCode" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="ServiceManager"><wsdl:port name="BasicHttpBinding_IWinTeamServiceManager" binding="tns:BasicHttpBinding_IWinTeamServiceManager"><soap:address location="https://winteamservicestest.myteamsoftware.com/Services.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
|
@@ -0,0 +1,176 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<wsdl:definitions targetNamespace="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:tns1="urn:ec.europa.eu:taxud:vies:services:checkVat:types" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">
|
3
|
+
<xsd:documentation>
|
4
|
+
Specific disclaimer for this service ----------------------------------------- The
|
5
|
+
objective of this Internet site is to allow persons involved in the intra-Community supply of
|
6
|
+
goods or of services to obtain confirmation of the validity of the VAT identification number of
|
7
|
+
any specified person, in accordance to article 27 of Council Regulation (EC) No. 1798/2003 of 7
|
8
|
+
October 2003. Any other use and any extraction and use of the data which is not in conformity
|
9
|
+
with the objective of this site is strictly forbidden. Any retransmission of the contents of
|
10
|
+
this site, whether for a commercial purpose or otherwise, as well as any more general use other
|
11
|
+
than as far as is necessary to support the activity of a legitimate user (for example: to draw
|
12
|
+
up their own invoices) is expressly forbidden. In addition, any copying or reproduction of the
|
13
|
+
contents of this site is strictly forbidden. The European Commission maintains this website to
|
14
|
+
enhance the access by taxable persons making intra-Community supplies to verification of their
|
15
|
+
customers VAT identification numbers. Our goal is to supply instantaneous and accurate
|
16
|
+
information. However the Commission accepts no responsibility or liability whatsoever with
|
17
|
+
regard to the information obtained using this site. This information: - is obtained from Member
|
18
|
+
States databases over which the Commission services have no control and for which the Commission
|
19
|
+
assumes no responsibility; it is the responsibility of the Member States to keep their databases
|
20
|
+
complete, accurate and up to date; - is not professional or legal advice (if you need specific
|
21
|
+
advice, you should always consult a suitably qualified professional); - does not in itself give
|
22
|
+
a right to exempt intra-Community supplies from Value Added Tax; - does not change any
|
23
|
+
obligations imposed on taxable persons in relation to intra-Community supplies. It is our goal
|
24
|
+
to minimise disruption caused by technical errors. However some data or information on our site
|
25
|
+
may have been created or structured in files or formats which are not error-free and we cannot
|
26
|
+
guarantee that our service will not be interrupted or otherwise affected by such problems. The
|
27
|
+
Commission accepts no responsibility with regard to such problems incurred as a result of using
|
28
|
+
this site or any linked external sites. This disclaimer is not intended to limit the liability
|
29
|
+
of the Commission in contravention of any requirements laid down in applicable national law nor
|
30
|
+
to exclude its liability for matters which may not be excluded under that law. Usage: The
|
31
|
+
countryCode input parameter must follow the pattern [A-Z]{2} The vatNumber input parameter must
|
32
|
+
follow the [0-9A-Za-z\+\*\.]{2,12} In case of problem, the returned FaultString can take the
|
33
|
+
following specific values: - INVALID_INPUT: The provided CountryCode is invalid or the VAT
|
34
|
+
number is empty; - SERVICE_UNAVAILABLE: The SOAP service is unavailable, try again later; -
|
35
|
+
MS_UNAVAILABLE: The Member State service is unavailable, try again later or with another Member
|
36
|
+
State; - TIMEOUT: The Member State service could not be reach in time, try again later or with
|
37
|
+
another Member State; - SERVER_BUSY: The service can't process your request. Try again latter.
|
38
|
+
</xsd:documentation>
|
39
|
+
|
40
|
+
<wsdl:types>
|
41
|
+
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="urn:ec.europa.eu:taxud:vies:services:checkVat:types" xmlns="urn:ec.europa.eu:taxud:vies:services:checkVat:types">
|
42
|
+
<xsd:element name="checkVat">
|
43
|
+
<xsd:complexType>
|
44
|
+
<xsd:sequence>
|
45
|
+
<xsd:element name="countryCode" type="xsd:string"/>
|
46
|
+
<xsd:element name="vatNumber" type="xsd:string"/>
|
47
|
+
</xsd:sequence>
|
48
|
+
</xsd:complexType>
|
49
|
+
</xsd:element>
|
50
|
+
<xsd:element name="checkVatResponse">
|
51
|
+
<xsd:complexType>
|
52
|
+
<xsd:sequence>
|
53
|
+
<xsd:element name="countryCode" type="xsd:string"/>
|
54
|
+
<xsd:element name="vatNumber" type="xsd:string"/>
|
55
|
+
<xsd:element name="requestDate" type="xsd:date"/>
|
56
|
+
<xsd:element name="valid" type="xsd:boolean"/>
|
57
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="name" nillable="true" type="xsd:string"/>
|
58
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="address" nillable="true" type="xsd:string"/>
|
59
|
+
</xsd:sequence>
|
60
|
+
</xsd:complexType>
|
61
|
+
</xsd:element>
|
62
|
+
<xsd:element name="checkVatApprox">
|
63
|
+
<xsd:complexType>
|
64
|
+
<xsd:sequence>
|
65
|
+
<xsd:element name="countryCode" type="xsd:string"/>
|
66
|
+
<xsd:element name="vatNumber" type="xsd:string"/>
|
67
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderName" type="xsd:string"/>
|
68
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderCompanyType" type="tns1:companyTypeCode"/>
|
69
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderStreet" type="xsd:string"/>
|
70
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderPostcode" type="xsd:string"/>
|
71
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderCity" type="xsd:string"/>
|
72
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="requesterCountryCode" type="xsd:string"/>
|
73
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="requesterVatNumber" type="xsd:string"/>
|
74
|
+
</xsd:sequence>
|
75
|
+
</xsd:complexType>
|
76
|
+
</xsd:element>
|
77
|
+
<xsd:element name="checkVatApproxResponse">
|
78
|
+
<xsd:complexType>
|
79
|
+
<xsd:sequence>
|
80
|
+
<xsd:element name="countryCode" type="xsd:string"/>
|
81
|
+
<xsd:element name="vatNumber" type="xsd:string"/>
|
82
|
+
<xsd:element name="requestDate" type="xsd:date"/>
|
83
|
+
<xsd:element name="valid" type="xsd:boolean"/>
|
84
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderName" nillable="true" type="xsd:string"/>
|
85
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderCompanyType" nillable="true" type="tns1:companyTypeCode"/>
|
86
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderAddress" type="xsd:string"/>
|
87
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderStreet" type="xsd:string"/>
|
88
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderPostcode" type="xsd:string"/>
|
89
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderCity" type="xsd:string"/>
|
90
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderNameMatch" type="tns1:matchCode"/>
|
91
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderCompanyTypeMatch" type="tns1:matchCode"/>
|
92
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderStreetMatch" type="tns1:matchCode"/>
|
93
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderPostcodeMatch" type="tns1:matchCode"/>
|
94
|
+
<xsd:element maxOccurs="1" minOccurs="0" name="traderCityMatch" type="tns1:matchCode"/>
|
95
|
+
<xsd:element name="requestIdentifier" type="xsd:string"/>
|
96
|
+
</xsd:sequence>
|
97
|
+
</xsd:complexType>
|
98
|
+
</xsd:element>
|
99
|
+
<xsd:simpleType name="companyTypeCode">
|
100
|
+
<xsd:restriction base="xsd:string">
|
101
|
+
<xsd:pattern value="[A-Z]{2}\-[1-9][0-9]?"/>
|
102
|
+
</xsd:restriction>
|
103
|
+
</xsd:simpleType>
|
104
|
+
<xsd:simpleType name="matchCode">
|
105
|
+
<xsd:restriction base="xsd:string">
|
106
|
+
<xsd:enumeration value="1">
|
107
|
+
<xsd:annotation>
|
108
|
+
<xsd:documentation>VALID</xsd:documentation>
|
109
|
+
</xsd:annotation>
|
110
|
+
</xsd:enumeration>
|
111
|
+
<xsd:enumeration value="2">
|
112
|
+
<xsd:annotation>
|
113
|
+
<xsd:documentation>INVALID</xsd:documentation>
|
114
|
+
</xsd:annotation>
|
115
|
+
</xsd:enumeration>
|
116
|
+
</xsd:restriction>
|
117
|
+
</xsd:simpleType>
|
118
|
+
</xsd:schema>
|
119
|
+
</wsdl:types>
|
120
|
+
<wsdl:message name="checkVatRequest">
|
121
|
+
<wsdl:part name="parameters" element="tns1:checkVat">
|
122
|
+
</wsdl:part>
|
123
|
+
</wsdl:message>
|
124
|
+
<wsdl:message name="checkVatApproxResponse">
|
125
|
+
<wsdl:part name="parameters" element="tns1:checkVatApproxResponse">
|
126
|
+
</wsdl:part>
|
127
|
+
</wsdl:message>
|
128
|
+
<wsdl:message name="checkVatApproxRequest">
|
129
|
+
<wsdl:part name="parameters" element="tns1:checkVatApprox">
|
130
|
+
</wsdl:part>
|
131
|
+
</wsdl:message>
|
132
|
+
<wsdl:message name="checkVatResponse">
|
133
|
+
<wsdl:part name="parameters" element="tns1:checkVatResponse">
|
134
|
+
</wsdl:part>
|
135
|
+
</wsdl:message>
|
136
|
+
<wsdl:portType name="checkVatPortType">
|
137
|
+
<wsdl:operation name="checkVat">
|
138
|
+
<wsdl:input name="checkVatRequest" message="impl:checkVatRequest">
|
139
|
+
</wsdl:input>
|
140
|
+
<wsdl:output name="checkVatResponse" message="impl:checkVatResponse">
|
141
|
+
</wsdl:output>
|
142
|
+
</wsdl:operation>
|
143
|
+
<wsdl:operation name="checkVatApprox">
|
144
|
+
<wsdl:input name="checkVatApproxRequest" message="impl:checkVatApproxRequest">
|
145
|
+
</wsdl:input>
|
146
|
+
<wsdl:output name="checkVatApproxResponse" message="impl:checkVatApproxResponse">
|
147
|
+
</wsdl:output>
|
148
|
+
</wsdl:operation>
|
149
|
+
</wsdl:portType>
|
150
|
+
<wsdl:binding name="checkVatBinding" type="impl:checkVatPortType">
|
151
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
152
|
+
<wsdl:operation name="checkVat">
|
153
|
+
<wsdlsoap:operation soapAction=""/>
|
154
|
+
<wsdl:input name="checkVatRequest">
|
155
|
+
<wsdlsoap:body use="literal"/>
|
156
|
+
</wsdl:input>
|
157
|
+
<wsdl:output name="checkVatResponse">
|
158
|
+
<wsdlsoap:body use="literal"/>
|
159
|
+
</wsdl:output>
|
160
|
+
</wsdl:operation>
|
161
|
+
<wsdl:operation name="checkVatApprox">
|
162
|
+
<wsdlsoap:operation soapAction=""/>
|
163
|
+
<wsdl:input name="checkVatApproxRequest">
|
164
|
+
<wsdlsoap:body use="literal"/>
|
165
|
+
</wsdl:input>
|
166
|
+
<wsdl:output name="checkVatApproxResponse">
|
167
|
+
<wsdlsoap:body use="literal"/>
|
168
|
+
</wsdl:output>
|
169
|
+
</wsdl:operation>
|
170
|
+
</wsdl:binding>
|
171
|
+
<wsdl:service name="checkVatService">
|
172
|
+
<wsdl:port name="checkVatPort" binding="impl:checkVatBinding">
|
173
|
+
<wsdlsoap:address location="http://ec.europa.eu/taxation_customs/vies/services/checkVatService"/>
|
174
|
+
</wsdl:port>
|
175
|
+
</wsdl:service>
|
176
|
+
</wsdl:definitions>
|
@@ -0,0 +1,153 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.1-b01-. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.1-b01-. --><definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.online.msw/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.online.msw/" name="OnlineSyncService">
|
2
|
+
<types>
|
3
|
+
<xsd:schema>
|
4
|
+
<xsd:import namespace="http://ws.online.msw/" schemaLocation="http://www3.mediaservice-wasmuth.de:80/online-ws-2.0/OnlineSync?xsd=1" />
|
5
|
+
</xsd:schema>
|
6
|
+
<xsd:schema>
|
7
|
+
<xsd:import namespace="customers.model.online.msw" schemaLocation="http://www3.mediaservice-wasmuth.de:80/online-ws-2.0/OnlineSync?xsd=2" />
|
8
|
+
</xsd:schema>
|
9
|
+
</types>
|
10
|
+
<message name="getStTables">
|
11
|
+
<part name="parameters" element="tns:getStTables" />
|
12
|
+
</message>
|
13
|
+
<message name="getStTablesResponse">
|
14
|
+
<part name="parameters" element="tns:getStTablesResponse" />
|
15
|
+
</message>
|
16
|
+
<message name="getDbManager">
|
17
|
+
<part name="parameters" element="tns:getDbManager" />
|
18
|
+
</message>
|
19
|
+
<message name="getDbManagerResponse">
|
20
|
+
<part name="parameters" element="tns:getDbManagerResponse" />
|
21
|
+
</message>
|
22
|
+
<message name="getVermarkterData">
|
23
|
+
<part name="parameters" element="tns:getVermarkterData" />
|
24
|
+
</message>
|
25
|
+
<message name="getVermarkterDataResponse">
|
26
|
+
<part name="parameters" element="tns:getVermarkterDataResponse" />
|
27
|
+
</message>
|
28
|
+
<message name="getBelegungseinheitData">
|
29
|
+
<part name="parameters" element="tns:getBelegungseinheitData" />
|
30
|
+
</message>
|
31
|
+
<message name="getBelegungseinheitDataResponse">
|
32
|
+
<part name="parameters" element="tns:getBelegungseinheitDataResponse" />
|
33
|
+
</message>
|
34
|
+
<message name="getOnlineResponseData">
|
35
|
+
<part name="parameters" element="tns:getOnlineResponseData" />
|
36
|
+
</message>
|
37
|
+
<message name="getOnlineResponseDataResponse">
|
38
|
+
<part name="parameters" element="tns:getOnlineResponseDataResponse" />
|
39
|
+
</message>
|
40
|
+
<message name="getVermarkterList">
|
41
|
+
<part name="parameters" element="tns:getVermarkterList" />
|
42
|
+
</message>
|
43
|
+
<message name="getVermarkterListResponse">
|
44
|
+
<part name="parameters" element="tns:getVermarkterListResponse" />
|
45
|
+
</message>
|
46
|
+
<message name="getBelegungseinheitList">
|
47
|
+
<part name="parameters" element="tns:getBelegungseinheitList" />
|
48
|
+
</message>
|
49
|
+
<message name="getBelegungseinheitListResponse">
|
50
|
+
<part name="parameters" element="tns:getBelegungseinheitListResponse" />
|
51
|
+
</message>
|
52
|
+
<portType name="OnlineSync">
|
53
|
+
<operation name="getStTables">
|
54
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getStTablesRequest" message="tns:getStTables" />
|
55
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getStTablesResponse" message="tns:getStTablesResponse" />
|
56
|
+
</operation>
|
57
|
+
<operation name="getDbManager">
|
58
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getDbManagerRequest" message="tns:getDbManager" />
|
59
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getDbManagerResponse" message="tns:getDbManagerResponse" />
|
60
|
+
</operation>
|
61
|
+
<operation name="getVermarkterData">
|
62
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getVermarkterDataRequest" message="tns:getVermarkterData" />
|
63
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getVermarkterDataResponse" message="tns:getVermarkterDataResponse" />
|
64
|
+
</operation>
|
65
|
+
<operation name="getBelegungseinheitData">
|
66
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getBelegungseinheitDataRequest" message="tns:getBelegungseinheitData" />
|
67
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getBelegungseinheitDataResponse" message="tns:getBelegungseinheitDataResponse" />
|
68
|
+
</operation>
|
69
|
+
<operation name="getOnlineResponseData">
|
70
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getOnlineResponseDataRequest" message="tns:getOnlineResponseData" />
|
71
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getOnlineResponseDataResponse" message="tns:getOnlineResponseDataResponse" />
|
72
|
+
</operation>
|
73
|
+
<operation name="getVermarkterList">
|
74
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getVermarkterListRequest" message="tns:getVermarkterList" />
|
75
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getVermarkterListResponse" message="tns:getVermarkterListResponse" />
|
76
|
+
</operation>
|
77
|
+
<operation name="getBelegungseinheitList">
|
78
|
+
<input wsam:Action="http://ws.online.msw/OnlineSync/getBelegungseinheitListRequest" message="tns:getBelegungseinheitList" />
|
79
|
+
<output wsam:Action="http://ws.online.msw/OnlineSync/getBelegungseinheitListResponse" message="tns:getBelegungseinheitListResponse" />
|
80
|
+
</operation>
|
81
|
+
</portType>
|
82
|
+
<binding name="OnlineSyncPortBinding" type="tns:OnlineSync">
|
83
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
|
84
|
+
<operation name="getStTables">
|
85
|
+
<soap:operation soapAction="" />
|
86
|
+
<input>
|
87
|
+
<soap:body use="literal" />
|
88
|
+
</input>
|
89
|
+
<output>
|
90
|
+
<soap:body use="literal" />
|
91
|
+
</output>
|
92
|
+
</operation>
|
93
|
+
<operation name="getDbManager">
|
94
|
+
<soap:operation soapAction="" />
|
95
|
+
<input>
|
96
|
+
<soap:body use="literal" />
|
97
|
+
</input>
|
98
|
+
<output>
|
99
|
+
<soap:body use="literal" />
|
100
|
+
</output>
|
101
|
+
</operation>
|
102
|
+
<operation name="getVermarkterData">
|
103
|
+
<soap:operation soapAction="" />
|
104
|
+
<input>
|
105
|
+
<soap:body use="literal" />
|
106
|
+
</input>
|
107
|
+
<output>
|
108
|
+
<soap:body use="literal" />
|
109
|
+
</output>
|
110
|
+
</operation>
|
111
|
+
<operation name="getBelegungseinheitData">
|
112
|
+
<soap:operation soapAction="" />
|
113
|
+
<input>
|
114
|
+
<soap:body use="literal" />
|
115
|
+
</input>
|
116
|
+
<output>
|
117
|
+
<soap:body use="literal" />
|
118
|
+
</output>
|
119
|
+
</operation>
|
120
|
+
<operation name="getOnlineResponseData">
|
121
|
+
<soap:operation soapAction="" />
|
122
|
+
<input>
|
123
|
+
<soap:body use="literal" />
|
124
|
+
</input>
|
125
|
+
<output>
|
126
|
+
<soap:body use="literal" />
|
127
|
+
</output>
|
128
|
+
</operation>
|
129
|
+
<operation name="getVermarkterList">
|
130
|
+
<soap:operation soapAction="" />
|
131
|
+
<input>
|
132
|
+
<soap:body use="literal" />
|
133
|
+
</input>
|
134
|
+
<output>
|
135
|
+
<soap:body use="literal" />
|
136
|
+
</output>
|
137
|
+
</operation>
|
138
|
+
<operation name="getBelegungseinheitList">
|
139
|
+
<soap:operation soapAction="" />
|
140
|
+
<input>
|
141
|
+
<soap:body use="literal" />
|
142
|
+
</input>
|
143
|
+
<output>
|
144
|
+
<soap:body use="literal" />
|
145
|
+
</output>
|
146
|
+
</operation>
|
147
|
+
</binding>
|
148
|
+
<service name="OnlineSyncService">
|
149
|
+
<port name="OnlineSyncPort" binding="tns:OnlineSyncPortBinding">
|
150
|
+
<soap:address location="http://www3.mediaservice-wasmuth.de:80/online-ws-2.0/OnlineSync" />
|
151
|
+
</port>
|
152
|
+
</service>
|
153
|
+
</definitions>
|
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module LogInterceptor
|
4
|
+
@@intercepted_request = ""
|
5
|
+
def self.debug(message)
|
6
|
+
# save only the first XMLly message
|
7
|
+
if message.include? "xml version"
|
8
|
+
@@intercepted_request = message if @@intercepted_request == ""
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.info(message)
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.get_intercepted_request
|
16
|
+
@@intercepted_request
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.reset_intercepted_request
|
20
|
+
@@intercepted_request = ""
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe 'Correct translation of attributes to XML' do
|
25
|
+
it "new :@attr syntax: correctly maps a Ruby Hash to XML attributes" do
|
26
|
+
LogInterceptor.reset_intercepted_request
|
27
|
+
|
28
|
+
client = Savon.client(
|
29
|
+
:wsdl => "http://mt205.sabameeting.com/CWS/CWS.asmx?WSDL",
|
30
|
+
:logger => LogInterceptor
|
31
|
+
)
|
32
|
+
|
33
|
+
response = nil
|
34
|
+
begin
|
35
|
+
response = call_and_fail_gracefully(client, :add_new_user, :message => { :user => { :@userID => "test" } })
|
36
|
+
rescue
|
37
|
+
end
|
38
|
+
|
39
|
+
xml_doc = Nokogiri::XML(LogInterceptor.get_intercepted_request)
|
40
|
+
xml_doc.remove_namespaces!
|
41
|
+
|
42
|
+
attributes_element_not_present = xml_doc.xpath("//AddNewUser/attributes").blank?
|
43
|
+
|
44
|
+
puts "new syntax: attributes element not present: " + attributes_element_not_present.to_s
|
45
|
+
|
46
|
+
expect(attributes_element_not_present).to eq true
|
47
|
+
end
|
48
|
+
|
49
|
+
it "old :attributes! syntax: correctly maps a Ruby Hash to XML attributes" do
|
50
|
+
LogInterceptor.reset_intercepted_request
|
51
|
+
|
52
|
+
client = Savon.client(
|
53
|
+
:wsdl => "http://mt205.sabameeting.com/CWS/CWS.asmx?WSDL",
|
54
|
+
:logger => LogInterceptor
|
55
|
+
)
|
56
|
+
|
57
|
+
response = nil
|
58
|
+
begin
|
59
|
+
response = call_and_fail_gracefully(client, :add_new_user, :message => { :user => {}, :attributes! => { :user => { :userID => "test" } } })
|
60
|
+
rescue
|
61
|
+
end
|
62
|
+
|
63
|
+
xml_doc = Nokogiri::XML(LogInterceptor.get_intercepted_request)
|
64
|
+
xml_doc.remove_namespaces!
|
65
|
+
|
66
|
+
attributes_element_not_present = xml_doc.xpath("//AddNewUser/attributes").blank?
|
67
|
+
|
68
|
+
puts "new syntax: attributes element not present: " + attributes_element_not_present.to_s
|
69
|
+
|
70
|
+
expect(attributes_element_not_present).to eq true
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "Email example" do
|
4
|
+
|
5
|
+
it "passes Strings as they are" do
|
6
|
+
client = Savon.client(
|
7
|
+
# The WSDL document provided by the service.
|
8
|
+
:wsdl => "http://ws.cdyne.com/emailverify/Emailvernotestemail.asmx?wsdl",
|
9
|
+
|
10
|
+
# Lower timeouts so these specs don't take forever when the service is not available.
|
11
|
+
:open_timeout => 10,
|
12
|
+
:read_timeout => 10,
|
13
|
+
|
14
|
+
# Disable logging for cleaner spec output.
|
15
|
+
:log => false
|
16
|
+
)
|
17
|
+
|
18
|
+
response = call_and_fail_gracefully(client, :verify_email, :message => { :email => "soap@example.com", "LicenseKey" => "?" })
|
19
|
+
|
20
|
+
response_text = response.body[:verify_email_response][:verify_email_result][:response_text]
|
21
|
+
|
22
|
+
if response_text == "Current license key only allows so many checks"
|
23
|
+
# Fallback to not fail the specs when the service's API limit is reached,
|
24
|
+
# but to mark the spec as pending instead.
|
25
|
+
pending "API limit exceeded"
|
26
|
+
else
|
27
|
+
# The expected result. We unfortunately don't have a license key for this service.
|
28
|
+
response_text.should == "Email Domain Not Found"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'rpc/encoded binding test' do
|
4
|
+
|
5
|
+
it 'should should work with WSDLs that have rpc/encoded SOAP binding' do
|
6
|
+
client = Savon.client(
|
7
|
+
:wsdl => "http://www.boyzoid.com/comp/randomQuote.cfc?wsdl",
|
8
|
+
:open_timeout => 10,
|
9
|
+
:read_timeout => 10,
|
10
|
+
:log => false
|
11
|
+
)
|
12
|
+
|
13
|
+
begin
|
14
|
+
client.call(:get_quote)
|
15
|
+
rescue Savon::SOAPFault => e
|
16
|
+
$stderr.puts e.to_hash.inspect
|
17
|
+
f_c = e.to_hash[:fault][:faultstring]
|
18
|
+
f_c.should_not == 'No such operation \'getQuoteRequest\''
|
19
|
+
f_c.should == 'soapenv:Server.userException'
|
20
|
+
pending e
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|