Isn't an array an Object in Java...?

On Fri, 2002-05-24 at 14:05, [EMAIL PROTECTED] wrote:
> I'm interested to know how you get the values of the array using the Call
> object.
> 
> Call.invoke( .. ) returns an object, not an array, so that doesn't work.
> I tried call.getOutputValues() but doesn't work either.
> 
> Suggestions?
> 
> thanks,
> 
> Stephan
> 
> 
> 
> > -----Original Message-----
> > From: Gaël Pouzerate [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 24, 2002 12:45 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: normal Array in XML, how ?
> > 
> > 
> > 
> > 
> > 
> > 
> > I'm using an array of String in my wsdl file. I attach it if 
> > it can help...
> > 
> > regards
> > --Gaël
> > 
> > 
> > 23.05.2002 21:07:17, "Houman Moshtagh" <[EMAIL PROTECTED]> wrote:
> > 
> > >
> > >
> > >  From:   "Houman Moshtagh" <[EMAIL PROTECTED]>
> > >
> > >  To:     <[EMAIL PROTECTED]>
> > >  Subject:normal Array in XML, how ?
> > >  Date:   Thu, 23 May 2002 21:07:17 +0200
> > >
> > >
> > >
> > >  Hello all,
> > >   
> > >
> > >  I try to use an one-dimensional array in a WSDL file. It 
> > shouldn’t be as
> > >
> > >  hard to realize that.
> > >   
> > >
> > >  I couldn't find anything useful about array but in 
> > http://www.w3.org/TR/
> > >  wsdl.
> > >  So I've tried to correct my code.  It looks now almost the 
> > same as the wc3
> > >  example.
> > >  But it still doesn't work.  Can someone send me a working WSDL file
> > >  including StringArray please?
> > >
> > >  Or could someone take a look at my WSDL code below, maybe 
> > I've overseen
> > >  something. It can’t be as difficult.
> > >
> > >  I appreciate every help, since I’ve tried everything :(
> > >  Houman
> > >
> > >
> > >
> > >
> > >
> > >
> > >  <?xml version='1.0' encoding='UTF-8' ?>
> > >
> > >  <!-- Generated 05/23/02 by Microsoft SOAP Toolkit WSDL 
> > File Generator,
> > >  Version 3.00.1124.0 -->
> > >  <definitions
> > >   name='SoapInTempo'
> > >   targetNamespace='http://tempuri.org/SoapInTempo/wsdl/'
> > >   xmlns:wsdlns='http://tempuri.org/SoapInTempo/wsdl/'
> > >   xmlns:typens='http://tempuri.org/SoapInTempo/type/'
> > >   xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
> > >   xmlns:xsd='http://www.w3.org/2001/XMLSchema'
> > >   
> > xmlns:stk='http://schemas.microsoft.com/soap-toolkit/wsdl-extension'
> > >   xmlns:dime='http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/'
> > >   xmlns:ref='http://schemas.xmlsoap.org/ws/2002/04/reference/'
> > >   
> > xmlns:content='http://schemas.xmlsoap.org/ws/2002/04/content-type/'
> > >   xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
> > >   xmlns='http://schemas.xmlsoap.org/wsdl/'>
> > >
> > >   <types>
> > >    <schema
> > >     targetNamespace='http://tempuri.org/SoapInTempo/type/'
> > >     xmlns='http://www.w3.org/2001/XMLSchema'
> > >     xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
> > >     xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
> > >     elementFormDefault='qualified'>
> > >
> > >     <import namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
> > >     <import namespace='http://schemas.xmlsoap.org/wsdl/'/>
> > >     <import 
> > namespace='http://schemas.xmlsoap.org/ws/2002/04/reference/'/>
> > >     <import 
> > namespace='http://schemas.xmlsoap.org/ws/2002/04/content-type/'/>
> > >
> > >     <complexType name="ArrayOfString">
> > >          <complexContent>
> > >       <restriction base="SOAP-ENC:Array">
> > >             <attribute ref="SOAP-ENC:arrayType"
> > >  wsdl:arrayType="xsd:string[]"/>
> > >       </restriction>
> > >          </complexContent>
> > >     </complexType>
> > >    </schema>
> > >   </types>
> > >
> > >    <message name='LogIn.makeConnection'>
> > >    <part name='uid' type='xsd:string'/>
> > >    <part name='password' type='xsd:string'/>
> > >   </message>
> > >
> > >   <message name='LogIn.makeConnectionResponse'>
> > >    <part name='Result' type='xsd:ArrayOfString'/>
> > >   </message>
> > >
> > >   <portType name='LogInSoapPort'>
> > >
> > >    <operation name='makeConnection' parameterOrder='uid password'>
> > >     <input message='wsdlns:LogIn.makeConnection'/>
> > >     <output message='wsdlns:LogIn.makeConnectionResponse'/>
> > >    </operation>
> > >
> > >   </portType>
> > >
> > >   <binding name='LogInSoapBinding' type='wsdlns:LogInSoapPort' >
> > >
> > >    <stk:binding preferredEncoding='UTF-8'/>
> > >    <soap:binding style='rpc'
> > >  transport='http://schemas.xmlsoap.org/soap/http'/>
> > >
> > >    <operation name='makeConnection'>
> > >     <soap:operation
> > >  
> > soapAction='http://tempuri.org/SoapInTempo/action/LogIn.makeCo
> > nnection'/>
> > >     <input>
> > >      <soap:body
> > >       use='encoded'
> > >       namespace='http://tempuri.org/SoapInTempo/message/'
> > >       encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
> > >       parts='uid password'/>
> > >     </input>
> > >     <output>
> > >      <soap:body
> > >       use='encoded'
> > >       namespace='http://tempuri.org/SoapInTempo/message/'
> > >       encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
> > >       parts='Result'/>
> > >     </output>
> > >    </operation>
> > >
> > >   </binding>
> > >
> > >   <service name='SoapInTempo' >
> > >    <port name='LogInSoapPort' binding='wsdlns:LogInSoapBinding' >
> > >     <soap:address 
> > location='http://localhost/server/SoapInTempo.ASP'/>
> > >    </port>
> > >   </service>
> > >
> > >  </definitions>
> > 
> > 


Reply via email to