I'm not sure if what you are wanting to send is actually valid.  You are
saying getIncident has a namespace and then you are saying the fields
have a namespace of empty string. 

 

Try getting the free tool soapUI < http://www.soapui.org> and see what
it tries to send when you give it the WSDL.

 

Fred

 

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of ARSmarts Support
Sent: Friday, February 06, 2009 12:30 AM
To: arslist@ARSLIST.ORG
Subject: Help with web services

 

Hi,

 

I am trying to consume a web service from a Set Field action in a
filter.

The xml that Remedy should send to my web service is the following:

 

        <soap12:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";>
        <soap12:Body>
        <getIncident
xmlns="http://portimaincidentservice.soap.iss.studioworx.be/";>
        <username xmlns="">Login</username>
        <password xmlns="">Password</password>
        <id xmlns="">1</id>
        </getIncident>
        </soap12:Body>
        </soap12:Envelope>

 

However, Remedy generates an XML like this

        <?xml version="1.0" encoding="utf-8"?>
        <soap12:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";>
        <soap12:Body>
        <getIncident
xmlns="http://portimaincidentservice.soap.iss.studioworx.be/";>
        <username>Login</username>
        <password>Password</password>
        <id>1</id>
        </getIncident>
        </soap12:Body>
        </soap12:Envelope>

 

And of course, the set field fails.

Does anybody have an idea how I can force Remedy to put the xmlns=""
attribute in the autogenerated soap request ?

 

Thanks a lot.

Jean-Louis Halleux


--

ARSmarts, your most useful AR System companion.
www.ARSmarts.com <http://www.ARSmarts.com/> 

 

 

 

 


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

Reply via email to