By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,083 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,083 IT Pros & Developers. It's quick & easy.

Java and WSDL complexType

P: n/a

Dear All:

I am new to WSDL so I have a question.

I have been using Java/SOAP to get some data from this
web services running at a remote site. Everything
is great except last week when I want to retrieve
some data that are in String[].

In the WSDL provided, the data type returned is

<xsd:complexType name="ArrayOfstring">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="xsd:string[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
I have been using

org.apache.axis.client.call(String[])

to send over requests. The return type is Object which I can't
cast to (String []).

Any suggestion on how I can obtain the return value when it is an array
of String?

thanks

-Vincent
ya**@ohsu.edu

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.