Re: After import the wsdl i have lost it a bit



Göran Andersson schreef:
Rene A wrote:
Hmm even with John Doe it dont work ;-)

Strange... I was sure that would do it. ;)

I have learn a bit from this blog http://loopback.codebetter.com/blogs/peter.van.ooijen/archive/2007/03/02/TDD_3A00_-Test-driving-the-Vecozo-webservice.aspx

only it is writing in a another language.

Another language? It looks like C# to me...

It look like i must declare Patients as a array of ThePatient, but i don't know how to do it.

You don't know how to create an array, or...?

Look at some of the example code from the page:

ControleerInput requestMessage = new ControleerInput();
requestMessage.Verzekerden = new AanvraagCovType[0];
object responseMessage = ci.controleer(requestMessage);

You need to create an array of AanvraagCovType objects, and assign that to the Verzekerden property of the ControleerInput object.

Then finaly i think/want to put the result of UitDeCOVClass.controleer(Patients) in TheReturn slometing like TheReturn

TheReturn=UitDeCOVClass.controleer(Patients); but alsos that give me some errors.

Well, "some errors" is way too unspecific to be helpful...

The example code puts the result in a variable of the type object, while you are putting it in a variable of the type RetourinfoCovType. Check the intellisense for the method to see what it actually returns.



Thanks for your help, i will give it a new try with your tips !
also take some reading in my "Visual C# the basic" book about arrays
object... Normally i work with Delphi, and when i import the WSDL there i
get nice functions and procedure's but there is the difficulty to work
with security x509 certificates.

Groetjes Rene.

.



Relevant Pages

  • Re: After import the wsdl i have lost it a bit
    ... only it is writing in a another language. ... ControleerInput requestMessage = new ControleerInput; ... UitDeCOVClass.controleerin TheReturn slometing like TheReturn ... The example code puts the result in a variable of the type object, while you are putting it in a variable of the type RetourinfoCovType. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: I cant extract string data from a type object
    ... > I am calling a COM object that returns a type Object and ... > it contains two strings but I can't get them out. ... > object ParamNameObj= localxPCCOMOBJ.xPCTarget.GetParamName ... Could you show *how* you've tried to use it as an array? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to know the size of array
    ... sizeof foo will return the total number of bytes taken up by the whole ... single array element, so yes, the expression ... what actually gets passed to bar is a pointer type object, ...
    (comp.lang.c)
  • Re: Associative with MultiDimensional arrays
    ... do not exist in the nature. ... There objects of type Object with ... You can create an object and store array references as its properties: ...
    (comp.lang.javascript)
  • Re: Associative with MultiDimensional arrays
    ... do not exist in the nature. ... There objects of type Object with ... You can create an object and store array references as its properties: ...
    (comp.lang.javascript)