You are the man!
That did it. You have no idea how many other developers have looked at this
and wrote crazy work arounds.
Thank you again.
PS
Carey, you might need to update your script on the community download site
to reflect these changes.
On 3/27/07, Grooms, Frederick W <[EMAIL PROTECTED]> wrote:
** Turn off the autotype
my $soap = SOAP::Lite
. . .
-> autotype(0)
. . .
------------------------------
*From:* Action Request System discussion list(ARSList) [mailto:
[EMAIL PROTECTED] *On Behalf Of *Frank Caruso
*Sent:* Tuesday, March 27, 2007 1:26 PM
*To:* [email protected]
*Subject:* Re: Web Service and SOAP
** Nope ... still added a type, and it added a default type of int:
<Change_Request_ xsi:type="xsd:int">00302140</Change_Request_>
On 3/27/07, Grooms, Frederick W <[EMAIL PROTECTED]> wrote:
>
> ** Drop off the type and it should create XML like
> <Change_Request_>00302140</Change_Request_>
>
> Fred
>
>
> ------------------------------
> *From:* Action Request System discussion list(ARSList) [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Frank Caruso
> *Sent:* Tuesday, March 27, 2007 12:30 PM
> *To:* [email protected]
> *Subject:* Re: Web Service and SOAP
>
> ** my $data = SOAP::Data
> ->name('Change_Request_')->value($Case_ID) ->type('xsd:string');
>
> On 3/27/07, Grooms, Frederick W < [EMAIL PROTECTED]> wrote:
> >
> > ** In your perl code do you have autotype set and/or are you
> > specifying the type on each value?
> >
> > SOAP::Data->name('String_1' => 's1' )
> > or
> > SOAP::Data->type('string')->name('String_1' => 's1' )
> >
> > Fred
> >
> > ------------------------------
> > *From:* Action Request System discussion list(ARSList) [mailto:
> > [EMAIL PROTECTED] *On Behalf Of *Frank Caruso
> > *Sent:* Monday, March 26, 2007 3:24 PM
> > *To:* [email protected]
> > *Subject:* Web Service and SOAP
> >
> > ** We are trying to consume a Remedy webservice using Perl and
> > SOAP::Lite. However, we keep getting the same error message:
> >
> > Fault :org.xml.sax.SAXException: Error: URI=null Line=1: Undeclared
> > prefix: "xsi:type".
> > Faultcode :soapenv:Server.userException
> >
> > Here is the SOAP envelope being sent:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <soap:Envelope xmlns:xsi=" http://www.w3.org/1999/XMLSchema-instance"
> > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/ "
> > xmlns:xsd=" http://www.w3.org/1999/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> > " xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/">
> > <soap:Header>
> > <AuthenticationInfo>
> > <userName>sdsddsdt</userName>
> > <password>sdsdsdsdsd</password>
> > </AuthenticationInfo>
> > </soap:Header>
> > <soap:Body>
> > <namesp1:OpGet xmlns:namesp1="AOLChangeManagementWSDL">
> > <Change_Request_
> > xsi:type="xsd:string">00302140</Change_Request_>
> > </namesp1:OpGet>
> > </soap:Body>
> > </soap:Envelope>
> >
> >
> > Any thoughts
> >
> > --
> > Frank Caruso
> > Specific Integration, Inc.
> > Senior Remedy Engineer, ITIL Foundation Certified
> > www.specificintegration.com
> > 703-376-1249 __20060125_______________________This posting was
> > submitted with HTML in it___
> > __20060125_______________________This posting was submitted with HTML
> > in it___
>
>
>
>
> --
> Frank Caruso
> Specific Integration, Inc.
> Senior Remedy Engineer, ITIL Foundation Certified
> www.specificintegration.com
> 703-376-1249 __20060125_______________________This posting was submitted
> with HTML in it___
> __20060125_______________________This posting was submitted with HTML in
> it___
>
--
Frank Caruso
Specific Integration, Inc.
Senior Remedy Engineer, ITIL Foundation Certified
www.specificintegration.com
703-376-1249 __20060125_______________________This posting was submitted
with HTML in it___
__20060125_______________________This posting was submitted with HTML in
it___
--
Frank Caruso
Specific Integration, Inc.
Senior Remedy Engineer, ITIL Foundation Certified
www.specificintegration.com
703-376-1249
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"