Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web-services

Status
Not open for further replies.

epsonic

Programmer
Nov 9, 2004
14
DE
Hi,
I have some problems trying to connect over a C# client to a web-service written in java under SOAP/AXIS.
The return data type of the web-service is a List.
And the return type of my invoke methode is a object[]
How can I configure my web-service client to accept such complex types.
I can send the request, but the answer is always empty.
Thank you for any helpful links or info.
 
As long as the method you're calling is relatively straight-forward, adding a webreference via the wizard in visual studio truly is the best/easiest way.

You should only need to drop into hand-coding a web service call if you need to specify additional info in the SOAP header, use a strange encoding or compression scheme, or other oddball/non-standard things.

Whenever you hear "interoperable", you should think "Lowest common denominator". Which, when talking datatypes, are fundamental types like strings, ints, floats, etc., and not DataSets, ArrayLists, or custom types. Dropping into the base types will ensure that your service is callable by anyone -- Perl, COBOL, Ruby, etc.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top