locked
XML SOAP Message RRS feed

  • Question

  • User-1017835075 posted

    I'm trying to POST i-Invoice via XML SOAP system. Even I trying codes as it below I couldn't post successfuly.

    Services (supporting mtom)

    https://integrationtest.eveelektronik.com.tr/IntegrationService.asmx
    https://integrationtest.eveelektronik.com.tr/IntegrationService.wsdl

    Services (not supporting mtom)

    https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.asmx
    https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.wsdl

    My  Codes

    Set oXmlHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP.6.0")
    oXmlHTTP.Open "POST", "https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.asmx", False 
    oXmlHTTP.setRequestHeader "SOAPAction", "https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.asmx?op=SendInvoice"
    
    SOAPRequest = _         
    " "&_
    "" &_
    "" &_
    "" &_
    "" &_
    "" &_
      "" &_
        "Successful or Error" &_
        "string" &_
        "string" &_
        "string" &_
        "string" &_
        "int" &_
        "int" &_
        "string" &_
      "" &_
      "" &_
        "Successful or Error" &_
        "string" &_
        "string" &_
        "string" &_
        "string" &_
        "int" &_
        "int" &_
        "string" &_
      "" &_
    "" &_
    "Successful or Error" &_
    "string" &_
    "string" &_
    "string" &_
    "int" &_
    "" &_
    "" &_
    "" &_
    ""
    
    oXmlHTTP.send SOAPRequest    
    Response.Write oXmlHTTP.responseText

    Error Code

    http://schemas.xmlsoap.org/ws/2004/08/addressing/faulturn:uuid:df0bd4a9-5f2f-4e53-9cba-81382f767848urn:uuid:8ce61646-4cf9-424e-991G2-b914cfc3c0cahttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous2018-03-13T13:49:29Z2018-03-13T14:04:29Zsoap:ClientSystem.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.asmx?op=SendInvoice. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

    How I can connect to SOAP and can deliver message?

    Thanks.

    Thursday, March 15, 2018 7:15 AM

All replies