SOAP complex content - array of strings

Kinda working backwards - need to build a proxy client for a legacy app, and it needs to work on an Axis/Tomcat server I can never see live, so I'm working from the server's WSDL to build something to test against while I work on the client.

Built the simple VB web service and have no problem accessing any string or int method parameters passed from a client to the web service, but I can't access the values of string(), array or arraylist parameters.

I've been working plain old Windows apps and services for a while - may need a bit of a refresher.

Appreciate any help, but I'd love to see some vb source of a complex SOAP service.

Regards,

Wheels



Answer this question

SOAP complex content - array of strings

  • Roach

    Wheels,

    Why you can't access collection's values

    Where do you want to access to it .... client-side, server-side

    Do you get an exception or it just doesn't work

    Both Service and Client are VB.NET here or are you trying to hit the axis ws

    Please provide more info in order to be able to relpy accordingly.

    Rgds,

    Rodrigo


  • John R. Garrett

    Have you built a local simulation service from the Axis/Tomcat WSDL for your own test purposes wsdl.exe /serverInterface can help you generating some of that server code for you and that should give you a complex VB service interface you can look at, implement and ask more concrete questions about.

    There are generally no issues with typed arrays ( string() ) but there is certainly some trickery required for untyped arrays. Again, wsdl.exe will generate the necessary attributes and types if it encounters those constructs.



  • Jon Braganza

    I am using a demo of a tool called Quasar for the client side - so I decided I may as well build a .net soap client to rule out issues with the different components. I'll post other questions when I have a real apples to apples configuration I can throw at you.
  • SOAP complex content - array of strings