年前在客户那里做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. 【STSRM13】木之本樱

    [题意]抽象模型后转化为:给定n个直线,ans+=C(x,4)*8,x为每个经过直线数>=4的点的直线数,不存在平行直线. [算法]数学 [题解] 运用了一个很简单的道理:经过同一个点的线段互相 ...

  2. C++ 异常~一 转

    C++ 异常机制分析   阅读目录 C++异常机制概述 throw 关键字 异常对象 catch 关键字 栈展开.RAII 异常机制与构造函数 异常机制与析构函数 noexcept修饰符与noexce ...

  3. linux平台从源码安装git【转】

    转自:http://blog.csdn.net/lianshaohua/article/details/50571560 版权声明:本文为博主原创文章,未经博主允许不得转载. 如果是ubuntu等能自 ...

  4. cpu_relax( )-----对自选循环等待(spin-wait loops)操作的优化【转】

    cpu_relax()-----对自选循环等待(spin-wait loops)操作的优化 转自:http://www.doc100.net/bugs/t/173547/index.html 在loc ...

  5. django自带的orm增删改

    # 转载请留言联系 模型管理器 模型管理器:objects属性 每个模型类默认都有一个叫 objects 的类属性,它由django自动生成 我们把 objects 称为 模型管理器,其类型为: dj ...

  6. Iphone安装Pinterest

    由于Pinterest在中国的app store下架了,也就搜索不到该应用.所以只能上美国的app store下载. 1,下载itunes,登录vpn,注册新的apple id: 2,手机连接vpn, ...

  7. 解决Composer 使用时要求输入授权用户名密码问题

    使用Composer下载第三方包时出现: Authentication required (packagist.phpcomposer.com): Username: 解决方法: 1.修改源 comp ...

  8. NLP初试牛刀,NLTK入门第一篇

    之前下载过一个PDF,书名是<用python进行自然语言处理>,挺有意思的,加上NLP和机器学习目前大热,想趁着暑假涉猎一下.于是开始了入门NLP之旅. 安装环境:Ubuntu14.04桌 ...

  9. ubuntu 进入 pycharm(社区版)

    先进入到pycharm所在的目录,然后进入bin 然后./pycharm.sh 例如,我把pycharm 放在桌面上 su ➜ xushukui cd '/home/xushukui/桌面/pycha ...

  10. Jenkins参数化构建Jenkins从文件中读取运行参数构建版本号

    https://www.cnblogs.com/xiaochengzi/p/8251805.html 安装Extended Choice Parameter插件 选择‘参数化构建过程’ maven c ...