Highlighted
Absent Member.
Absent Member.
369 views

how to web service xml s with using session id and get the out put

Action()
{

 web_custom_request("Weather SOAP Request",
web_add_cookie("S.ID=e1b476e7-23a2-4530-a84f-7f992b3cd41e; DOMAIN=68.87.151.31"),
      "URL=http://red.leanlogistics.com/Integration/xml/shipper/order",
      "Method=POST",
      "RecContentType=application/xml",
      "Mode=HTML",
      "EncType=application/xml; charset=utf-8",
      "Body="
      "<Order>"
            "<ShipperRef>112232</ShipperRef>"
            "<UniqueRef>5896588</UniqueRef>"
            "<OrderType>SALES_ORDER</OrderType>"
            "<Workflow>OUTBOUND</Workflow>"
            "<TMSPlanningAbility>1</TMSPlanningAbility>"
            "<OrderItems>"
                "<OrderItem ScheduleNum=\"1\">"
                    "<ProductID>5600</ProductID>"
                    "<LineNumber>1</LineNumber>"
                    "<Description></Description>"
                    "<PackageQuantity>12</PackageQuantity>"
                    "<PackageType>BAGS</PackageType>"
                    "<Weight>40</Weight>"
                    "<Commodity>BULK</Commodity>"
                "</OrderItem>"
            "</OrderItems>"
            "<OrderSchedules>"
                "<OrderSchedule>"
                    "<ScheduleNum>1</ScheduleNum>"
                    "<Origin>"
                        "<EstAvailableStartDate TimeZone=\"ZZZ\">04/04/2017 13:00</EstAvailableStartDate>"
                        "<Location>"
                            "<LocationRef>HOL LOADTEST MAIN</LocationRef>"
                            "<Name>HOL LOADTEST MAIN</Name>"
                            "<Address1>1351 WAVERLY</Address1>"
                            "<City>HOLLAND</City>"
                            "<State>MI</State>"
                            "<Zip>49423</Zip>"
                            "<Country>US</Country>"
                        "</Location>"
                    "</Origin>"
                    "<Destination>"
                        "<ReqDeliveryStartDate TimeZone=\"ZZZ\">04/12/2017 10:00</ReqDeliveryStartDate>"
                        "<Location>"
                            "<LocationRef>600</LocationRef>"
                            "<Name>MIDWEST CUSTOMER</Name>"
                            "<Address1>5542 SUBURBIA COURT</Address1>"
                            "<City>WYOMING</City>"
                            "<State>MI</State>"
                            "<Zip>49418</Zip>"
                            "<Country>US</Country>"
                        "</Location>"
                    "</Destination>"
                "</OrderSchedule>"
                "<ParcelAttribute>"
                    "<Provider>ANY</Provider>"
                    "<ForceParcel>YES</ForceParcel>"
                "</ParcelAttribute>"
            "</OrderSchedules>"
            "<GroupAssignment>OUTBOUND</GroupAssignment>"
        "</Order>",
        LAST);
    
    return 0;
}

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: how to web service xml s with using session id and get the out put

please if you refer any change .an dsend me back

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: how to web service xml s with using session id and get the out put

error "The "URL" argument is missing or empty  "

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.