Hi, Could you post the schema section for this operation please. I could give you a solution then.
Thanks, Keith. On Wed, Jun 25, 2008 at 3:54 AM, Matthew Beldyk <[EMAIL PROTECTED]> wrote: > Hi, I'm using Axis2 with Tomcat. I've been using SOAP to talk to my > servlets, but recently the discussion came up wondering if we would > use REST with our services. > > Currently, I send messages to our servlets similar to (headers pulled out): > <mon:GPSSearch> > <BRadius> > <ser:Lat>59.362584</ser:Lat> > <ser:Lon>-153.44467</ser:Lon> > <ser:Radius>10</ser:Radius> > </BRadius> > <StartTime>2000-02-02T18:49:00.000-07:00</StartTime> > </mon:GPSSearch> > > I would like to do something similar to > http:// > *.com:8080/axis2/services/GPSSearch/GPSSearch?ArchiveStartAfter=2008-06-15T00:00:00.000-07:00&BRadius=something > (NOTE: http:// > *.com:8080/axis2/services/GPSSearch/GPSSearch?ArchiveStartAfter=2008-06-15T00:00:00.000-07:00 > behaves as I would expect) > > Unfortunately, I am unable to determine how to represent > "BRadius=something" for any of our complex types. Initially I tried: > > "BRadius=<ser:Lat>59.362584</ser:Lat><ser:Lon>-153.44467</ser:Lon><ser:Radius>10</ser:Radius>" > which was passed to my code as > > "<BRadius><![CDATA[<ser:Lat>59.362584</ser:Lat><ser:Lon>-153.44467</ser:Lon><ser:Radius>10</ser:Radius>]]></BRadius>" > > Is there any way to represent complex types like this? If so, how? > > Best Regards, > Matt Beldyk > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
