The only way is to delete the ones below and re-add them.   
 
You have a tool that builds it's elements alphabetically???  This seems
like it would never pass an XML schema check.  A tool that consumes a
Web Service should build it's elements based on the WSDL or on an XML
Schema not come up with it's own design.
 
Fred

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Cleereman (IT)
Sent: Tuesday, May 15, 2007 3:25 PM
To: [email protected]
Subject: WSDL Element Order


** 

Hi All, 

We are running ARServer 6.3 on AIX 5.2, and Mid-Tier on Windows 2003. 

I looked through several docs, but I've not been able to find the answer
to this:  If I add an element to a Remedy generated WSDL, how can I
change the position of the element?

For instance, I have the following elements defined under input mappings
for a given Operation: 

        Assigned_To 
        From 
        HD_Status 
        Logical_Host 
        Message 
        Short_Description 
        Status 
        Impact_Time_End 
        Impact_Time_Start 
        Server_Name 
        Submitter 

When I add the element Component_Name, it appears at the bottom of the
list, rather than following the Assigned_To element.  This creates a
problem, as we have an automated tool which generates it's SOAP with the
elements alphabetically.  The end result is, when the tool submits to
Remedy, Remedy kicks back the following error:

        MessageText: Required element expected in the input XML document

        AppendedText: <From> 

When I look at this in Mindreef's SOAPScope, it appears the error is
appearing because Remedy is expecting the From element, and receiving
the Component_Name element instead.

I realize I can cut and paste each of the elements from From through
Submitter, and this will move them below the last added element, but
when I do that, each loses it's element info, so I end up having to
recreate those.  I'm hoping someone may have a better way to do this.

Eric Cleereman  

 


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

Reply via email to