Even stranger, it seems to add it to all of the direct child nodes of the actual request node. Another example:
<PseSearch xmlns="http://site.com/BackOffice/PseSearch"> <ns0:clientNm xmlns:ns0="http://site.com/BackOffice/PseSearch"/> <ns0:planNm xmlns:ns0="http://site.com/BackOffice/PseSearch">78167</ns0:planNm> <ns0:RelationshipMgrNm xmlns:ns0="http://site.com/BackOffice/PseSearch"/> <ns0:maxResults xmlns:ns0="http://site.com/BackOffice/PseSearch">100</ns0:maxResults> </PseSearch> Am I defining something incorrectly? Thanks, Ben http://www.returnundefined.com/ --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > I keep seeing these prefixes that are completely unnecessary, and I > don't know why or how they're getting inserted. My calls are formatted > like this: > > dmws = new WebService(); > dmws.useProxy = dmws.makeObjectsBindable = false; > dmws.loadWSDL(myWsdlUrl); > > var op:Operation = dmws.getOperation("GetDataByGrouping") as Operation; > op.resultFormat = "e4x"; > op.arguments.groupingRequests = new Object(); > op.arguments.groupingRequests.GroupName = "RPRToolStaticData"; > > Pretty simple and straightforward, but when I view the request xml > that is sent it looks like this: > > <GetDataByGrouping xmlns="http://site.com/BackOffice/ClientMeasures"> > <ns0:groupingRequests > xmlns:ns0="http://site.com/BackOffice/ClientMeasures"> > <ns0:DataGroupingRequest> > <ns0:GroupName>RPRToolStaticData</ns0:GroupName> > </ns0:DataGroupingRequest> > </ns0:groupingRequests> > </GetDataByGrouping> > > Why is it redfining the namespace that is already on the > GetDataByGrouping node and muddying up the xml with unnecessary prefixes? > > Thanks, > Ben > http://www.returnundefined.com/ > -- 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/