Skip navigation
Contact Us
2083 Views 3 Replies Latest reply: Feb 11, 2013 2:54 AM by Akash Nadkarni RSS
Tom Burk Newbie 1 posts since
Oct 8, 2010
Currently Being Moderated

Jun 17, 2011 7:13 AM

How to configure WebService for multiple Request messages

We have an Informatica WebService receiving single request messages, but rather we want to receive one request message containing multiple requests.  If a group request is submitted, results show that only one record is inserted to the DB, and, the response is positive, the result expected is multiple records inserted to the DB and a positive response returned.

 

What configurations should we look at in PowerCenter to enable a multiple Request message?  A sample of 'current', and 'Desired' is shown below for clarity.  Let me know if you need more information.  Any direction you can provide would be appreciated.  Thank you.

 

Current:

      <wsdl:Webservice_TripAlertRequest>

         <wsdl:Webservice_TripAlertRequestElement>

            <wsdl:Alert_Nm>TRIPALERT_DEFAULT</wsdl:Alert_Nm>

            <wsdl:SourceAlert_Id>330</wsdl:SourceAlert_Id>

            <wsdl:TruckCompany_Id>01</wsdl:TruckCompany_Id>

            <wsdl:Truck_Nbr>l2222</wsdl:Truck_Nbr>

            <wsdl:TrailerCompany_Id>22</wsdl:TrailerCompany_Id>

            <wsdl:Trailer_Nbr>3192222</wsdl:Trailer_Nbr>

            <wsdl:DriverCompany_Id></wsdl:DriverCompany_Id>

            <wsdl:Driver_Id></wsdl:Driver_Id>

            <wsdl:OrderCompany_Id>22</wsdl:OrderCompany_Id>

            <wsdl:Order_Nbr>3122222</wsdl:Order_Nbr>

            <wsdl:SourceAlert_Seq>78</wsdl:SourceAlert_Seq>

            <wsdl:AlertBody>TripAdvice</wsdl:AlertBody>

            <wsdl:AlertCreationDatetime>2011-06-16T14:12:01.000Z</wsdl:AlertCreationDatetime>

         </wsdl:Webservice_TripAlertRequestElement>

      </wsdl:Webservice_TripAlertRequest>

 

Desired:

      <wsdl:Webservice_TripAlertRequest>

         <wsdl:Webservice_TripAlertRequestElement>

            <wsdl:Alert_Nm>TRIPALERT_DEFAULT</wsdl:Alert_Nm>

            <wsdl:SourceAlert_Id>330</wsdl:SourceAlert_Id>

            <wsdl:TruckCompany_Id>01</wsdl:TruckCompany_Id>

            <wsdl:Truck_Nbr>l2222</wsdl:Truck_Nbr>

            <wsdl:TrailerCompany_Id>22</wsdl:TrailerCompany_Id>

            <wsdl:Trailer_Nbr>3192222</wsdl:Trailer_Nbr>

            <wsdl:DriverCompany_Id></wsdl:DriverCompany_Id>

            <wsdl:Driver_Id></wsdl:Driver_Id>

            <wsdl:OrderCompany_Id>22</wsdl:OrderCompany_Id>

            <wsdl:Order_Nbr>3122222</wsdl:Order_Nbr>

            <wsdl:SourceAlert_Seq>78</wsdl:SourceAlert_Seq>

            <wsdl:AlertBody>TripAdvice</wsdl:AlertBody>

            <wsdl:AlertCreationDatetime>2011-06-16T14:12:01.000Z</wsdl:AlertCreationDatetime>

         </wsdl:Webservice_TripAlertRequestElement>

         <wsdl:Webservice_TripAlertRequestElement>

            <wsdl:Alert_Nm>TRIPALERT_DEFAULT</wsdl:Alert_Nm>

            <wsdl:SourceAlert_Id>330</wsdl:SourceAlert_Id>

            <wsdl:TruckCompany_Id>01</wsdl:TruckCompany_Id>

            <wsdl:Truck_Nbr>l7999</wsdl:Truck_Nbr>

            <wsdl:TrailerCompany_Id>22</wsdl:TrailerCompany_Id>

            <wsdl:Trailer_Nbr>3199999</wsdl:Trailer_Nbr>

            <wsdl:DriverCompany_Id></wsdl:DriverCompany_Id>

            <wsdl:Driver_Id></wsdl:Driver_Id>

            <wsdl:OrderCompany_Id>22</wsdl:OrderCompany_Id>

            <wsdl:Order_Nbr>3199999</wsdl:Order_Nbr>

            <wsdl:SourceAlert_Seq>77</wsdl:SourceAlert_Seq>

            <wsdl:AlertBody>TripAdvice</wsdl:AlertBody>

            <wsdl:AlertCreationDatetime>2011-06-16T14:11:01.000Z</wsdl:AlertCreationDatetime>

         </wsdl:Webservice_TripAlertRequestElement>

      </wsdl:Webservice_TripAlertRequest>

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points