The important thing with tns1:string vs. s:string is that the namespace prefixes (tns1 and s) point to the XML Schema namespace: xmlns:xsd="http://www.w3.org/2001/XMLSchema"
In general with Axis, 'tns1' points to something other than XML Schema, for instance (from a ColdFusion CFC web service): xmlns:tns1="http://rpc.xml.coldfusion" I hope that helps a little -- Tom Jordahl Adobe --- In flexcoders@yahoogroups.com, "someguy7_7" <[EMAIL PROTECTED]> wrote: > > Mine have type="s:string" as well. I also have a field called > totalresults that is at the same level as the items which is an > integer and seems to be fine. I am able to reference that using > lastResult.totalresults. The strings for category and categoryid are > the ones I am having problems with. > --- In flexcoders@yahoogroups.com, "Kelly Birr" <kelly.fx@> wrote: > > > > The only difference I can see between your WSDL and mine is that > mine has > > type="s:string" in the simple string elements. I've looked through my > > services and have found type="tns:whatever" in some places and flex does > > interpret those as more complex types. > > > > I can only assume this is what's happening to you. If you have > control over > > your WSDL you may try type="s:string". I had to do something > similar in my > > .NET web services to get the WSDL to read type="s:string" instead of > > type="s:dateTime" for date/time values so Flex would leave them as > strings > > and not convert them to Date objects and mess up the time zone. > > > > - Kelly > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of someguy7_7 > > Sent: Tuesday, July 04, 2006 10:32 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: Beta 3 WebService Result > > > > Our webservices are written in J2EE 1.5 with Axis. I can get the > specific > > version of Axis if you think it matters. > > > > Here is part of wsdl that pertains to the question. Sorry about the > > formatting. > > > > <complexType name="SearchResponse"> > > <sequence> > > <element maxOccurs="1" minOccurs="0" name="items" nillable="true"> > > <complexType> > > <sequence> > > <element maxOccurs="1" minOccurs="0" name="totalresults" > > type="tns1:int"/> > > <element maxOccurs="unbounded" minOccurs="0" name="item" > > nillable="true"> > > <complexType> > > <sequence> > > <element maxOccurs="1" minOccurs="0" name="category" > > type="tns1:string"/> > > <element maxOccurs="1" minOccurs="0" > > name="categoryid" > > type="tns1:string"/> > > </sequence> > > </complexType> > > </element> > > </sequence> > > </complexType> > > </element> > > </sequence> > > </complexType> > > > > > > Thanks ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/