none
Incorrect address or SOAP action error while sending message to the service RRS feed

  • Question

  • Hi,

    we are sending message to the service but we are getting the below error in biztalk

    error :"This is often caused by an incorrect address or SOAP action".

    Below is the wsdl ifnormation of the service:

     <wsdl:definitions name="eSDWebService" targetNamespace="http://abc.com/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://abc.com/services" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
      <wsdl:import namespace="http://tempuri.org/" location="http://172.30.12.12/Service/HBR_KPN?wsdl=wsdl0" /> 
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://abc.com/services/Imports">
      <xsd:import schemaLocation="http://112.30.12.12/Service/HBR_KN?xsd=xsd0" namespace="http://abc.com/services" /> 
      <xsd:import schemaLocation="http://112.30.12.12/Service/HBR_KN?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> 
      <xsd:import schemaLocation="http://112.30.12.12/Service/HBR_KN?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/eSD_WSI" /> 
      <xsd:import schemaLocation="http://112.30.12.12/Service/HBR_KN?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> 
      </xsd:schema>
      </wsdl:types>

    <wsdl:message name="IeSDService_ActionResponse_InputMessage">
      <wsdl:part name="parameters" element="tns:ActionResponse" /> 
      </wsdl:message>

    <wsdl:message name="IeSDService_ActionResponse_OutputMessage">
      <wsdl:part name="parameters" element="tns:ActionResponseResponse" /> 
      </wsdl:message>
    <wsdl:portType name="IeSDService">
    <wsdl:operation name="ActionResponse">
      <wsdl:input wsaw:Action="http://abc.com/services/IeSDService/ActionResponse" message="tns:IeSDService_ActionResponse_InputMessage" /> 
      <wsdl:output wsaw:Action="http://abc.com/services/IeSDService/ActionResponseResponse" message="tns:IeSDService_ActionResponse_OutputMessage" /> 
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:service name="eSDWebService">
    - <wsdl:port name="WSHttpBinding_IeSDService" binding="i0:WSHttpBinding_IeSDService">
      <soap12:address location="http://112.30.12.12/Service/HBR_KN/ws" /> 
    - <wsa10:EndpointReference>
      <wsa10:Address>http://112.30.12.12/Service/HBR_KN/ws</wsa10:Address> 
      </wsa10:EndpointReference>
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

    and adapter information :

    WCF-BasicHttp 

    uri : http://112.30.12.12/Service/HBR_KN

    Soap action : http://abc.com/services/IeSDService/ActionResponse

    no authentication.

    We have also tried with wcf-wshttp adapter but still we are getting the error.

    Thanks in advance


    Manish

    Thursday, May 1, 2014 7:46 AM

Answers

  • Hi,

    First it will be better if you can post your config file here.

    Then from the wsdl file, it seems that you are using the wsHttpBinding, by default the wsHttpBinding will use the message security, please try to modify your config file as following to see if it helps:

    <bindings>
          <wsHttpBinding>
            <binding>
              <security mode="None"></security>
            </binding>
          </wsHttpBinding>
    </bindings>

    Then please try to enable the wcf tracing to get more detailed error information.
    #How to enable wcf tracing:
    http://msdn.microsoft.com/en-us/library/ms733025(v=vs.110).aspx .

    Also you can try to post your question to the Biztalk forums:
    #Biztalk forums:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=biztalkserver .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.



    Friday, May 2, 2014 2:26 AM
    Moderator