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]
<mailto:[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
<http://www.w3.org/1999/XMLSchema-instance> "
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsd="
http://www.w3.org/1999/XMLSchema <http://www.w3.org/1999/XMLSchema> "
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ "
xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/
<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___ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to