Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

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

$
0
0

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;
}


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>