年前在客户那里做POC,因为成型的OTMCS暴露Web Service的Schema太长,导致ICS无法支持和映射,讨论过后决定对Web Service调用进行封装,因OTMCS WebService订单生成的调用参数太多,决定化繁为简,直接将所有的报文作为一个参数传入。

代码如下:

package hwpoc;

import javax.jws.*;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

import javax.naming.Context;
import javax.naming.InitialContext;

import java.io.*;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.*;
import java.net.*;

import javax.net.ssl.HttpsURLConnection;

@WebService
public class wlsOTMServices {

@WebMethod
public String CallWebService(@WebParam(name = "arg0") String inputString) {

String SOAPAction = "process";
StringBuffer outputString=new StringBuffer("");

System.out.println("===="+inputString);

try {
// Create the connection where we're going to send the file.
//URL url = new URL("http://192.168.2.16:7001/pwsc/services/DataCenterService?wsdl");
//URL url = new URL("https://cn25762-test-cn25762.otm.us2.oraclecloud.com:443/GC3Services/IntXmlService/call?WSDL");
URL url = new URL(null, "https://cn25762-test-cn25762.otm.us2.oraclecloud.com:443/GC3Services/IntXmlService/call?WSDL", new sun.net.www.protocol.https.Handler());
//URLConnection connection = url.openConnection();
//HttpURLConnection httpConn = (HttpURLConnection) connection;

HttpsURLConnection httpConn = (HttpsURLConnection)url.openConnection();

String envelop=(" <env:Envelope xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\"><env:Header>\n" +
" <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\">\n" +
" <wsse:UsernameToken>\n" +
" <wsse:Username>XB.INTEGRATION_USER</wsse:Username>\n" +
" <wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">CHANGEME</wsse:Password>\n" +
" </wsse:UsernameToken>\n" +
" </wsse:Security>\n" +
" </env:Header>\n" +
" <env:Body>");
String enve1= ("</env:Body> </env:Envelope>");

inputString=envelop+inputString+enve1;
System.out.println(inputString);
// Set the appropriate HTTP parameters.
httpConn.setRequestProperty( "Content-Length",String.valueOf(inputString.length()));
httpConn.setRequestProperty("Content-Type","text/xml; charset=UTF-8");
httpConn.setRequestProperty("SOAPAction",SOAPAction);
//httpConn.setRequestProperty("Accept-Encoding:","gzip,deflate");
httpConn.setRequestMethod( "POST" );
httpConn.setDoOutput(true);
httpConn.setDoInput(true);
// Everything's set up; send the XML that was read in to b.

OutputStream out = httpConn.getOutputStream();

//out.write(envelop.getBytes());
out.write(inputString.getBytes());
//out.write(enve1.getBytes());

out.close();

// Read the response and write it to standard out.
InputStreamReader isr = new InputStreamReader(httpConn.getInputStream());

BufferedReader in = new BufferedReader(isr);
String inputLine;

while ((inputLine = in.readLine()) != null)
//System.out.println("****"+inputLine);
outputString = outputString.append(inputLine);
in.close();
} catch (Exception e) {
System.out.println(e.toString());
}

String aa = outputString.toString();
return aa;

}

@WebMethod(exclude = true)
public static void main(String[] args) {
wlsOTMServices test = new wlsOTMServices();
String inputString = "<Transmission>\n" +
" <TransmissionHeader>\n" +
" <UserName>HWPOC.INTEGRATION_USER</UserName>\n" +
" <Password>******</Password>\n" +
" <SenderSystemId/>\n" +
" <GlogXMLElementName/>\n" +
" </TransmissionHeader>\n" +
" <TransmissionBody>\n" +
" <GLogXMLElement>\n" +
" <Release>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>000032160036AHHWA04K</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <TransactionCode>IU</TransactionCode>\n" +
" <ReleaseHeader>\n" +
" <ReleaseMethodGid>\n" +
" <Gid>\n" +
" <Xid>AUTO_CALC</Xid>\n" +
" </Gid>\n" +
" </ReleaseMethodGid>\n" +
" <CommercialTerms>\n" +
" <IncoTermGid>\n" +
" <Gid>\n" +
" <Xid>DDU</Xid>\n" +
" </Gid>\n" +
" </IncoTermGid>\n" +
" </CommercialTerms>\n" +
" <IsTemplate>N</IsTemplate>\n" +
" <BundlingType>AUTOMATIC</BundlingType>\n" +
" <IsSplitAllowed>Y</IsSplitAllowed>\n" +
" <IsShipperKnown>N</IsShipperKnown>\n" +
" <OrderPriority>1</OrderPriority>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" <FlexFieldCurrencies/>\n" +
" </ReleaseHeader>\n" +
" <ShipFromLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>HW_DGFAC_CHINA</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" </LocationRef>\n" +
" </ShipFromLocationRef>\n" +
" <ShipToLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>KW_L1</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" </LocationRef>\n" +
" </ShipToLocationRef>\n" +
" <TimeWindow>\n" +
" <PickupIsAppt>N</PickupIsAppt>\n" +
" <DeliveryIsAppt>N</DeliveryIsAppt>\n" +
" </TimeWindow>\n" +
" <ReleaseLine>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>220</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem>\n" +
" <Packaging>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <Xid>DEFAULT</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" <IsHandlingUnitStackable>Y</IsHandlingUnitStackable>\n" +
" <IsDefaultPackaging>N</IsDefaultPackaging>\n" +
" <IsHazardous>N</IsHazardous>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" <IsAllowMixedFreight>Y</IsAllowMixedFreight>\n" +
" </Packaging>\n" +
" <Item>\n" +
" <TransactionCode>IU</TransactionCode>\n" +
" <ItemGid>\n" +
" <Gid>\n" +
" <Xid>DEFAULT</Xid>\n" +
" </Gid>\n" +
" </ItemGid>\n" +
" <IsDrawback>N</IsDrawback>\n" +
" <PricePerUnit>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </PricePerUnit>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" </Item>\n" +
" </PackagedItem>\n" +
" </PackagedItemRef>\n" +
" <ItemQuantity>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>14</PackagedItemCount>\n" +
" <DeclaredValue>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </DeclaredValue>\n" +
" </ItemQuantity>\n" +
" <IsDrawback>N</IsDrawback>\n" +
" <IsSplitAllowed>Y</IsSplitAllowed>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" </ReleaseLine>\n" +
" <ShipUnit>\n" +
" <ShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>221</Xid>\n" +
" </Gid>\n" +
" </ShipUnitGid>\n" +
" <TransactionCode>IU</TransactionCode>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <UnitNetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </UnitNetWeightVolume>\n" +
" <TotalGrossWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </TotalGrossWeightVolume>\n" +
" <ShipUnitContent>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem>\n" +
" <Packaging>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <Xid>DEFAULT</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" <IsHandlingUnitStackable>Y</IsHandlingUnitStackable>\n" +
" <IsDefaultPackaging>N</IsDefaultPackaging>\n" +
" <IsHazardous>N</IsHazardous>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" <IsAllowMixedFreight>Y</IsAllowMixedFreight>\n" +
" </Packaging>\n" +
" <Item>\n" +
" <TransactionCode>IU</TransactionCode>\n" +
" <ItemGid>\n" +
" <Gid>\n" +
" <Xid>DEFAULT</Xid>\n" +
" </Gid>\n" +
" </ItemGid>\n" +
" <IsDrawback>N</IsDrawback>\n" +
" <PricePerUnit>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </PricePerUnit>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" </Item>\n" +
" </PackagedItem>\n" +
" </PackagedItemRef>\n" +
" <LineNumber>1</LineNumber>\n" +
" <ItemQuantity>\n" +
" <IsSplitAllowed>N</IsSplitAllowed>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>14</PackagedItemCount>\n" +
" </ItemQuantity>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>000032160036AHHWA04K</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>220</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <NetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </NetWeightVolume>\n" +
" </ShipUnitContent>\n" +
" <IsSplitAllowed>N</IsSplitAllowed>\n" +
" <IsCountSplittable>Y</IsCountSplittable>\n" +
" <ShipUnitCount>1</ShipUnitCount>\n" +
" <IsRepackAllowed>N</IsRepackAllowed>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" </ShipUnit>\n" +
" <TotalWeightVolume>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" </TotalWeightVolume>\n" +
" <TotalNetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>2.62</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <Xid>MTON</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>0.2</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <Xid>CUMTR</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </TotalNetWeightVolume>\n" +
" <TotalPackagedItemCount>14</TotalPackagedItemCount>\n" +
" <ReleaseRefnum>\n" +
" <ReleaseRefnumQualifierGid>\n" +
" <Gid>\n" +
" <Xid>GLOG</Xid>\n" +
" </Gid>\n" +
" </ReleaseRefnumQualifierGid>\n" +
" <ReleaseRefnumValue>HWPOC.000032160036AHHWA04K</ReleaseRefnumValue>\n" +
" </ReleaseRefnum>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ORDER_RELEASE GUARANTEED DELIVERY</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ORDER_RELEASE GUARANTEED DELIVERY_NOT STARTED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PLANNING</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PLANNING_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>OR_HD_LOAD_STATUS</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>OR_NOT_READY_TO_LOAD</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BILLED</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BILLED_NOT_BILLED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>QUANTITY VALIDATION SOURCE</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>QUANTITY VALIDATION SOURCE_NOT STARTED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PLANNING_SELL</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PLANNING_SELL_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>FLEET ASSIGNMENT OR</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>FLEET ASSIGNMENT OR_NOT ASSIGNED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>QUANTITY VALIDATION DESTINATION</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>QUANTITY VALIDATION DESTINATION_NOT STARTED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ORDER RELEASE SKU LINK</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ORDER RELEASE SKU LINK_INACTIVE</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>READY_TO_SHIP</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>READY_TO_SHIP_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ORDER MODIFIED</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ORDER MODIFIED_NO MODIFICATION</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CANCELLED</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CANCELLED_NOT CANCELLED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" </Release>\n" +
" </GLogXMLElement>\n" +
" </TransmissionBody>\n" +
" </Transmission>\n";

String a1 = "<Transmission>\n" +
" <TransmissionHeader>\n" +
" <UserName/>\n" +
" <Password/>\n" +
" <SenderSystemId/>\n" +
" <GlogXMLElementName/>\n" +
" </TransmissionHeader>\n" +
" <TransmissionBody>\n" +
" <GLogXMLElement>\n" +
" <TransactionHeader xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <ObjectModInfo>\n" +
" <InsertDt>\n" +
" <GLogDate>20170122071733</GLogDate>\n" +
" <TZId>UTC</TZId>\n" +
" <TZOffset>+00:00</TZOffset>\n" +
" </InsertDt>\n" +
" <UpdateDt>\n" +
" <GLogDate>20170122071859</GLogDate>\n" +
" <TZId>UTC</TZId>\n" +
" <TZOffset>+00:00</TZOffset>\n" +
" </UpdateDt>\n" +
" </ObjectModInfo>\n" +
" </TransactionHeader>\n" +
" <PlannedShipment xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <Shipment>\n" +
" <ShipmentHeader>\n" +
" <ShipmentGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>222</Xid>\n" +
" </Gid>\n" +
" </ShipmentGid>\n" +
" <ShipmentName/>\n" +
" <ShipmentRefnum>\n" +
" <ShipmentRefnumQualifierGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>GLOG</Xid>\n" +
" </Gid>\n" +
" </ShipmentRefnumQualifierGid>\n" +
" <ShipmentRefnumValue>HWPOC.222</ShipmentRefnumValue>\n" +
" </ShipmentRefnum>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <ShipRouteExecutionInfo/>\n" +
" <ProcessingCodeGid/>\n" +
" <InternalShipmentStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ACCRUAL</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>ACCRUAL_NOT_ALLOWED</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </InternalShipmentStatus>\n" +
" <PlannedShipmentInfo>\n" +
" <RateOfferingGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>V_TEST_A0002</Xid>\n" +
" </Gid>\n" +
" </RateOfferingGid>\n" +
" <RateGeoGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>V_TEST_A0002_01</Xid>\n" +
" </Gid>\n" +
" </RateGeoGid>\n" +
" <TransportModeGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>TL</Xid>\n" +
" </Gid>\n" +
" </TransportModeGid>\n" +
" <TotalPlannedCost>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>150.0</MonetaryAmount>\n" +
" <RateToBase>1.0</RateToBase>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </TotalPlannedCost>\n" +
" <ServiceProviderGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>DGF</Xid>\n" +
" </Gid>\n" +
" </ServiceProviderGid>\n" +
" <ServiceProviderAlias>\n" +
" <ServiceProviderAliasQualifierGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>GLOG</Xid>\n" +
" </Gid>\n" +
" </ServiceProviderAliasQualifierGid>\n" +
" <ServiceProviderAliasValue>HWPOC.DGF</ServiceProviderAliasValue>\n" +
" </ServiceProviderAlias>\n" +
" </PlannedShipmentInfo>\n" +
" <ServiceProviderGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>DGF</Xid>\n" +
" </Gid>\n" +
" </ServiceProviderGid>\n" +
" <ServiceProviderAlias>\n" +
" <ServiceProviderAliasQualifierGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>GLOG</Xid>\n" +
" </Gid>\n" +
" </ServiceProviderAliasQualifierGid>\n" +
" <ServiceProviderAliasValue>HWPOC.DGF</ServiceProviderAliasValue>\n" +
" </ServiceProviderAlias>\n" +
" <IsServiceProviderFixed>N</IsServiceProviderFixed>\n" +
" <ContactGid/>\n" +
" <IsTenderContactFixed>N</IsTenderContactFixed>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <ExchangeRateInfo>\n" +
" <ExchangeRateGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>DEFAULT</Xid>\n" +
" </Gid>\n" +
" </ExchangeRateGid>\n" +
" <ExchangeRateDt/>\n" +
" </ExchangeRateInfo>\n" +
" <TotalPlannedCost>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>150.0</MonetaryAmount>\n" +
" <RateToBase>1.0</RateToBase>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </TotalPlannedCost>\n" +
" <TotalActualCost>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>150.0</MonetaryAmount>\n" +
" <RateToBase>1.0</RateToBase>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </TotalActualCost>\n" +
" <TotalWeightedCost>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>90.0</MonetaryAmount>\n" +
" <RateToBase>1.0</RateToBase>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </TotalWeightedCost>\n" +
" <ShipmentCost>\n" +
" <ShipmentCostSeqno>309</ShipmentCostSeqno>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <CostType>B</CostType>\n" +
" <Cost>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>150.0</MonetaryAmount>\n" +
" <RateToBase>1.0</RateToBase>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </Cost>\n" +
" <AccessorialCodeGid/>\n" +
" <AccessorialCostGid/>\n" +
" <RateGeoCostGroupGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>V_TEST_A0002_01</Xid>\n" +
" </Gid>\n" +
" </RateGeoCostGroupGid>\n" +
" <RateGeoCostSeq>103</RateGeoCostSeq>\n" +
" <SpecialServiceGid/>\n" +
" <IsCostFixed>N</IsCostFixed>\n" +
" <ProcessAsFlowThru>N</ProcessAsFlowThru>\n" +
" <AdjustmentReasonGid/>\n" +
" <GeneralLedgerGid/>\n" +
" <PaymentMethodCodeGid/>\n" +
" <BillableIndicatorGid/>\n" +
" <ShipUnitGid/>\n" +
" <LineNumber/>\n" +
" <IsWeighted>N</IsWeighted>\n" +
" <TrackingNumber/>\n" +
" </ShipmentCost>\n" +
" <IsCostFixed>N</IsCostFixed>\n" +
" <TotalWeightVolume>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" </TotalWeightVolume>\n" +
" <TotalNetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </TotalNetWeightVolume>\n" +
" <TotalShipUnitCount>1</TotalShipUnitCount>\n" +
" <TotalPackagedItemSpecCount>0</TotalPackagedItemSpecCount>\n" +
" <TotalPackagedItemCount>100</TotalPackagedItemCount>\n" +
" <StartDt>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </StartDt>\n" +
" <EndDt>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </EndDt>\n" +
" <CommercialTerms/>\n" +
" <InsuranceInfo/>\n" +
" <InvolvedParty>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <InvolvedPartyQualifierGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LOGISTICS</Xid>\n" +
" </Gid>\n" +
" </InvolvedPartyQualifierGid>\n" +
" <InvolvedPartyLocationRef/>\n" +
" <ContactRef>\n" +
" <ContactGid/>\n" +
" <Contact>\n" +
" <ContactGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>AES_CUSTOMS_OUT</Xid>\n" +
" </Gid>\n" +
" </ContactGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <EmailAddress/>\n" +
" <FirstName/>\n" +
" <MiddleName/>\n" +
" <LastName/>\n" +
" <JobTitle/>\n" +
" <Phone1/>\n" +
" <Phone2/>\n" +
" <Fax/>\n" +
" <LanguageSpoken/>\n" +
" <IsPrimaryContact>N</IsPrimaryContact>\n" +
" <ExternalSystem>\n" +
" <ExternalSystemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>AES_CUSTOMS_OUT</Xid>\n" +
" </Gid>\n" +
" </ExternalSystemGid>\n" +
" <Description>EXTERNAL SYSTEM FOR FILING WITH AES USING OAQ</Description>\n" +
" <URL/>\n" +
" <IntQueueName/>\n" +
" <UserName/>\n" +
" <Password>\n" +
" <Value/>\n" +
" <Type/>\n" +
" </Password>\n" +
" <UseGlcredential>N</UseGlcredential>\n" +
" <MaxBytesPerTransmission/>\n" +
" <MaxTransactsPerTransmission/>\n" +
" </ExternalSystem>\n" +
" <ExternalSystemGid/>\n" +
" <Remark/>\n" +
" <GlUserGid/>\n" +
" <RecipientDomainName/>\n" +
" <LocationGid/>\n" +
" <ConsolidationProfile/>\n" +
" <ConsolidationProfileGid/>\n" +
" <ConsolidatedNotifyOnly>N</ConsolidatedNotifyOnly>\n" +
" <IsNotificationOn>Y</IsNotificationOn>\n" +
" <IsFromAddress/>\n" +
" <FromAddrContactGid/>\n" +
" <AlternateName/>\n" +
" <CompanyName/>\n" +
" <Description/>\n" +
" <Telex/>\n" +
" <TimeZoneGid/>\n" +
" <CellPhone/>\n" +
" <UseMessageHub>N</UseMessageHub>\n" +
" <MessageProfileGid/>\n" +
" <PrinterGid/>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" </Contact>\n" +
" <ContactGroup/>\n" +
" </ContactRef>\n" +
" <ComMethodGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>BY CONTACT</Xid>\n" +
" </Gid>\n" +
" </ComMethodGid>\n" +
" <LocationOverrideInfo/>\n" +
" </InvolvedParty>\n" +
" <ShipmentSpecialService>\n" +
" <SpclService/>\n" +
" <SpecialServiceGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LOAD</Xid>\n" +
" </Gid>\n" +
" </SpecialServiceGid>\n" +
" <ShipSpclServiceSequence>1</ShipSpclServiceSequence>\n" +
" <ProcessAsFlowThru>N</ProcessAsFlowThru>\n" +
" <AdjustmentReasonGid/>\n" +
" <CompletionState>NOT STARTED</CompletionState>\n" +
" <PayableIndicatorGid/>\n" +
" <BillableIndicatorGid/>\n" +
" <ActualOccurTime/>\n" +
" <IsPlanDurFixed>N</IsPlanDurFixed>\n" +
" <PlannedDuration>\n" +
" <Duration>\n" +
" <DurationValue>0.0</DurationValue>\n" +
" <DurationUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>S</Xid>\n" +
" </Gid>\n" +
" </DurationUOMGid>\n" +
" </Duration>\n" +
" </PlannedDuration>\n" +
" <ActualDuration/>\n" +
" <ActualDistance/>\n" +
" <ActualWeight/>\n" +
" <ActualVolume/>\n" +
" <ActualShipUnitCount/>\n" +
" <ActualItemPackageCount/>\n" +
" <IsSystemGenerated>Y</IsSystemGenerated>\n" +
" <StopSequence>1</StopSequence>\n" +
" </ShipmentSpecialService>\n" +
" <Tariff/>\n" +
" <IsFixedDistance>N</IsFixedDistance>\n" +
" <LoadedDistance>\n" +
" <Distance>\n" +
" <DistanceValue>0.0</DistanceValue>\n" +
" <DistanceUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>MI</Xid>\n" +
" </Gid>\n" +
" </DistanceUOMGid>\n" +
" </Distance>\n" +
" </LoadedDistance>\n" +
" <UnloadedDistance>\n" +
" <Distance>\n" +
" <DistanceValue>0.0</DistanceValue>\n" +
" <DistanceUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>MI</Xid>\n" +
" </Gid>\n" +
" </DistanceUOMGid>\n" +
" </Distance>\n" +
" </UnloadedDistance>\n" +
" <StopCount>1</StopCount>\n" +
" <NumOrderReleases>1</NumOrderReleases>\n" +
" <TotalNumReferenceUnits/>\n" +
" <EquipmentRefUnitGid/>\n" +
" <EarliestStartDt>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </EarliestStartDt>\n" +
" <LatestStartDt>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </LatestStartDt>\n" +
" <SourceLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>SHANGHAI</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" </SourceLocationRef>\n" +
" <DestinationLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BEIJING</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" </DestinationLocationRef>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" <FlexFieldCurrencies>\n" +
" <AttributeCurrency1/>\n" +
" <AttributeCurrency2/>\n" +
" <AttributeCurrency3/>\n" +
" </FlexFieldCurrencies>\n" +
" </ShipmentHeader>\n" +
" <SEquipment xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <SEquipmentGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>222</Xid>\n" +
" </Gid>\n" +
" </SEquipmentGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <EquipmentInitial/>\n" +
" <EquipmentNumber/>\n" +
" <EquipmentInitialNumber/>\n" +
" <EquipmentTypeGid/>\n" +
" <EquipmentGroupGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>LCL</Xid>\n" +
" </Gid>\n" +
" </EquipmentGroupGid>\n" +
" <EquipmentGid/>\n" +
" <WeightQualifier/>\n" +
" <ScaleWeight/>\n" +
" <TareWeight/>\n" +
" <ScaleLocation/>\n" +
" <ScaleName/>\n" +
" <ScaleTicket/>\n" +
" <IntermodalEquipLength/>\n" +
" <CapacityUsageGid/>\n" +
" <SubstituteEquipmentGroupGid/>\n" +
" <LoadConfigVolume>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </LoadConfigVolume>\n" +
" <ShipmentSEquipmentInfo>\n" +
" <CapacityUsageGid/>\n" +
" <PickupStopNum>1</PickupStopNum>\n" +
" <DropoffStopNum>2</DropoffStopNum>\n" +
" <SEquipmentIndex/>\n" +
" </ShipmentSEquipmentInfo>\n" +
" <Equipment/>\n" +
" <EquipmentType/>\n" +
" <IsFreight>Y</IsFreight>\n" +
" <CheckDigit/>\n" +
" <LicensePlate/>\n" +
" </SEquipment>\n" +
" <ShipmentStop xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <QueryByExtStopSeq/>\n" +
" <StopSequence>1</StopSequence>\n" +
" <ExtStopSequence/>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <StopDuration>\n" +
" <Duration>\n" +
" <DurationValue>0.0</DurationValue>\n" +
" <DurationUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>S</Xid>\n" +
" </Gid>\n" +
" </DurationUOMGid>\n" +
" </Duration>\n" +
" </StopDuration>\n" +
" <IsAppointment>N</IsAppointment>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>SHANGHAI</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" <LocationOverrideRef/>\n" +
" <ParentLocationRef/>\n" +
" <ArbitraryType/>\n" +
" <LocationRoleGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>SHIPFROM/SHIPTO</Xid>\n" +
" </Gid>\n" +
" </LocationRoleGid>\n" +
" <DistFromPrevStop>\n" +
" <Distance>\n" +
" <DistanceValue>0.0</DistanceValue>\n" +
" <DistanceUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>MI</Xid>\n" +
" </Gid>\n" +
" </DistanceUOMGid>\n" +
" </Distance>\n" +
" </DistFromPrevStop>\n" +
" <IsFixedDistance>N</IsFixedDistance>\n" +
" <StopReason>CompleteShipment</StopReason>\n" +
" <ArrivalTime>\n" +
" <EventTime>\n" +
" <PlannedTime>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </PlannedTime>\n" +
" <EstimatedTime>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </EstimatedTime>\n" +
" <ActualTime/>\n" +
" <IsPlannedTimeFixed>N</IsPlannedTimeFixed>\n" +
" </EventTime>\n" +
" </ArrivalTime>\n" +
" <DepartureTime>\n" +
" <EventTime>\n" +
" <PlannedTime>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </PlannedTime>\n" +
" <EstimatedTime>\n" +
" <GLogDate>20170122151733</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </EstimatedTime>\n" +
" <ActualTime/>\n" +
" <IsPlannedTimeFixed>N</IsPlannedTimeFixed>\n" +
" </EventTime>\n" +
" </DepartureTime>\n" +
" <AppointmentPickup/>\n" +
" <AppointmentDelivery/>\n" +
" <IsPermanent>N</IsPermanent>\n" +
" <IsDepot>N</IsDepot>\n" +
" <AccessorialTime>\n" +
" <Duration>\n" +
" <DurationValue>0.0</DurationValue>\n" +
" <DurationUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>S</Xid>\n" +
" </Gid>\n" +
" </DurationUOMGid>\n" +
" </Duration>\n" +
" </AccessorialTime>\n" +
" <StopRequirementType/>\n" +
" <RateServiceGid/>\n" +
" <VoyageGid/>\n" +
" <RepetitionScheduleGid/>\n" +
" <RepetitionSchedStopNo/>\n" +
" <FlightInstanceId/>\n" +
" <IsMotherVessel>N</IsMotherVessel>\n" +
" <RushHourTime>\n" +
" <Duration>\n" +
" <DurationValue>0.0</DurationValue>\n" +
" <DurationUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>S</Xid>\n" +
" </Gid>\n" +
" </DurationUOMGid>\n" +
" </Duration>\n" +
" </RushHourTime>\n" +
" <ShipmentStopDetail>\n" +
" <Activity>P</Activity>\n" +
" <ActivityDuration>\n" +
" <Duration>\n" +
" <DurationValue>0.0</DurationValue>\n" +
" <DurationUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>S</Xid>\n" +
" </Gid>\n" +
" </DurationUOMGid>\n" +
" </Duration>\n" +
" </ActivityDuration>\n" +
" <ShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>303</Xid>\n" +
" </Gid>\n" +
" </ShipUnitGid>\n" +
" <IsPermanent>N</IsPermanent>\n" +
" <ShipUnitDwellTime/>\n" +
" </ShipmentStopDetail>\n" +
" <StopType>P</StopType>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" <AppointmentWindowStart/>\n" +
" <AppointmentWindowEnd/>\n" +
" </ShipmentStop>\n" +
" <Location xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BEIJING</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <LocationName>BEIJING</LocationName>\n" +
" <IsTemplate>N</IsTemplate>\n" +
" <Address>\n" +
" <City>BEIJING</City>\n" +
" <CountryCode3Gid>\n" +
" <Gid>\n" +
" <Xid>CHN</Xid>\n" +
" </Gid>\n" +
" </CountryCode3Gid>\n" +
" <TimeZoneGid>\n" +
" <Gid>\n" +
" <Xid>Asia/Shanghai</Xid>\n" +
" </Gid>\n" +
" </TimeZoneGid>\n" +
" <Latitude>39.928</Latitude>\n" +
" <Longitude>116.388</Longitude>\n" +
" </Address>\n" +
" <IsTemporary>N</IsTemporary>\n" +
" <LocationRole>\n" +
" <LocationRoleGid>\n" +
" <Gid>\n" +
" <Xid>SHIPFROM/SHIPTO</Xid>\n" +
" </Gid>\n" +
" </LocationRoleGid>\n" +
" <XDockIsInboundBias>N</XDockIsInboundBias>\n" +
" <CreatePoolHandlingShipment>N</CreatePoolHandlingShipment>\n" +
" <CreateXDockHandlingShipment>N</CreateXDockHandlingShipment>\n" +
" <IsMixedFreightTHUAllowed>N</IsMixedFreightTHUAllowed>\n" +
" </LocationRole>\n" +
" <IsMakeAppointmentBeforePlan>N</IsMakeAppointmentBeforePlan>\n" +
" <ServiceProvider>\n" +
" <ServiceProviderAlias>\n" +
" <ServiceProviderAliasQualifierGid>\n" +
" <Gid>\n" +
" <Xid>GLOG</Xid>\n" +
" </Gid>\n" +
" </ServiceProviderAliasQualifierGid>\n" +
" <ServiceProviderAliasValue>HWPOC.DGF</ServiceProviderAliasValue>\n" +
" </ServiceProviderAlias>\n" +
" <AutoPaymentFlag>N</AutoPaymentFlag>\n" +
" <IsAllowTender>Y</IsAllowTender>\n" +
" <IsDispatchByRegion>N</IsDispatchByRegion>\n" +
" <IsAcceptSpotBids>N</IsAcceptSpotBids>\n" +
" <IsAcceptBroadcastTenders>N</IsAcceptBroadcastTenders>\n" +
" <IsAcceptCondBooking>N</IsAcceptCondBooking>\n" +
" <IsLocalizeBroadcastSpotContact>N</IsLocalizeBroadcastSpotContact>\n" +
" <InvoicingProcess>S</InvoicingProcess>\n" +
" <IsCopyInvDeltaToShipment>N</IsCopyInvDeltaToShipment>\n" +
" <IsAcceptByShipUnit>N</IsAcceptByShipUnit>\n" +
" <IsInternalNVOCC>N</IsInternalNVOCC>\n" +
" <IsMinority>N</IsMinority>\n" +
" <Incumbent>N</Incumbent>\n" +
" <IsFleet>N</IsFleet>\n" +
" <AllowSpotRating>Y</AllowSpotRating>\n" +
" </ServiceProvider>\n" +
" <IsShipperKnown>N</IsShipperKnown>\n" +
" <IsAddressValid>U</IsAddressValid>\n" +
" <IsLTLSplitable>N</IsLTLSplitable>\n" +
" <ExcludeFromRouteExec>N</ExcludeFromRouteExec>\n" +
" <UseApptPriority>N</UseApptPriority>\n" +
" <SchedLowPriorityAppt>N</SchedLowPriorityAppt>\n" +
" <EnforceTimeWindowAppt>Y</EnforceTimeWindowAppt>\n" +
" <SchedInfeasibleAppt>Y</SchedInfeasibleAppt>\n" +
" <AppointDisplayStartTime>0</AppointDisplayStartTime>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CREDIT LEVEL</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CREDIT LEVEL_UNKNOWN</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <AllowDriverRest>N</AllowDriverRest>\n" +
" <IsFixedAddress>N</IsFixedAddress>\n" +
" <PrimaryAddressLineSeq>1</PrimaryAddressLineSeq>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" <IsActive>Y</IsActive>\n" +
" </Location>\n" +
" <ShipUnit xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <ShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>303</Xid>\n" +
" </Gid>\n" +
" </ShipUnitGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <TransportHandlingUnitRef/>\n" +
" <ShipUnitSpecGid/>\n" +
" <ShipFromLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>SHANGHAI</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" </ShipFromLocationRef>\n" +
" <ShipFromLoadPoint/>\n" +
" <ShipToLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BEIJING</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" </ShipToLocationRef>\n" +
" <ShipToUnloadPoint/>\n" +
" <TimeWindow/>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <UnitNetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </UnitNetWeightVolume>\n" +
" <LengthWidthHeight/>\n" +
" <TotalGrossWeightVolume/>\n" +
" <Diameter/>\n" +
" <CoreDiameter/>\n" +
" <StackingIndex/>\n" +
" <ShipUnitContent>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem/>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" </PackagedItemRef>\n" +
" <HazmatItemRef/>\n" +
" <LineNumber>1</LineNumber>\n" +
" <ItemQuantity>\n" +
" <ItemTag1/>\n" +
" <ItemTag2/>\n" +
" <ItemTag3/>\n" +
" <ItemTag4/>\n" +
" <IsShippable/>\n" +
" <IsSplitAllowed/>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <DeclaredValue>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </DeclaredValue>\n" +
" </ItemQuantity>\n" +
" <PackagedItemSpecRef/>\n" +
" <PackagedItemSpecCount>0</PackagedItemSpecCount>\n" +
" <WeightVolumePerShipUnit/>\n" +
" <CountPerShipUnit>0</CountPerShipUnit>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>1</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <TransOrderGid/>\n" +
" <InitialItemGid/>\n" +
" <TransOrderLineGid/>\n" +
" <ReleaseInstrSeq/>\n" +
" <NetWeightVolume/>\n" +
" <SecondaryWeightVolume/>\n" +
" <SecondaryNetWeightVolume/>\n" +
" <ReleaseShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>201</Xid>\n" +
" </Gid>\n" +
" </ReleaseShipUnitGid>\n" +
" <ReleaseShipUnitLineNumber>1</ReleaseShipUnitLineNumber>\n" +
" <ReceivedWeightVolume/>\n" +
" <ReceivedPackageItemCount>0</ReceivedPackageItemCount>\n" +
" <UserDefinedCommodityGid/>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_LINE_PAYMENT</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_LINE_PAYMENT_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <IsHazardous/>\n" +
" </ShipUnitContent>\n" +
" <DeclaredValue/>\n" +
" <FlexCommodityQualifierGid/>\n" +
" <FlexCommodityValue/>\n" +
" <IsSplitAllowed/>\n" +
" <IsCountSplittable>N</IsCountSplittable>\n" +
" <ShipUnitCount>1</ShipUnitCount>\n" +
" <TagInfo/>\n" +
" <IsShippable/>\n" +
" <PlanFromLocationGid/>\n" +
" <PlanFromLoadPoint/>\n" +
" <PlanToLocationGid/>\n" +
" <PlanToUnloadPoint/>\n" +
" <ReleasedCount/>\n" +
" <BufferLocationGid/>\n" +
" <SplittableBy/>\n" +
" <TransOrderShipUnitGid/>\n" +
" <ReleaseInstrSeq/>\n" +
" <REquipmentSequence/>\n" +
" <SecondaryUnitWeightVolume/>\n" +
" <SecondaryUnitNetWeightVolume/>\n" +
" <LoadConfigSetupRef/>\n" +
" <SEquipmentGid/>\n" +
" <SEquipmentGidQuery/>\n" +
" <SEquipmentSShipUnitInfo>\n" +
" <SEquipmentGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>222</Xid>\n" +
" </Gid>\n" +
" </SEquipmentGid>\n" +
" <SEquipmentGidQuery/>\n" +
" <CompartmentNum>1</CompartmentNum>\n" +
" <LoadingSequence/>\n" +
" <LoadingPatternGid/>\n" +
" <NumStackingLayers>0</NumStackingLayers>\n" +
" <NumLoadingRows>0</NumLoadingRows>\n" +
" </SEquipmentSShipUnitInfo>\n" +
" <ReleaseShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>201</Xid>\n" +
" </Gid>\n" +
" </ReleaseShipUnitGid>\n" +
" <ReceivedWeightVolume/>\n" +
" <ReceivedNetWeightVolume/>\n" +
" <ReceivedShipUnitCount/>\n" +
" <RangeStart/>\n" +
" <RangeEnd/>\n" +
" <ReleaseMethodGid/>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_PAYMENT</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_PAYMENT_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <PickupOrStopGid/>\n" +
" <DropoffOrStopGid/>\n" +
" <IsRepackAllowed>N</IsRepackAllowed>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" </ShipUnit>\n";

String a2 = " <ShipUnitViewInfo>\n" +
" <ShipUnitViewByRelease>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <ShipUnitView>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <ShipUnitContent>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem/>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" </PackagedItemRef>\n" +
" <HazmatItemRef/>\n" +
" <LineNumber>1</LineNumber>\n" +
" <ItemQuantity>\n" +
" <ItemTag1/>\n" +
" <ItemTag2/>\n" +
" <ItemTag3/>\n" +
" <ItemTag4/>\n" +
" <IsShippable/>\n" +
" <IsSplitAllowed/>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <DeclaredValue>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </DeclaredValue>\n" +
" </ItemQuantity>\n" +
" <PackagedItemSpecRef/>\n" +
" <PackagedItemSpecCount>0</PackagedItemSpecCount>\n" +
" <WeightVolumePerShipUnit/>\n" +
" <CountPerShipUnit>0</CountPerShipUnit>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>1</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <TransOrderGid/>\n" +
" <InitialItemGid/>\n" +
" <TransOrderLineGid/>\n" +
" <ReleaseInstrSeq/>\n" +
" <NetWeightVolume/>\n" +
" <SecondaryWeightVolume/>\n" +
" <SecondaryNetWeightVolume/>\n" +
" <ReleaseShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>201</Xid>\n" +
" </Gid>\n" +
" </ReleaseShipUnitGid>\n" +
" <ReleaseShipUnitLineNumber>1</ReleaseShipUnitLineNumber>\n" +
" <ReceivedWeightVolume/>\n" +
" <ReceivedPackageItemCount>0</ReceivedPackageItemCount>\n" +
" <UserDefinedCommodityGid/>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_LINE_PAYMENT</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_LINE_PAYMENT_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <IsHazardous/>\n" +
" </ShipUnitContent>\n" +
" </ShipUnitView>\n" +
" </ShipUnitViewByRelease>\n" +
" <ShipUnitViewByReleaseLine>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>1</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <ShipUnitView>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <ShipUnitContent>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem/>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" </PackagedItemRef>\n" +
" <HazmatItemRef/>\n" +
" <LineNumber>1</LineNumber>\n" +
" <ItemQuantity>\n" +
" <ItemTag1/>\n" +
" <ItemTag2/>\n" +
" <ItemTag3/>\n" +
" <ItemTag4/>\n" +
" <IsShippable/>\n" +
" <IsSplitAllowed/>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <DeclaredValue>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </DeclaredValue>\n" +
" </ItemQuantity>\n" +
" <PackagedItemSpecRef/>\n" +
" <PackagedItemSpecCount>0</PackagedItemSpecCount>\n" +
" <WeightVolumePerShipUnit/>\n" +
" <CountPerShipUnit>0</CountPerShipUnit>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>1</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <TransOrderGid/>\n" +
" <InitialItemGid/>\n" +
" <TransOrderLineGid/>\n" +
" <ReleaseInstrSeq/>\n" +
" <NetWeightVolume/>\n" +
" <SecondaryWeightVolume/>\n" +
" <SecondaryNetWeightVolume/>\n" +
" <ReleaseShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>201</Xid>\n" +
" </Gid>\n" +
" </ReleaseShipUnitGid>\n" +
" <ReleaseShipUnitLineNumber>1</ReleaseShipUnitLineNumber>\n" +
" <ReceivedWeightVolume/>\n" +
" <ReceivedPackageItemCount>0</ReceivedPackageItemCount>\n" +
" <UserDefinedCommodityGid/>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_LINE_PAYMENT</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>S_SHIP_UNIT_LINE_PAYMENT_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <IsHazardous/>\n" +
" </ShipUnitContent>\n" +
" </ShipUnitView>\n" +
" </ShipUnitViewByReleaseLine>\n" +
" </ShipUnitViewInfo>\n" +
" <Release xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <TransOrderGid/>\n" +
" <ReleaseHeader>\n" +
" <ReleaseName>SHANG-BEIJING</ReleaseName>\n" +
" <ExternalSystemId/>\n" +
" <ReleaseMethodGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>ONE_TO_ONE</Xid>\n" +
" </Gid>\n" +
" </ReleaseMethodGid>\n" +
" <QuoteGid/>\n" +
" <MovePerspectiveGid/>\n" +
" <CommercialTerms/>\n" +
" <FinalCommercialTerms/>\n" +
" <CommercialInvoiceTerms/>\n" +
" <PlanningGroupGid/>\n" +
" <TimeWindowEmphasisGid/>\n" +
" <RateServiceGid/>\n" +
" <RateServiceProfileGid/>\n" +
" <ServiceProviderGid/>\n" +
" <ServiceProviderProfileGid/>\n" +
" <SellServiceProviderGid/>\n" +
" <SellServiceProviderProfileGid/>\n" +
" <TransportModeGid/>\n" +
" <ModeProfileGid/>\n" +
" <EquipmentGroupGid/>\n" +
" <EquipmentGroupProfileGid/>\n" +
" <ShipWithGroup/>\n" +
" <IsTemplate>N</IsTemplate>\n" +
" <TemplateType/>\n" +
" <RateOfferingGid/>\n" +
" <RateGeoGid/>\n" +
" <SellRateOfferingGid/>\n" +
" <SellRateGeoGid/>\n" +
" <FixedItineraryGid/>\n" +
" <FixedSellItineraryGid/>\n" +
" <MustShipDirect>N</MustShipDirect>\n" +
" <MustShipThruXDock>N</MustShipThruXDock>\n" +
" <MustShipThruPool>N</MustShipThruPool>\n" +
" <BundlingType>AUTOMATIC</BundlingType>\n" +
" <IsSplitAllowed>Y</IsSplitAllowed>\n" +
" <BatchBalance/>\n" +
" <IsShipperKnown>N</IsShipperKnown>\n" +
" <DimRateFactorGid/>\n" +
" <PickupRoutingSeqGid/>\n" +
" <DropoffRoutingSeqGid/>\n" +
" <ItineraryProfileGid/>\n" +
" <SellItineraryProfileGid/>\n" +
" <InspectionAndSurveyInfo/>\n" +
" <LetterOfCreditInfo>\n" +
" <LetterOfCreditNum/>\n" +
" <IsLetterOfCreditRequired>N</IsLetterOfCreditRequired>\n" +
" <IssueDt/>\n" +
" <ExpireDt/>\n" +
" <ReceivedDt/>\n" +
" <LatestShippingDt/>\n" +
" <NegotiatedDays/>\n" +
" <LetterOfCreditAmount>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </LetterOfCreditAmount>\n" +
" <AdvisingNumber/>\n" +
" <ConfirmingNumber/>\n" +
" <IsLetterOfCreditStale>N</IsLetterOfCreditStale>\n" +
" </LetterOfCreditInfo>\n" +
" <ImportLicenseInfo/>\n" +
" <ConsolidationTypeGid/>\n" +
" <StuffLocation/>\n" +
" <DestuffLocation/>\n" +
" <StowageModeGid/>\n" +
" <UnitizationConditionName/>\n" +
" <CustomerUnitizationRequest>N</CustomerUnitizationRequest>\n" +
" <IsIgnoreLocationCalendar>N</IsIgnoreLocationCalendar>\n" +
" <IsConsolidateREquipment>N</IsConsolidateREquipment>\n" +
" <UltimateDestCountryCode3Gid/>\n" +
" <BufferType/>\n" +
" <DutyPaid>NA</DutyPaid>\n" +
" <OnRouteTempExec>N</OnRouteTempExec>\n" +
" <IsPreEnteredPU>N</IsPreEnteredPU>\n" +
" <OrderPriority>1</OrderPriority>\n" +
" <EquipmentTypeGid/>\n" +
" <PickupRailCarrier/>\n" +
" <DeliveryRailCarrier/>\n" +
" <RailRouteCodeGid/>\n" +
" <EmergPhoneNum/>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" <FlexFieldCurrencies>\n" +
" <AttributeCurrency1/>\n" +
" <AttributeCurrency2/>\n" +
" <AttributeCurrency3/>\n" +
" </FlexFieldCurrencies>\n" +
" </ReleaseHeader>\n" +
" <ShipFromLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>SHANGHAI</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" </ShipFromLocationRef>\n" +
" <ShipFromLocOverrideRef/>\n" +
" <ShipFromLoadPoint/>\n" +
" <ShipToLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BEIJING</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <Location/>\n" +
" </LocationRef>\n" +
" </ShipToLocationRef>\n" +
" <ShipToLocOverrideRef/>\n" +
" <ShipToUnloadPoint/>\n" +
" <TimeWindow>\n" +
" <EarlyPickupDt>\n" +
" <GLogDate>20170117114800</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </EarlyPickupDt>\n" +
" <LatePickupDt/>\n" +
" <EarlyDeliveryDt/>\n" +
" <LateDeliveryDt>\n" +
" <GLogDate>20170405114800</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </LateDeliveryDt>\n" +
" <PickupIsAppt>N</PickupIsAppt>\n" +
" <DeliveryIsAppt>N</DeliveryIsAppt>\n" +
" </TimeWindow>\n" +
" <DeclaredValue>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </DeclaredValue>\n" +
" <ReleaseLine>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>1</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem/>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" </PackagedItemRef>\n" +
" <OrderBaseGid/>\n" +
" <OrderBaseLineGid/>\n" +
" <InitialItemGid/>\n" +
" <ItemQuantity>\n" +
" <ItemTag1/>\n" +
" <ItemTag2/>\n" +
" <ItemTag3/>\n" +
" <ItemTag4/>\n" +
" <IsShippable/>\n" +
" <IsSplitAllowed/>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <DeclaredValue>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </DeclaredValue>\n" +
" </ItemQuantity>\n" +
" <PackageDimensions>\n" +
" <Length>\n" +
" <LengthValue>15.0</LengthValue>\n" +
" <LengthUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>FT</Xid>\n" +
" </Gid>\n" +
" </LengthUOMGid>\n" +
" </Length>\n" +
" <Width>\n" +
" <WidthValue>5.0</WidthValue>\n" +
" <WidthUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>FT</Xid>\n" +
" </Gid>\n" +
" </WidthUOMGid>\n" +
" </Width>\n" +
" <Height>\n" +
" <HeightValue>4.0</HeightValue>\n" +
" <HeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>FT</Xid>\n" +
" </Gid>\n" +
" </HeightUOMGid>\n" +
" </Height>\n" +
" <Diameter/>\n" +
" <CoreDiameter/>\n" +
" </PackageDimensions>\n" +
" <ManufacturedCountryCode3Gid/>\n" +
" <IsDrawback>N</IsDrawback>\n" +
" <PackagedItemSpecRef/>\n" +
" <PackagedItemSpecCount/>\n" +
" <NumLayersPerShipUnit/>\n" +
" <QuantityPerLayer/>\n" +
" <TransportHandlingUnitRef/>\n" +
" <BuyGeneralLedgerGid/>\n" +
" <SellGeneralLedgerGid/>\n" +
" <CommercialInvoiceGid/>\n" +
" <CommercialInvoiceDesc/>\n" +
" <SecondaryWeightVolume/>\n" +
" <ReleaseLineHazmatInfo/>\n" +
" <BilledQuantity>\n" +
" <FlexQuantity>\n" +
" <UOM/>\n" +
" <UOMType/>\n" +
" <Quantity>0</Quantity>\n" +
" </FlexQuantity>\n" +
" </BilledQuantity>\n" +
" <PricePerUnit>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" <UOM/>\n" +
" </PricePerUnit>\n" +
" <TotalBilledAmount>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </TotalBilledAmount>\n" +
" <FreeAlongSide>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </FreeAlongSide>\n" +
" <BrandName/>\n" +
" <IsSplitAllowed>Y</IsSplitAllowed>\n" +
" <ShipUnitSpecProfileGid/>\n" +
" <ReleaseLineAllocationInfo/>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" </ReleaseLine>\n" +
" <ShipUnit>\n" +
" <ShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>201</Xid>\n" +
" </Gid>\n" +
" </ShipUnitGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <TransportHandlingUnitRef/>\n" +
" <ShipUnitSpecGid/>\n" +
" <ShipFromLocationRef/>\n" +
" <ShipFromLoadPoint/>\n" +
" <ShipToLocationRef/>\n" +
" <ShipToUnloadPoint/>\n" +
" <TimeWindow/>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <UnitNetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </UnitNetWeightVolume>\n" +
" <LengthWidthHeight/>\n" +
" <TotalGrossWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </TotalGrossWeightVolume>\n" +
" <Diameter/>\n" +
" <CoreDiameter/>\n" +
" <StackingIndex/>\n" +
" <ShipUnitContent>\n" +
" <PackagedItemRef>\n" +
" <PackagedItem/>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" </PackagedItemRef>\n" +
" <HazmatItemRef/>\n" +
" <LineNumber>1</LineNumber>\n" +
" <ItemQuantity>\n" +
" <ItemTag1/>\n" +
" <ItemTag2/>\n" +
" <ItemTag3/>\n" +
" <ItemTag4/>\n" +
" <IsShippable/>\n" +
" <IsSplitAllowed>Y</IsSplitAllowed>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" <PackagedItemCount>100</PackagedItemCount>\n" +
" <DeclaredValue/>\n" +
" </ItemQuantity>\n" +
" <PackagedItemSpecRef/>\n" +
" <PackagedItemSpecCount/>\n" +
" <WeightVolumePerShipUnit/>\n" +
" <CountPerShipUnit/>\n" +
" <ReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </ReleaseGid>\n" +
" <ReleaseLineGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>1</Xid>\n" +
" </Gid>\n" +
" </ReleaseLineGid>\n" +
" <TransOrderGid/>\n" +
" <InitialItemGid/>\n" +
" <TransOrderLineGid/>\n" +
" <ReleaseInstrSeq/>\n" +
" <NetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </NetWeightVolume>\n" +
" <SecondaryWeightVolume/>\n" +
" <SecondaryNetWeightVolume/>\n" +
" <ReleaseShipUnitGid/>\n" +
" <ReleaseShipUnitLineNumber/>\n" +
" <ReceivedWeightVolume/>\n" +
" <ReceivedPackageItemCount/>\n" +
" <UserDefinedCommodityGid/>\n" +
" <IsHazardous/>\n" +
" </ShipUnitContent>\n" +
" <DeclaredValue/>\n" +
" <FlexCommodityQualifierGid/>\n" +
" <FlexCommodityValue/>\n" +
" <IsSplitAllowed>Y</IsSplitAllowed>\n" +
" <IsCountSplittable>N</IsCountSplittable>\n" +
" <ShipUnitCount>1</ShipUnitCount>\n" +
" <TagInfo/>\n" +
" <IsShippable/>\n" +
" <PlanFromLocationGid/>\n" +
" <PlanFromLoadPoint/>\n" +
" <PlanToLocationGid/>\n" +
" <PlanToUnloadPoint/>\n" +
" <ReleasedCount/>\n" +
" <BufferLocationGid/>\n" +
" <SplittableBy/>\n" +
" <TransOrderShipUnitGid/>\n" +
" <ReleaseInstrSeq/>\n" +
" <REquipmentSequence/>\n" +
" <SecondaryUnitWeightVolume/>\n" +
" <SecondaryUnitNetWeightVolume/>\n" +
" <LoadConfigSetupRef/>\n" +
" <SEquipmentGid/>\n" +
" <SEquipmentGidQuery/>\n" +
" <SEquipmentSShipUnitInfo/>\n" +
" <ReleaseShipUnitGid/>\n" +
" <ReceivedWeightVolume/>\n" +
" <ReceivedNetWeightVolume/>\n" +
" <ReceivedShipUnitCount/>\n" +
" <RangeStart/>\n" +
" <RangeEnd/>\n" +
" <ReleaseMethodGid/>\n" +
" <PickupOrStopGid/>\n" +
" <DropoffOrStopGid/>\n" +
" <IsRepackAllowed>N</IsRepackAllowed>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" </ShipUnit>\n" +
" <ReleaseTypeGid/>\n" +
" <PlanFromLocationGid/>\n" +
" <PlanFromLocOverrideRef/>\n" +
" <PlanFromLoadPoint/>\n" +
" <PlanToLocationGid/>\n" +
" <PlanToLocOverrideRef/>\n" +
" <PlanToUnloadPoint/>\n" +
" <PriLegSourceLocationRef/>\n" +
" <PriLegSourceLocOverrideRef/>\n" +
" <PortOfLoadLocationRef/>\n" +
" <PortOfLoadLocOverrideRef/>\n" +
" <PortOfDisLocationRef/>\n" +
" <PortOfDisLocOverrideRef/>\n" +
" <PriLegDestLocationRef/>\n" +
" <PriLegDestLocOverrideRef/>\n" +
" <BulkPlanGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>20170122-0001</Xid>\n" +
" </Gid>\n" +
" </BulkPlanGid>\n" +
" <SellBulkPlanGid/>\n" +
" <PlanPartitionGid/>\n" +
" <BestDirectBuyCost/>\n" +
" <BestDirectBuyRateOfferingGid/>\n" +
" <BestDirectSellCost/>\n" +
" <BestDirectSellRateOfferingGid/>\n" +
" <BuyGeneralLedgerGid/>\n" +
" <SellGeneralLedgerGid/>\n" +
" <TotalWeightVolume>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" </TotalWeightVolume>\n" +
" <TotalNetWeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </TotalNetWeightVolume>\n" +
" <TotalPackagedItemSpecCount/>\n" +
" <TotalPackagedItemCount>100</TotalPackagedItemCount>\n" +
" <ReleaseRefnum>\n" +
" <ReleaseRefnumQualifierGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>GLOG</Xid>\n" +
" </Gid>\n" +
" </ReleaseRefnumQualifierGid>\n" +
" <ReleaseRefnumValue>HWPOC.PTEST-0117-001</ReleaseRefnumValue>\n" +
" </ReleaseRefnum>\n" +
" <ReleaseStatus>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PLANNING</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PLANNING_PLANNED - FINAL</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </ReleaseStatus>\n" +
" <InvolvedParty>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <InvolvedPartyQualifierGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LOGISTICS</Xid>\n" +
" </Gid>\n" +
" </InvolvedPartyQualifierGid>\n" +
" <InvolvedPartyLocationRef/>\n" +
" <ContactRef>\n" +
" <ContactGid/>\n" +
" <Contact>\n" +
" <ContactGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>AES_CUSTOMS_OUT</Xid>\n" +
" </Gid>\n" +
" </ContactGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <EmailAddress/>\n" +
" <FirstName/>\n" +
" <MiddleName/>\n" +
" <LastName/>\n" +
" <JobTitle/>\n" +
" <Phone1/>\n" +
" <Phone2/>\n" +
" <Fax/>\n" +
" <LanguageSpoken/>\n" +
" <IsPrimaryContact>N</IsPrimaryContact>\n" +
" <ExternalSystem>\n" +
" <ExternalSystemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>AES_CUSTOMS_OUT</Xid>\n" +
" </Gid>\n" +
" </ExternalSystemGid>\n" +
" <Description>EXTERNAL SYSTEM FOR FILING WITH AES USING OAQ</Description>\n" +
" <URL/>\n" +
" <IntQueueName/>\n" +
" <UserName/>\n" +
" <Password>\n" +
" <Value/>\n" +
" <Type/>\n" +
" </Password>\n" +
" <UseGlcredential>N</UseGlcredential>\n" +
" <MaxBytesPerTransmission/>\n" +
" <MaxTransactsPerTransmission/>\n" +
" </ExternalSystem>\n" +
" <ExternalSystemGid/>\n" +
" <Remark/>\n" +
" <GlUserGid/>\n" +
" <RecipientDomainName/>\n" +
" <LocationGid/>\n" +
" <ConsolidationProfile/>\n" +
" <ConsolidationProfileGid/>\n" +
" <ConsolidatedNotifyOnly>N</ConsolidatedNotifyOnly>\n" +
" <IsNotificationOn>Y</IsNotificationOn>\n" +
" <IsFromAddress/>\n" +
" <FromAddrContactGid/>\n" +
" <AlternateName/>\n" +
" <CompanyName/>\n" +
" <Description/>\n" +
" <Telex/>\n" +
" <TimeZoneGid/>\n" +
" <CellPhone/>\n" +
" <UseMessageHub>N</UseMessageHub>\n" +
" <MessageProfileGid/>\n" +
" <PrinterGid/>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" </Contact>\n" +
" <ContactGroup/>\n" +
" </ContactRef>\n" +
" <ComMethodGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>BY CONTACT</Xid>\n" +
" </Gid>\n" +
" </ComMethodGid>\n" +
" <LocationOverrideInfo/>\n" +
" </InvolvedParty>\n" +
" <ReleaseShipmentInfo/>\n" +
" <ReleaseAllocationInfo/>\n" +
" <TransOrder/>\n" +
" <OrderMovement>\n" +
" <OrderMovementGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>300</Xid>\n" +
" </Gid>\n" +
" </OrderMovementGid>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <OrderReleaseGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>PTEST-0117-001</Xid>\n" +
" </Gid>\n" +
" </OrderReleaseGid>\n" +
" <IsTemporary>N</IsTemporary>\n" +
" <CreationProcessType>SYSTEM-ITINERARY</CreationProcessType>\n" +
" <OrderPriority>1</OrderPriority>\n" +
" <TotalShipUnitCount>1</TotalShipUnitCount>\n" +
" <TotalWeightVolume>\n" +
" <WeightVolume>\n" +
" <Weight>\n" +
" <WeightValue>5000.0</WeightValue>\n" +
" <WeightUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LB</Xid>\n" +
" </Gid>\n" +
" </WeightUOMGid>\n" +
" </Weight>\n" +
" <Volume>\n" +
" <VolumeValue>20.0</VolumeValue>\n" +
" <VolumeUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>CUFT</Xid>\n" +
" </Gid>\n" +
" </VolumeUOMGid>\n" +
" </Volume>\n" +
" </WeightVolume>\n" +
" </TotalWeightVolume>\n" +
" <SequenceNumber/>\n" +
" <Perspective>B</Perspective>\n" +
" <ShipFromLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid/>\n" +
" <Location>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>SHANGHAI</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <LocationName>SHANGHAI</LocationName>\n" +
" <IsTemplate>N</IsTemplate>\n" +
" <Address>\n" +
" <City>SHANGHAI</City>\n" +
" <CountryCode3Gid>\n" +
" <Gid>\n" +
" <Xid>CHN</Xid>\n" +
" </Gid>\n" +
" </CountryCode3Gid>\n" +
" <TimeZoneGid>\n" +
" <Gid>\n" +
" <Xid>Asia/Shanghai</Xid>\n" +
" </Gid>\n" +
" </TimeZoneGid>\n" +
" <Latitude>31.2</Latitude>\n" +
" <Longitude>121.43333</Longitude>\n" +
" </Address>\n" +
" <IsTemporary>N</IsTemporary>\n" +
" <LocationRole>\n" +
" <LocationRoleGid>\n" +
" <Gid>\n" +
" <Xid>SHIPFROM/SHIPTO</Xid>\n" +
" </Gid>\n" +
" </LocationRoleGid>\n" +
" <XDockIsInboundBias>N</XDockIsInboundBias>\n" +
" <CreatePoolHandlingShipment>N</CreatePoolHandlingShipment>\n" +
" <CreateXDockHandlingShipment>N</CreateXDockHandlingShipment>\n" +
" <IsMixedFreightTHUAllowed>N</IsMixedFreightTHUAllowed>\n" +
" </LocationRole>\n" +
" <IsMakeAppointmentBeforePlan>N</IsMakeAppointmentBeforePlan>\n" +
" <IsShipperKnown>N</IsShipperKnown>\n" +
" <IsAddressValid>U</IsAddressValid>\n" +
" <IsLTLSplitable>N</IsLTLSplitable>\n" +
" <ExcludeFromRouteExec>N</ExcludeFromRouteExec>\n" +
" <UseApptPriority>N</UseApptPriority>\n" +
" <SchedLowPriorityAppt>N</SchedLowPriorityAppt>\n" +
" <EnforceTimeWindowAppt>Y</EnforceTimeWindowAppt>\n" +
" <SchedInfeasibleAppt>Y</SchedInfeasibleAppt>\n" +
" <AppointDisplayStartTime>0</AppointDisplayStartTime>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CREDIT LEVEL</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CREDIT LEVEL_UNKNOWN</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <AllowDriverRest>N</AllowDriverRest>\n" +
" <IsFixedAddress>N</IsFixedAddress>\n" +
" <PrimaryAddressLineSeq>1</PrimaryAddressLineSeq>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" <IsActive>Y</IsActive>\n" +
" </Location>\n" +
" </LocationRef>\n" +
" </ShipFromLocationRef>\n" +
" <IsFixedSource>Y</IsFixedSource>\n" +
" <IsTemplate>N</IsTemplate>\n" +
" <ShipToLocationRef>\n" +
" <LocationRef>\n" +
" <LocationGid/>\n" +
" <Location>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <LocationGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>BEIJING</Xid>\n" +
" </Gid>\n" +
" </LocationGid>\n" +
" <LocationName>BEIJING</LocationName>\n" +
" <IsTemplate>N</IsTemplate>\n" +
" <Address>\n" +
" <City>BEIJING</City>\n" +
" <CountryCode3Gid>\n" +
" <Gid>\n" +
" <Xid>CHN</Xid>\n" +
" </Gid>\n" +
" </CountryCode3Gid>\n" +
" <TimeZoneGid>\n" +
" <Gid>\n" +
" <Xid>Asia/Shanghai</Xid>\n" +
" </Gid>\n" +
" </TimeZoneGid>\n" +
" <Latitude>39.928</Latitude>\n" +
" <Longitude>116.388</Longitude>\n" +
" </Address>\n" +
" <IsTemporary>N</IsTemporary>\n" +
" <LocationRole>\n" +
" <LocationRoleGid>\n" +
" <Gid>\n" +
" <Xid>SHIPFROM/SHIPTO</Xid>\n" +
" </Gid>\n" +
" </LocationRoleGid>\n" +
" <XDockIsInboundBias>N</XDockIsInboundBias>\n" +
" <CreatePoolHandlingShipment>N</CreatePoolHandlingShipment>\n" +
" <CreateXDockHandlingShipment>N</CreateXDockHandlingShipment>\n" +
" <IsMixedFreightTHUAllowed>N</IsMixedFreightTHUAllowed>\n" +
" </LocationRole>\n" +
" <IsMakeAppointmentBeforePlan>N</IsMakeAppointmentBeforePlan>\n" +
" <IsShipperKnown>N</IsShipperKnown>\n" +
" <IsAddressValid>U</IsAddressValid>\n" +
" <IsLTLSplitable>N</IsLTLSplitable>\n" +
" <ExcludeFromRouteExec>N</ExcludeFromRouteExec>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CREDIT LEVEL</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CREDIT LEVEL_UNKNOWN</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <AllowDriverRest>N</AllowDriverRest>\n" +
" <IsFixedAddress>N</IsFixedAddress>\n" +
" <PrimaryAddressLineSeq>1</PrimaryAddressLineSeq>\n" +
" <FlexFieldStrings/>\n" +
" <FlexFieldNumbers/>\n" +
" <FlexFieldDates/>\n" +
" <IsActive>Y</IsActive>\n" +
" </Location>\n" +
" </LocationRef>\n" +
" </ShipToLocationRef>\n" +
" <IsFixedDest>Y</IsFixedDest>\n" +
" <EarlyPickupDt>\n" +
" <GLogDate>20170117114800</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </EarlyPickupDt>\n" +
" <OperationEarlyPickupDt/>\n" +
" <LatePickupDt/>\n" +
" <EarlyDeliveryDt/>\n" +
" <LateDeliveryDt>\n" +
" <GLogDate>20170405114800</GLogDate>\n" +
" <TZId>Asia/Shanghai</TZId>\n" +
" <TZOffset>+08:00</TZOffset>\n" +
" </LateDeliveryDt>\n" +
" <OperationLateDeliveryDt/>\n" +
" <ReuseEquipment>N</ReuseEquipment>\n" +
" <ParentSourceLocGid/>\n" +
" <ParentDestLocGid/>\n" +
" <OrigLegGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>61</Xid>\n" +
" </Gid>\n" +
" </OrigLegGid>\n" +
" <OrigLegPosition>0</OrigLegPosition>\n" +
" <BulkPlanGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>20170122-0001</Xid>\n" +
" </Gid>\n" +
" </BulkPlanGid>\n" +
" <OrigSellOMGid/>\n" +
" <ShipUnitLengthWidthHeight/>\n" +
" <ShipUnitDiameter/>\n" +
" <UserDefIconInfo/>\n" +
" <TransportHandlingUnitGid/>\n" +
" <Indicator/>\n" +
" <PickupRoutingSeqGid/>\n" +
" <DropoffRoutingSeqGid/>\n" +
" <SourceTag/>\n" +
" <DestTag/>\n" +
" <ShipmentGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>222</Xid>\n" +
" </Gid>\n" +
" </ShipmentGid>\n" +
" <ExpectedTransitTime>\n" +
" <Duration>\n" +
" <DurationValue>0.0</DurationValue>\n" +
" <DurationUOMGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>S</Xid>\n" +
" </Gid>\n" +
" </DurationUOMGid>\n" +
" </Duration>\n" +
" </ExpectedTransitTime>\n" +
" <ExpectedCost>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" </ExpectedCost>\n" +
" <CalculateContractedRate>Y</CalculateContractedRate>\n" +
" <CalculateServiceTime>Y</CalculateServiceTime>\n" +
" <RateOfferingGid/>\n" +
" <RateGeoGid/>\n" +
" <EquipmentGroupGid/>\n" +
" <EquipmentGroupProfileGid/>\n" +
" <TransportModeGid/>\n" +
" <ModeProfileGid/>\n" +
" <ServiceProviderGid/>\n" +
" <ServiceProviderProfileGid/>\n" +
" <RateServiceProfileGid/>\n" +
" <ShipWithGroup/>\n" +
" <LegClassificationGid/>\n" +
" <OrderMovementD>\n" +
" <ShipUnitGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>303</Xid>\n" +
" </Gid>\n" +
" </ShipUnitGid>\n" +
" <ShipUnit/>\n" +
" </OrderMovementD>\n" +
" <Status>\n" +
" <StatusTypeGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CHARTER VOYAGE ARRIVE MOD</Xid>\n" +
" </Gid>\n" +
" </StatusTypeGid>\n" +
" <StatusValueGid>\n" +
" <Gid>\n" +
" <DomainName>HWPOC</DomainName>\n" +
" <Xid>CHARTER VOYAGE ARRIVE MOD_NEW</Xid>\n" +
" </Gid>\n" +
" </StatusValueGid>\n" +
" </Status>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" </OrderMovement>\n" +
" <AllocationGroupGid/>\n" +
" </Release>\n" +
" <PackagedItem xmlns=\"http://xmlns.oracle.com/apps/otm\">\n" +
" <Packaging>\n" +
" <PackagedItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </PackagedItemGid>\n" +
" <HazmatPackageTypeGid/>\n" +
" <Description/>\n" +
" <PackagedItemSpecRef/>\n" +
" <InnerPackCount/>\n" +
" <PackageShipUnitWeightVolume/>\n" +
" <PackageShipUnitLWH/>\n" +
" <PackageShipUnitDiameter/>\n" +
" <CoreDiameter/>\n" +
" <StackingIndex/>\n" +
" <InnerPackInfo/>\n" +
" <IsHandlingUnitStackable>Y</IsHandlingUnitStackable>\n" +
" <IsDefaultPackaging>N</IsDefaultPackaging>\n" +
" <IsHazardous>N</IsHazardous>\n" +
" <PackageItemTypeGid/>\n" +
" <LoadConfigRuleRank/>\n" +
" <ShipUnitSpecProfileGid/>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" <IsAllowMixedFreight>Y</IsAllowMixedFreight>\n" +
" </Packaging>\n" +
" <Item>\n" +
" <TransactionCode>NP</TransactionCode>\n" +
" <ItemGid>\n" +
" <Gid>\n" +
" <DomainName/>\n" +
" <Xid>LINKER</Xid>\n" +
" </Gid>\n" +
" </ItemGid>\n" +
" <ItemName/>\n" +
" <Description/>\n" +
" <EffectiveDate/>\n" +
" <ExpirationDate/>\n" +
" <CommodityGid/>\n" +
" <CommodityName/>\n" +
" <NMFCArticleGid/>\n" +
" <NMFCClassGid/>\n" +
" <STCCGid/>\n" +
" <HTSGid/>\n" +
" <SITCGid/>\n" +
" <UserDefinedCommodityGid/>\n" +
" <UDCClassListGid/>\n" +
" <PreviousItemGid/>\n" +
" <BrandName/>\n" +
" <ManufacturedCountryCode3Gid/>\n" +
" <IsDrawback>N</IsDrawback>\n" +
" <IATAScrCodeGid/>\n" +
" <UnitOfMeasure/>\n" +
" <PricePerUnit>\n" +
" <FinancialAmount>\n" +
" <GlobalCurrencyCode>USD</GlobalCurrencyCode>\n" +
" <MonetaryAmount>0.0</MonetaryAmount>\n" +
" <RateToBase/>\n" +
" <FuncCurrencyCode/>\n" +
" <FuncCurrencyAmount>0.0</FuncCurrencyAmount>\n" +
" </FinancialAmount>\n" +
" <UOM/>\n" +
" </PricePerUnit>\n" +
" <ChildItemCount/>\n" +
" <FlexFieldStrings>\n" +
" <Attribute1/>\n" +
" <Attribute2/>\n" +
" <Attribute3/>\n" +
" <Attribute4/>\n" +
" <Attribute5/>\n" +
" <Attribute6/>\n" +
" <Attribute7/>\n" +
" <Attribute8/>\n" +
" <Attribute9/>\n" +
" <Attribute10/>\n" +
" <Attribute11/>\n" +
" <Attribute12/>\n" +
" <Attribute13/>\n" +
" <Attribute14/>\n" +
" <Attribute15/>\n" +
" <Attribute16/>\n" +
" <Attribute17/>\n" +
" <Attribute18/>\n" +
" <Attribute19/>\n" +
" <Attribute20/>\n" +
" </FlexFieldStrings>\n" +
" <FlexFieldNumbers>\n" +
" <AttributeNumber1/>\n" +
" <AttributeNumber2/>\n" +
" <AttributeNumber3/>\n" +
" <AttributeNumber4/>\n" +
" <AttributeNumber5/>\n" +
" <AttributeNumber6/>\n" +
" <AttributeNumber7/>\n" +
" <AttributeNumber8/>\n" +
" <AttributeNumber9/>\n" +
" <AttributeNumber10/>\n" +
" </FlexFieldNumbers>\n" +
" <FlexFieldDates>\n" +
" <AttributeDate1/>\n" +
" <AttributeDate2/>\n" +
" <AttributeDate3/>\n" +
" <AttributeDate4/>\n" +
" <AttributeDate5/>\n" +
" <AttributeDate6/>\n" +
" <AttributeDate7/>\n" +
" <AttributeDate8/>\n" +
" <AttributeDate9/>\n" +
" <AttributeDate10/>\n" +
" </FlexFieldDates>\n" +
" </Item>\n" +
" </PackagedItem>\n" +
" </Shipment>\n" +
" </PlannedShipment>\n" +
" </GLogXMLElement>\n" +
" </TransmissionBody>\n" +
" </Transmission>\n";

String a3 = a1+a2;

String aa = test.CallWebService(a3);
System.out.println(aa);

}

}

代码简单,但测试的报文比较长。。。。。。然后把这个服务注册到ICS调用成功。

另外通过SOAPUI调用的时候需要在调用的xml参数前加入<arg0><![CDATA[    </Transmission>]]></arg0>

简化调用Web Service的更多相关文章

  1. 使用Android应用调用Web Service

    Java本身提供了丰富的Web  Service支持,比如Sun公司指定的JAX-WS  2规范,还有Apache开源组织所提供的Axis1.Axis2.CXF等,这些技术不仅可以用于非常方便地对外提 ...

  2. ORACLE存储过程调用Web Service

    1. 概述 最近在ESB项目中,客户在各个系统之间的服务调用大多都是在oracle存储过程中进行的,本文就oracle存储过程调用web service来进行说明.其他主流数据库,比如mysql和sq ...

  3. C#开发和调用Web Service

    http://blog.csdn.net/h0322/article/details/4776819 1.1.Web Service基本概念 Web Service也叫XML Web Service ...

  4. php5调用web service

    工作中需要用php调用web service接口,对php不熟,上网搜搜,发现关于用php调用web service的文章也不多,不少还是php4里用nusoap这个模块调用的方法,其实php5里已经 ...

  5. 通过ksoap2-android来调用Web Service操作的实例

    import java.io.IOException; import org.ksoap2.SoapEnvelope;import org.ksoap2.serialization.SoapObjec ...

  6. Dynamic CRM 2013学习笔记(二十五)JS调用web service 实现多条记录复制(克隆)功能

    前面介绍过如何克隆一条当前的记录: Dynamic CRM 2013学习笔记(十四)复制/克隆记录 , 主要是通过界面上加一个字段,单击form上的clone 按钮时,改变这个字段的值以触发插件来实现 ...

  7. ASP.NET调用Web Service

    1.1.Web Service基本概念 Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求, ...

  8. delphi调用web service出现 Unable to retrieve the URL endpoint for Service/Port .....

    delphi调用web service出现 Unable to retrieve the URL endpoint  for Service/Port, 错误截图如下 查了很长时间, 发现在DataM ...

  9. php5调用web service (笔者测试成功)

    转自:http://www.cnblogs.com/smallmuda/archive/2010/10/12/1848700.html 感谢作者分享 工作中需要用php调用web service接口, ...

随机推荐

  1. CentOS 7 主机加固手册-下

      CentOS 7 主机加固手册-上 CentOS 7 主机加固手册-中 CentOS 7 主机加固手册-下 0x1f 删除禁用非必要的服务 删除非必要的服务 # Remove yum remove ...

  2. Codeforces 270E Flawed Flow 网络流问题

    题意:给出一些边,给出边的容量.让你为所有边确定一个方向使得流量最大. 题目不用求最大流, 而是求每条边的流向,这题是考察网络流的基本规律. 若某图有最大,则有与源点相连的边必然都是流出的,与汇点相连 ...

  3. UVA 10385 Duathlon

    Problem HDuathlonInput: standard inputOutput: standard outputTime Limit: 15 seconds A duathlon is a ...

  4. windows下nginx安装及使用

    nginx简介: nginx是一款轻量级web服务器,也是一款反向代理服务器(比如域名转发等). nginx功能: 1.可直接支持Rails和PHP的程序. 2.可作为HTTP反向代理服务器. 3.作 ...

  5. jquery发送json请求,给springmvc接收

    js var obj = { 'name':name, 'desc':desc, 'scheduleStartTime':scheduleStartTime, 'scheduleEndTime':sc ...

  6. request模拟知乎登录(无验证码机制)

    import request try: import cookielib #python2版本 except: import http.cookiejar as cookielib #python3版 ...

  7. Selenium2+python自动化71-多个浏览器之间的切换【转载】

    前言 有时候一些业务的功能涉及到多个系统,需要在web系统1打开造一些数据,然后用到某些参数是动态生成的,需要调用web系统2里面的参数. 举个简单例子:在做某些业务的时候,需要手机短信验证码,我不可 ...

  8. pxe+kickstart 无人值守安装CentOS7.1

     CentOS6.6下PXE+Kickstart无人值守安装CentOS7.1操作系统 一.简介 1.1 什么是PXE Pxe(Pre-boot Execution Environment,预启动执行 ...

  9. javascript实现网页返回顶部功能

    在浏览网页时,我们一般是拖动滚动条向下滑动,浏览下面的内容,当页面超过单页时,右下角会出现一个回到顶部的图标,有些网站这个图标一直显示在右下角的. 有些网站使用锚链接来实现页面内容的跳转,但这种效果的 ...

  10. C#给IIS添加禁止IP限制

    /// <summary> /// 给IIS添加禁止IP限制 /// 仅针对iis 7及以上版本 /// 首先需要引入Microsoft.Web.Administration.dll // ...