savon 2.13.1 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/savon/builder.rb +4 -3
- data/lib/savon/model.rb +3 -3
- data/lib/savon/options.rb +1 -1
- data/lib/savon/response.rb +3 -3
- data/lib/savon/string_utils.rb +17 -0
- data/lib/savon/version.rb +1 -1
- data/lib/savon.rb +1 -0
- metadata +17 -76
- data/.gitignore +0 -16
- data/.yardopts +0 -6
- data/CONTRIBUTING.md +0 -42
- data/Gemfile +0 -8
- data/RELEASING.md +0 -10
- data/lib/savon/core_ext/string.rb +0 -30
- data/savon.gemspec +0 -47
- data/spec/fixtures/gzip/message.gz +0 -0
- data/spec/fixtures/response/another_soap_fault.xml +0 -14
- data/spec/fixtures/response/authentication.xml +0 -14
- data/spec/fixtures/response/empty_soap_fault.xml +0 -13
- data/spec/fixtures/response/f5.xml +0 -39
- data/spec/fixtures/response/header.xml +0 -13
- data/spec/fixtures/response/list.xml +0 -18
- data/spec/fixtures/response/multi_ref.xml +0 -39
- data/spec/fixtures/response/no_body.xml +0 -1
- data/spec/fixtures/response/soap_fault.xml +0 -8
- data/spec/fixtures/response/soap_fault12.xml +0 -18
- data/spec/fixtures/response/soap_fault_funky.xml +0 -8
- data/spec/fixtures/response/taxcloud.xml +0 -1
- data/spec/fixtures/ssl/client_cert.pem +0 -16
- data/spec/fixtures/ssl/client_encrypted_key.pem +0 -30
- data/spec/fixtures/ssl/client_encrypted_key_cert.pem +0 -24
- data/spec/fixtures/ssl/client_key.pem +0 -15
- data/spec/fixtures/wsdl/authentication.xml +0 -63
- data/spec/fixtures/wsdl/betfair.xml +0 -2981
- data/spec/fixtures/wsdl/brand.xml +0 -624
- data/spec/fixtures/wsdl/edialog.xml +0 -15416
- data/spec/fixtures/wsdl/elements_in_types.xml +0 -43
- data/spec/fixtures/wsdl/interhome.xml +0 -2137
- data/spec/fixtures/wsdl/lower_camel.xml +0 -52
- data/spec/fixtures/wsdl/multiple_namespaces.xml +0 -92
- data/spec/fixtures/wsdl/multiple_types.xml +0 -60
- data/spec/fixtures/wsdl/no_message_tag.xml +0 -1267
- data/spec/fixtures/wsdl/taxcloud.xml +0 -934
- data/spec/fixtures/wsdl/team_software.xml +0 -1
- data/spec/fixtures/wsdl/vies.xml +0 -176
- data/spec/fixtures/wsdl/wasmuth.xml +0 -153
- data/spec/integration/support/application.rb +0 -114
- data/spec/integration/support/server.rb +0 -85
- data/spec/integration/zipcode_example_spec.rb +0 -39
- data/spec/savon/builder_spec.rb +0 -138
- data/spec/savon/client_spec.rb +0 -272
- data/spec/savon/core_ext/string_spec.rb +0 -38
- data/spec/savon/features/message_tag_spec.rb +0 -62
- data/spec/savon/http_error_spec.rb +0 -57
- data/spec/savon/log_message_spec.rb +0 -51
- data/spec/savon/message_spec.rb +0 -61
- data/spec/savon/mock_spec.rb +0 -175
- data/spec/savon/model_spec.rb +0 -183
- data/spec/savon/multipart_request_spec.rb +0 -46
- data/spec/savon/observers_spec.rb +0 -93
- data/spec/savon/operation_spec.rb +0 -207
- data/spec/savon/options_spec.rb +0 -1154
- data/spec/savon/qualified_message_spec.rb +0 -102
- data/spec/savon/request_logger_spec.rb +0 -38
- data/spec/savon/request_spec.rb +0 -581
- data/spec/savon/response_spec.rb +0 -276
- data/spec/savon/soap_fault_spec.rb +0 -147
- data/spec/savon/softlayer_spec.rb +0 -42
- data/spec/spec_helper.rb +0 -31
- data/spec/support/adapters.rb +0 -49
- data/spec/support/endpoint.rb +0 -26
- data/spec/support/fixture.rb +0 -40
- data/spec/support/integration.rb +0 -10
- data/spec/support/stdout.rb +0 -26
@@ -1 +0,0 @@
|
|
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>
|
data/spec/fixtures/wsdl/vies.xml
DELETED
@@ -1,176 +0,0 @@
|
|
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>
|
@@ -1,153 +0,0 @@
|
|
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>
|
@@ -1,114 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
require "rack"
|
3
|
-
require "json"
|
4
|
-
|
5
|
-
class IntegrationServer
|
6
|
-
|
7
|
-
def self.respond_with(options = {})
|
8
|
-
code = options.fetch(:code, 200)
|
9
|
-
body = options.fetch(:body, "")
|
10
|
-
headers = { "Content-Type" => "text/plain", "Content-Length" => body.size.to_s }.merge options.fetch(:headers, {})
|
11
|
-
|
12
|
-
[code, headers, [body]]
|
13
|
-
end
|
14
|
-
|
15
|
-
Application = Rack::Builder.new do
|
16
|
-
|
17
|
-
map "/" do
|
18
|
-
run lambda { |env|
|
19
|
-
IntegrationServer.respond_with :body => env["REQUEST_METHOD"].downcase
|
20
|
-
}
|
21
|
-
end
|
22
|
-
|
23
|
-
map "/repeat" do
|
24
|
-
run lambda { |env|
|
25
|
-
# stupid way of extracting the value from a query string (e.g. "code=500") [dh, 2012-12-08]
|
26
|
-
IntegrationServer.respond_with :body => env["rack.input"].read
|
27
|
-
}
|
28
|
-
end
|
29
|
-
|
30
|
-
map "/404" do
|
31
|
-
run lambda { |env|
|
32
|
-
IntegrationServer.respond_with :code => 404, :body => env["rack.input"].read
|
33
|
-
}
|
34
|
-
end
|
35
|
-
|
36
|
-
map "/timeout" do
|
37
|
-
run lambda { |env|
|
38
|
-
sleep 2
|
39
|
-
IntegrationServer.respond_with :body => "timeout"
|
40
|
-
}
|
41
|
-
end
|
42
|
-
|
43
|
-
map "/inspect_request" do
|
44
|
-
run lambda { |env|
|
45
|
-
body = {
|
46
|
-
:soap_action => env["HTTP_SOAPACTION"],
|
47
|
-
:cookie => env["HTTP_COOKIE"],
|
48
|
-
:x_token => env["HTTP_X_TOKEN"],
|
49
|
-
:content_type => env["CONTENT_TYPE"]
|
50
|
-
}
|
51
|
-
|
52
|
-
IntegrationServer.respond_with :body => JSON.dump(body)
|
53
|
-
}
|
54
|
-
end
|
55
|
-
|
56
|
-
map "/basic_auth" do
|
57
|
-
use Rack::Auth::Basic, "basic-realm" do |username, password|
|
58
|
-
username == "admin" && password == "secret"
|
59
|
-
end
|
60
|
-
|
61
|
-
run lambda { |env|
|
62
|
-
IntegrationServer.respond_with :body => "basic-auth"
|
63
|
-
}
|
64
|
-
end
|
65
|
-
|
66
|
-
map "/digest_auth" do
|
67
|
-
unprotected_app = lambda { |env|
|
68
|
-
IntegrationServer.respond_with :body => "digest-auth"
|
69
|
-
}
|
70
|
-
|
71
|
-
realm = 'digest-realm'
|
72
|
-
app = Rack::Auth::Digest::MD5.new(unprotected_app) do |username|
|
73
|
-
username == 'admin' ? Digest::MD5.hexdigest("admin:#{realm}:secret") : nil
|
74
|
-
end
|
75
|
-
app.realm = realm
|
76
|
-
app.opaque = 'this-should-be-secret'
|
77
|
-
app.passwords_hashed = true
|
78
|
-
|
79
|
-
run app
|
80
|
-
end
|
81
|
-
|
82
|
-
map "/multipart" do
|
83
|
-
run lambda { |env|
|
84
|
-
boundary = 'mimepart_boundary'
|
85
|
-
message = Mail.new
|
86
|
-
xml_part = Mail::Part.new do
|
87
|
-
content_type 'text/xml'
|
88
|
-
body %{<?xml version='1.0' encoding='UTF-8'?>
|
89
|
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
|
90
|
-
<soapenv:Header>response header</soapenv:Header>
|
91
|
-
<soapenv:Body>response body</soapenv:Body>
|
92
|
-
</soapenv:Envelope>}
|
93
|
-
# in Content-Type the start parameter is recommended (RFC 2387)
|
94
|
-
content_id '<soap-request-body@soap>'
|
95
|
-
end
|
96
|
-
message.add_part xml_part
|
97
|
-
|
98
|
-
message.add_file File.expand_path("../../../fixtures/gzip/message.gz", __FILE__)
|
99
|
-
message.parts.last.content_location = 'message.gz'
|
100
|
-
message.parts.last.content_id = 'attachment1'
|
101
|
-
|
102
|
-
message.ready_to_send!
|
103
|
-
message.body.set_sort_order [ "text/xml" ]
|
104
|
-
message.body.encoded(message.content_transfer_encoding)
|
105
|
-
|
106
|
-
IntegrationServer.respond_with({
|
107
|
-
headers: { "Content-Type" => "multipart/related; boundary=\"#{message.body.boundary}\"; type=\"text/xml\"; start=\"#{xml_part.content_id}\"" },
|
108
|
-
body: message.body.encoded(message.content_transfer_encoding)
|
109
|
-
})
|
110
|
-
}
|
111
|
-
end
|
112
|
-
|
113
|
-
end
|
114
|
-
end
|
@@ -1,85 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
require "puma"
|
3
|
-
require "puma/minissl"
|
4
|
-
|
5
|
-
require "integration/support/application"
|
6
|
-
|
7
|
-
class IntegrationServer
|
8
|
-
|
9
|
-
def self.run(options = {})
|
10
|
-
server = new(options)
|
11
|
-
server.run
|
12
|
-
server
|
13
|
-
end
|
14
|
-
|
15
|
-
def self.ssl_ca_file; integration_fixture("ca_all.pem") end
|
16
|
-
def self.ssl_key_file; integration_fixture("server.key") end
|
17
|
-
def self.ssl_cert_file; integration_fixture("server.cert") end
|
18
|
-
|
19
|
-
def self.integration_fixture(file)
|
20
|
-
file = File.expand_path("../../fixtures/#{file}", __FILE__)
|
21
|
-
raise "No such file '#{file}'" unless File.exist? file
|
22
|
-
file
|
23
|
-
end
|
24
|
-
|
25
|
-
def initialize(options = {})
|
26
|
-
@app = Application
|
27
|
-
@host = options.fetch(:host, "localhost")
|
28
|
-
@port = options.fetch(:port, 17172)
|
29
|
-
@ssl = options.fetch(:ssl, false)
|
30
|
-
|
31
|
-
@server = Puma::Server.new(app, events)
|
32
|
-
|
33
|
-
if ssl?
|
34
|
-
add_ssl_listener
|
35
|
-
else
|
36
|
-
add_tcp_listener
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
attr_reader :app, :host, :port, :server
|
41
|
-
|
42
|
-
def url(path = "")
|
43
|
-
protocol = ssl? ? "https" : "http"
|
44
|
-
File.join "#{protocol}://#{host}:#{port}/", path.to_s
|
45
|
-
end
|
46
|
-
|
47
|
-
def ssl?
|
48
|
-
@ssl
|
49
|
-
end
|
50
|
-
|
51
|
-
def run
|
52
|
-
server.run
|
53
|
-
end
|
54
|
-
|
55
|
-
def stop
|
56
|
-
server.stop(true)
|
57
|
-
end
|
58
|
-
|
59
|
-
private
|
60
|
-
|
61
|
-
def events
|
62
|
-
Puma::Events.new($stdout, $stderr)
|
63
|
-
end
|
64
|
-
|
65
|
-
def add_tcp_listener
|
66
|
-
server.add_tcp_listener(host, port)
|
67
|
-
rescue Errno::EADDRINUSE
|
68
|
-
raise "Panther is already running at #{url}"
|
69
|
-
end
|
70
|
-
|
71
|
-
def add_ssl_listener
|
72
|
-
server.add_ssl_listener(host, port, ssl_context)
|
73
|
-
end
|
74
|
-
|
75
|
-
def ssl_context
|
76
|
-
context = Puma::MiniSSL::Context.new
|
77
|
-
|
78
|
-
context.key = IntegrationServer.ssl_key_file
|
79
|
-
context.cert = IntegrationServer.ssl_cert_file
|
80
|
-
context.verify_mode = Puma::MiniSSL::VERIFY_PEER
|
81
|
-
|
82
|
-
context
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|