码迷,mamicode.com
首页 > Web开发 > 详细

简化调用Web Service

时间:2017-02-02 12:12:19      阅读:263      评论:0      收藏:0      [点我收藏+]

标签:anti   notify   send   require   before   dex   element   exclude   ships   

年前在客户那里做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

标签:anti   notify   send   require   before   dex   element   exclude   ships   

原文地址:http://www.cnblogs.com/ericnie/p/6360972.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!