The return value is a ArrayList or List from Java.
As this is what the people building that web service told me.
The parameter in the function are like this.
GetInfo(param_1 as String, param_2 as String, param_3 as String, param_4()
as string)
When they look at the log they properly receive my request and return their
information which seems to be a list from what they told me. But it doesn't
get to me. It crap-out before. This is a propblem of interpretation I guess.
[quoted text, click to view] "Mr. Arnold" wrote:
>
> "Nicolas" <Nicolas@discussions.microsoft.com> wrote in message
> news:F05BAC73-6EB1-497D-8160-D03A471FBB26@microsoft.com...
> > Hi,
> > The problem is that I dont even get the result from the web service. It
> > stop
> > with the following error. And I think it is from the ArrayList they
> > return.
> >
> >> [System.InvalidOperationException]: {System.InvalidOperationException}
> >> HelpLink: Nothing
> >> InnerException: {System.InvalidCastException}
> >> Message: "There is an error in XML document (1, 573)."
> >> Source: "System.Xml"
> >
> > How can I make it work?
> >
> >
> >
> > "Spam Catcher" wrote:
> >
> >> "Nicolas" <nliebel@hotmail.com> wrote in news:OipT3gdGIHA.5328
> >> @TK2MSFTNGP05.phx.gbl:
> >>
> >> > nRetVal = nWs.GetInfo("param_1","param_2","param_3","param_4") ----->
> >> > Problem arise here in the return
> >>
> >> And what problem would that be?
> >>
>
> What is nRetVal's type is it an ArrayList? How do you know that an ArrayList
> is being retuned? Are all the parms you're passing in string? How do you
> know the type of parms to pass such as int, long, string?
>
>
>
[quoted text, click to view] "Nicolas" <Nicolas@discussions.microsoft.com> wrote in message
news:F05BAC73-6EB1-497D-8160-D03A471FBB26@microsoft.com...
> Hi,
> The problem is that I dont even get the result from the web service. It
> stop
> with the following error. And I think it is from the ArrayList they
> return.
>
>> [System.InvalidOperationException]: {System.InvalidOperationException}
>> HelpLink: Nothing
>> InnerException: {System.InvalidCastException}
>> Message: "There is an error in XML document (1, 573)."
>> Source: "System.Xml"
>
> How can I make it work?
>
>
>
> "Spam Catcher" wrote:
>
>> "Nicolas" <nliebel@hotmail.com> wrote in news:OipT3gdGIHA.5328
>> @TK2MSFTNGP05.phx.gbl:
>>
>> > nRetVal = nWs.GetInfo("param_1","param_2","param_3","param_4") ----->
>> > Problem arise here in the return
>>
>> And what problem would that be?
>>
What is nRetVal's type is it an ArrayList? How do you know that an ArrayList
is being retuned? Are all the parms you're passing in string? How do you
know the type of parms to pass such as int, long, string?