IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Soap RPC call inside soapUi

    Posted Mon February 18, 2008 09:36 PM

    Hi there

    I’m new here, and of course what made me register was a problem…
    Already searched somethings, nothing that i found helped, so i’m posting this thread…
    So, using soapUi 1.7 to call a BC service, with a record reference input and output…

    The input is something like

    [html]
    <Abc_in>
    0
    1
    2
    3
    4
    5
    </Abc_in>
    [/html]
    the output I expected was something like:

    [html]<Abc_out>
    <Abc_out>
    0
    2


    171
    171
    171
    171
    171
    171
    171
    171


    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171




    </Abc_out>
    </Abc_out>
    [/html]
    but i’m getting this:

    [html]<Abc_out xsi:type=“webM:Abc_out” id=“id1”>
    <Abc_out xsi:type=“Abc_out” id=“id2”>
    1
    3



    171
    171
    171
    171
    171
    171
    171
    171



    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171
    171






    </Abc_out>
    </Abc_out>[/html]
    the question is: how the hell do i get rid of the attributes

    xsi:type="...." id="..." 

    and the

    "xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="webM:sellArrayItem[...]" id="..." "

    and

    <item xsi:type="webM:VendaArrayItem" id="...">

    tags?

    sorry if the post it not ok in style and stuff…

    Thanks everyone…

    Christian


    #API-Management
    #soa
    #webMethods


  • 2.  RE: Soap RPC call inside soapUi

    Posted Tue February 19, 2008 12:43 AM

    Try setting watt.server.SOAP.userMultiReference to “false” in the IS extended settings.

    See Appendix C in teh SOAP Developer’s Guide 7.1.1 PDF.


    #API-Management
    #webMethods
    #soa


  • 3.  RE: Soap RPC call inside soapUi

    Posted Tue February 19, 2008 12:11 PM

    Hi mcarlson, thanks for your reply.

    this attribute shoud be set inside the BC startup right?
    I tried that but did not work…

    I was reading the guide you mencioned and there is said that “And encodes them like this if watt.server.SOAP.useMultiReference=false [FONT=TimesNewRoman][SIZE=3]or is not set at
    all”

    but anyway you gave me a new thing to look for.

    any other ideia would be appreciated!

    thanks again!

    Christian

    [/size][/font]


    #soa
    #webMethods
    #API-Management


  • 4.  RE: Soap RPC call inside soapUi

    Posted Tue February 19, 2008 01:14 PM

    [SIZE=2]Hey mcarlson!
    that actually worked, i was putting the property in the wrong place! :slight_smile:
    but that only removed the id attribute, but the xsi:type attribute and the array stuff atil already there…

    anyone knows where can i find the list of properties that can be set?

    thaks!

    Christian!
    [/size]


    #soa
    #API-Management
    #webMethods