PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Need help formatting an XML Document Element

Peoplesoft 9.0;  PeopleTools 8.53.28
We are attempting to create an XML document to communicate with WorldShip (UPS shipping). This has been working ConnectShip, but their XML doesn't work with WorldShip.
The issue is with the syntax in creating the document element:

Create is working:
&ShipRequestDoc = CreateXmlDoc("<?xml version='1.0' encoding='WINDOWS-1252'?><OpenShipments xmlns='x-schema:OpenShipments.xdr'/>");

But WorldShip is requiring 2 parameters in the 1st document element.
-attempt 1 failed:
&ShipRequest = &ShipRequestDoc.DocumentElement.AddElement("OpenShipment ShipmentOption='' ProcessStatus='' ");

-attempt 2 failed:
&ShipRequest = &ShipRequestDoc.CreateDocumentElement("OpenShipment ShipmentOption='' ProcessStatus='' ");

XML needs to look like this (can't get Peoplecode to create 3rd line):
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center