[resolved] Get multiple results from tWebService

One Star

[resolved] Get multiple results from tWebService

Hi!
I'm trying to get mutiple return from a webservice.
The webservice returns something like:
<return>
    <report>
        <analysis>
            <nmMessageId>11431</nmMessageId>
            <name> Recapitulatif commande cheque Produit</name>
            <sentDate>2015-06-07T00:00:00+02:00</sentDate>
            <nmSent>2</nmSent>
            <nmHardBounce>1</nmHardBounce>
            <nmSoftBounce>0</nmSoftBounce>
            <nmOpen>0</nmOpen>
            <nmClick>0</nmClick>
        </analysis>
        <analysis>
            <nmMessageId>15249</nmMessageId>
            <name>CSI : infos new Machin (be_nl)</name>
            <sentDate>2015-06-07T00:00:00+02:00</sentDate>
            <nmSent>1</nmSent>
            <nmHardBounce>0</nmHardBounce>
            <nmSoftBounce>0</nmSoftBounce>
            <nmOpen>1</nmOpen>
            <nmClick>0</nmClick>
        </analysis>
       
        ....
       
    </report>
</return>

I have an error using tWebService:
Exception in component tWebService_2
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:492)
    at java.lang.Integer.parseInt(Integer.java:527)
    at routines.system.ParserUtils.parseTo_int(ParserUtils.java:122)
    at routines.system.ParserUtils.parseTo_Integer(ParserUtils.java:137)

The result of the webservice doesn't look to be well set.
Any idea?
Regards

Accepted Solutions
One Star

Re: [resolved] Get multiple results from tWebService

twebserviceinput did the job.

All Replies
One Star

Re: [resolved] Get multiple results from tWebService

Hi!
No idea about that?
Regards
One Star

Re: [resolved] Get multiple results from tWebService

twebserviceinput did the job.