Thanks. I've been pouring over documentation and I
haven't found much that discusses how to handle
undefined types.

Unfortunately, I'm forced to work with this schema for
the time being.
So I should look into traversing "anonymous" DOM
objects? Could anyone point me toward some
documentation??

Again, thanks.

--- Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

> Your schema doesn't really define the output. It's
> defines as <s:any />,
> which can be anything. Axis should map the results
> to a DOM object.
> 
> If you had a well defined interface, you'd find Axis
> much easier to use.
> 
> Anne
> 
> On 6/26/06, Ash Grove <[EMAIL PROTECTED]> wrote:
> >
> > Hi!
> >
> > I'm new to web services. I'm trying to fetch data
> from
> > an established service (that I did not create).
> >
> > I installed axis, ran WSDL2Java, and created a
> > simple client.
> >
> > When I execute my client against the service,
> returned
> > is something like: @f840b6
> >
> > I just don't know what to do from here to get real
> > data instead of this object id or whatever it is
> that
> > the client returns! Wow, web services are far more
> > complex than I imagined! :)
> >
> > Following is most of the WSDL -- I had to remove
> > certain parts as this is an internal,
> > under-development service. I apologize if it isn't
> > kosher to sanitize in such a way.
> >
> > Thanks!!
> > Ash
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <wsdl:definitions
> >        
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
> >        
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> >         xmlns:s="http://www.w3.org/2001/XMLSchema";
> >
> >
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
> >
> >         xmlns:tns="..."
> >
> >
>
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
> >
> >        
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
> >         targetNamespace="..."
> >        
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
> >
> >   <wsdl:types>
> >     <s:schema elementFormDefault="qualified"
> > targetNamespace="...">
> >       <s:element name="getMyData">
> >         <s:complexType />
> >       </s:element>
> >       <s:element name="getMyDataResponse">
> >         <s:complexType>
> >           <s:sequence>
> >             <s:element minOccurs="0" maxOccurs="1"
> > name="getMyDataResult">
> >               <s:complexType mixed="true">
> >                 <s:sequence>
> >                   <s:any />
> >                 </s:sequence>
> >               </s:complexType>
> >             </s:element>
> >           </s:sequence>
> >         </s:complexType>
> >       </s:element>
> >     </s:schema>
> >   </wsdl:types>
> >   <wsdl:message name="getMyDataSoapIn">
> >     <wsdl:part name="parameters"
> > element="tns:getMyData" />
> >   </wsdl:message>
> >   <wsdl:message name="getMyDataSoapOut">
> >     <wsdl:part name="parameters"
> > element="tns:getMyDataResponse" />
> >   </wsdl:message>
> >   <wsdl:portType name="...Soap">
> >     <wsdl:operation name="getMyData">
> >       <documentation
> > xmlns="http://schemas.xmlsoap.org/wsdl/";>Describe
> this
> > method</documentation>
> >       <wsdl:input message="tns:getMyDataSoapIn" />
> >       <wsdl:output message="tns:getMyDataSoapOut"
> />
> >     </wsdl:operation>
> >   </wsdl:portType>
> >   <wsdl:binding name="...Soap" type="tns:...Soap">
> >     <soap:binding
> > transport="http://schemas.xmlsoap.org/soap/http";
> > style="document" />
> >     <wsdl:operation name="getMyData">
> >       <soap:operation
> > soapAction="http://.../getMyData"; style="document"
> />
> >       <wsdl:input>
> >         <soap:body use="literal" />
> >       </wsdl:input>
> >       <wsdl:output>
> >         <soap:body use="literal" />
> >       </wsdl:output>
> >     </wsdl:operation>
> >   </wsdl:binding>
> >   <wsdl:service name="...">
> >     <documentation
> >
> xmlns="http://schemas.xmlsoap.org/wsdl/";>Description
> > of these services</documentation>
> >     <wsdl:port name="..." binding="tns:...">
> >       <soap:address location="http://..."; />
> >     </wsdl:port>
> >   </wsdl:service>
> > </wsdl:definitions>
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to