Agreed. But the order of the XML should not matter. If I define a schema as follows:
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="GavinsTest"> <xs:complexType> <xs:element name="UserDetails" maxoccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="FirstName" type="xs:string"></xs:element> <xs:element name="LastName" type="xs:string"></xs:element> <xs:element name="MiddleName" type="xs:string"></xs:element> <xs:element name="PhoneNumber" type="xs:string"></xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:element> </xs:complexType> </xs:element> </xs:schema> And your system provides me with (I.e. Data in a different order to that specified above) .....<UserDetails> <PhoneNumber>12345</PhoneNumber> <LastName>Smith</LastName> <FirstName>Fred</FirstName> <MiddleName>Ignatius</MiddleName> </UserDetails> Then my system should be able to cope with this. The order of the elements should make no difference. My comment was simply that the SAP system we integrate with cannot cope with this and throws an error. I don't believe SAP uses a true XML parser (I think that's what it would be) and therefore I have to ensure that I send the data in the correct order SAP is expecting. Thanks, Gavin Coleman Senior Analyst/Programmer Computacenter (UK) Ltd Services & Solutions Hatfield Avenue Hatfield, Hertfordshire, AL10 9TW, United Kingdom T: +44 (0) 1707 631662 E: [email protected] W: www.computacenter.com -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Jarl Grøneng Sent: 16 August 2010 09:49 To: [email protected] Subject: Re: Cheap Inexpensive preferably free SAP/Remedy Integration - Does it exist? What is proper XML? The XML structure is defined in a XML schema. To create a XML request is defined from the XML schema. So, if you want a different XML structure, use a different XML schema. -- Jarl 2010/8/16 Coleman, Gavin <[email protected]>: > ** > > Hi Ibrahim - we're currently in a development phase of integrating Remedy > 7.5 ITSM 7.5 with a SAP system. We are using the excellent XML Gateway to > achieve this (http://www.javasystemsolutions.com/jss/xmlgateway). This is > obviously not free, but it does have a lot of excellent functionality that > helps to ease the pain of integrating with SAP. > > > > Some issues that you might light to think of (N.B. I don't know how much of > these issues are down to OOB SAP, and how much are down to the customised > system we are integrating with) > > > > 1. SAP does not seem to be able to deal with "proper" xml. I should be > able to send a request to an XML compliant system formatted any way I like: > > > > <MyTest> > > <FirstName>Fred</FirstName> > > <LastName>Smith</LastName> > > </MyTest> > > > > Should be treated exactly the same way as: > > > > <MyTest> > > <LastName>Smith</LastName> > > <FirstName>Fred</FirstName> > > </MyTest> > > > > In SAP, this is not the case. > > > > 2. You will probably not want to use synchronous integrations (I.e. > Waiting for a response from SAP), as it can take quite a time to process > incoming responses. > > > > 3. The reason we used the XML Gateway product is because this gave us > a greater level of control over incoming and outgoing integrations than OOB > Remedy workflow (I.e. Remedy Web Services) > > > > 4. We had to write a custom Java Plugin to enable us to consume SAP > Web Services (this is because we were using XML Gateway in a slightly > unusual way), but this is relatively small and fairly easily written. > > > > > > The support we've had from John Baker at Java System Solutions has been > fantastic. We've frequently come across extra functionality that we required > before we could continue and John often had a new version of the system > ready for us within a week. > > > > Hope this helps! > > > > > > > > Gavin Coleman > > Senior Analyst/Programmer > > Computacenter (UK) Ltd > > Services & Solutions > > Hatfield Avenue > > Hatfield, Hertfordshire, AL10 9TW, United Kingdom > > T: +44 (0) 1707 631662 > > E: [email protected] > > W: www.computacenter.com > > > > From: Action Request System discussion list(ARSList) > [mailto:[email protected]] On Behalf Of Ibrahim Akar > Sent: 14 August 2010 23:09 > To: [email protected] > Subject: Cheap Inexpensive preferably free SAP/Remedy Integration - Does it > exist? > > > > ** > > Anyone know of an inexpensive way to integrate SAP & Remedy? Am I asking for > too much? > Thanks, > -- > -Ibrahim Akar > > PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL > > > > _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_ > > ********************************************************************** > COMPUTACENTER PLC is registered in England and Wales with the registered > number 03110569. Its registered office is at Hatfield Business Park, > Hatfield Avenue, Hatfield, Hertfordshire AL10 9TW > COMPUTACENTER (UK) Limited is registered in England and Wales with the > registered number 01584718. Its registered office is at Hatfield Business > Park, Hatfield Avenue, Hatfield, Hertfordshire AL10 9TW > COMPUTACENTER (Mid-Market) Limited is registered in England and Wales with > the registered number 3434654. Its registered office is at Hatfield Business > Park, Hatfield Avenue, Hatfield, Hertfordshire AL10 9TW > COMPUTACENTER (FMS) Limited is registered in England and Wales with the > registered number 3798091. Its registered office is at Hatfield Business > Park, Hatfield Avenue, Hatfield, Hertfordshire AL10 9TW > > The contents of this email are intended for the named addressee only. > It contains information which may be confidential and which may also be > privileged. > Unless you are the named addressee (or authorised to receive mail for the > addressee) you may not copy or use it, or disclose it to anyone else. > If you receive it in error please notify us immediately and then destroy it. > Computacenter information is available from: http://www.computacenter.com > ********************************************************************** > > > > _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

