function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shebin-KVP Business SolnsShebin-KVP Business Solns 

Is salesforce supporting svc serveice?

Hell All,

 

 Does anybody know salesforce can suport a wsdl with the soap address having .svc type. I wanted to parse a wsdl and gernerate apex class from that wsdl. It is parsing but while generating the apex code it is failing displaying the mesage "Unable to find soap 1.1 address" . Below is the wsdl.

  <?xml version="1.0" encoding="utf-8" ?> 
- <wsdl:definitions name="PMS2PLF" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsp:Policy wsu:Id="WSHttpBinding_IPMS2PLF_policy">
- <wsp:ExactlyOne>
- <wsp:All>
  <wsaw:UsingAddressing /> 
  </wsp:All>
  </wsp:ExactlyOne>
  </wsp:Policy>
- <wsdl:types>
- <xsd:schema targetNamespace="http://tempuri.org/Imports">
  <xsd:import schemaLocation="http://gsreenivas/PMSSRV/PMS2PLF.svc?xsd=xsd0" namespace="http://tempuri.org/" /> 
  <xsd:import schemaLocation="http://gsreenivas/PMSSRV/PMS2PLF.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> 
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="IPMS2PLF_ReturnStatus_InputMessage">
  <wsdl:part name="parameters" element="tns:ReturnStatus" /> 
  </wsdl:message>
- <wsdl:message name="IPMS2PLF_ReturnStatus_OutputMessage">
  <wsdl:part name="parameters" element="tns:ReturnStatusResponse" /> 
  </wsdl:message>
- <wsdl:message name="IPMS2PLF_UpdateGuestTrace_InputMessage">
  <wsdl:part name="parameters" element="tns:UpdateGuestTrace" /> 
  </wsdl:message>
- <wsdl:message name="IPMS2PLF_UpdateGuestTrace_OutputMessage">
  <wsdl:part name="parameters" element="tns:UpdateGuestTraceResponse" /> 
  </wsdl:message>
- <wsdl:portType name="IPMS2PLF">
- <wsdl:operation name="ReturnStatus">
  <wsdl:input wsaw:Action="http://tempuri.org/IPMS2PLF/ReturnStatus" message="tns:IPMS2PLF_ReturnStatus_InputMessage" /> 
  <wsdl:output wsaw:Action="http://tempuri.org/IPMS2PLF/ReturnStatusResponse" message="tns:IPMS2PLF_ReturnStatus_OutputMessage" /> 
  </wsdl:operation>
- <wsdl:operation name="UpdateGuestTrace">
  <wsdl:input wsaw:Action="http://tempuri.org/IPMS2PLF/UpdateGuestTrace" message="tns:IPMS2PLF_UpdateGuestTrace_InputMessage" /> 
  <wsdl:output wsaw:Action="http://tempuri.org/IPMS2PLF/UpdateGuestTraceResponse" message="tns:IPMS2PLF_UpdateGuestTrace_OutputMessage" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="WSHttpBinding_IPMS2PLF" type="tns:IPMS2PLF">
  <wsp:PolicyReference URI="#WSHttpBinding_IPMS2PLF_policy" /> 
  <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> 
- <wsdl:operation name="ReturnStatus">
  <soap12:operation soapAction="http://tempuri.org/IPMS2PLF/ReturnStatus" style="document" /> 
- <wsdl:input>
  <soap12:body use="literal" /> 
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="UpdateGuestTrace">
  <soap12:operation soapAction="http://tempuri.org/IPMS2PLF/UpdateGuestTrace" style="document" /> 
- <wsdl:input>
  <soap12:body use="literal" /> 
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="PMS2PLF">
- <wsdl:port name="WSHttpBinding_IPMS2PLF" binding="tns:WSHttpBinding_IPMS2PLF">
  <soap12:address location="http://gsreenivas/PMSSRV/PMS2PLF.svc" /> 
- <wsa10:EndpointReference>
  <wsa10:Address>http://gsreenivas/PMSSRV/PMS2PLF.svc</wsa10:Address> 
- <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
  <Dns>localhost</Dns> 
  </Identity>
  </wsa10:EndpointReference>
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

 

Please share your ideas, Thanks in advance..

Shebin Mathew,

KVP Business Solutions.

SRKSRK

Replace soap12 with soap11