Skip to Content
avatar image
Former Member

Mapping question - File to Webservice scenario

Hi

I have a text file - that is pulled in by XI - using a ftp adapter - source interface. On the other side - target interface - we have a webservice whose definition is loaded into XI as a external interface defiinition - message type level.

Now , for every record in the text file - I need to call the webservice method- once . The webservice method definition is such that - the top level node has occurence 1-1 and type is blank - The parameters to be passed to the method appear under it -

I tried using split-by-value node function to make the mapping call the webservice method once for each record in my input text file - this results in the webservice method being called just once - not as I expected ( once for each record in my text file )

Where am I going wrong with this ? Is it possible to make the call to the webservice method - with the top level node having the definition described above - once for each record in my source text file ? Since the webservice method has been imported as an external definition ( *wsdl ) , I am unable to put it under any other higher level element .

Any pointers/suggestions as to where I am going wrong - how to make this scenario work will rewarded with full points.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 21, 2006 at 04:26 AM

    Hi,

    ><i>for every record in the text file - I need to call the webservice method- once</i>

    You would need multimapping for this. take a look at this blog for the same.

    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

    Regards,

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Prakash

      Thanks for sharing your thoughts - I will change settings in file adapters to make each record in the file come into XI as a message - this is going to increase the number of very small msgs processed by XI - but I think this is better than bringing in a BPM into the picture . We are planning to move out of SP13 to SP14 or SP15 very soon.

  • avatar image
    Former Member
    Nov 21, 2006 at 04:26 AM

    Hi,

    Please go to Messages tab in message mapping and change occurance for external definition to 0..unbounded.

    Thanks,

    Tuhin

    Add comment
    10|10000 characters needed characters exceeded