On Fri, Sep 23, 2011 at 8:45 PM, Paul Boniol <[email protected]> wrote:

> I had some even higher priority things come up, but I'm back to SOAP now...
>  I'm seriously considering chucking SOAP::Lite as recommended, but I also
> feel what the code I have is very close to working.
>
> From what I can tell, the server doesn't know what to do with the
> "xsi:type" attributes that SOAP::Lite puts in automatically, and so it
> fails.  I can't seem to find a way to tell SOAP::Lite not to put these in...
>
>
> The specific error is:
> Castor unmarshalling exception: The namespace associated with the prefix
> 'xsi' could not be resolved.
>
> Even though the xsi namespace is specified at the top (xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";)... I had been using an version
> of SOAP::Lite from a year or so ago so I upgraded to the latest version of
> SOAP::Lite thinking something may have changed.  Still the same namespace
> specification at the top.  Still the same error.
>
> So is there a way to turn off the data types that SOAP::Lite is throwing
> in?
>

Okay.. I overlooked the somewhat obvious.  To get rid of things like
xsi:type="xsd:string", add
->type('')
to any data that has a value.  It works now.

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

Reply via email to