Hi Charlie, There is no way to alter the xml that gets generated; this is done in the C code inside the php_sdo extension. However, it might be that it is not working properly, and that it should be generating the xsi:type's - if so, we should fix it. It would help if you could point us at the wsdl you are using???
Matthew On Jun 20, 1:38 am, "Charlie Moad" <[EMAIL PROTECTED]> wrote: > Trying again. Is there anyway at all to manipulate the outgoing xml of the > soap request? > Thanks, > Charlie > > On Wed, Jun 18, 2008 at 2:54 PM, Charlie <[EMAIL PROTECTED]> wrote: > > I am using a wsdl that has a xsd:anyType parameter in a method call. > > The resulting SOAP request generates xml that looks like this: > > > <tns2:mValue>testing</tns2:mValue> > > > I need someway to make it output this instead: > > > <tns2:mValue xsi:type="xsd:string">13.219</tns2:mValue> > > > How can I inject an attribute or specify a type in this situation? > > > Here is a code snippet. > > > $metadata = $constraint->createDataObject('mMetadata'); > > $metadata->mName = 'Name'; > > $metadata->mID = $nameSMDD->mID; > > $metadata->mValue = 'testing'; > > // $mValue = $metadata->createDataObject('mValue'); // this call > > works, but can't do much with it > > > Thanks, > > Charlie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---