Skip to Content
avatar image
Former Member

Webpage online form to XI

Hi:

1) Suppose I have a sales order form filled online using a web page ,how can I have the web page take out an XML ,that is acceptable to XI .

2) How can I test that it is being accepted by XI.

Screenshots will be appreciated.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 16, 2007 at 04:36 AM

    Hi

    You can also post your sales order to XI using HTTP adapter.

    Step1: Create a form attribute in your Sales order webpage

    Step2: On form submit generate a XMLDom object based on your sales order values. Make sure the XMLDom ojbect complies to the Message type you have specified in your Integration repository.

    Step3: Create a Javascript programme to submit the payload to XI HTTP adapter.

    Sample JS to submit values to HTTP adapter

    var xhttp = new ActiveXObject("msxml2.xmlhttp");

    xhttp.open ("POST", reqString, false);

    document.MessageParameters.URL.value=reqString;

    payload = document.MessageParameters.xmlData.value;

    xhttp.send (payload);

    OR

    var xmlDoc = new ActiveXObject("microsoft.xmldom");

    xmlDoc.async=false;

    xmlDoc.load (document.MessageParameters.xmlFile.value);

    xhttp.send (xmlDoc);

    This is to catch the HTTP response in

    result = result + "\n" + xhttp.responseText;

    xhttp.close;

    Hope this helps

    Thanks

    Satish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2007 at 09:33 PM

    1) Are you sure ,the company which manages the webpage will be able to give the WSDL ,so that I culd go forward and ask for it?

    2) Will the WSDL file be interpreted directly by the SOAP adapter or do we need to format it to be accepted by SOAP adapter?

    Thnx

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2007 at 07:54 PM

    Hey

    u can get a WSDL file from the Webpage,and then use SOAP adapter on sender side

    thanx

    ahmad

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2007 at 08:14 PM

    Hi;;

    How can I get the WSDL file from a webpage..

    Screenshots would be appreciated.

    Thnx

    Add comment
    10|10000 characters needed characters exceeded