/* Style Definitions */
table.MsoNormalTable

{mso-style-name:”Table Normal”;

mso-tstyle-rowband-size:0;

mso-tstyle-colband-size:0;

mso-style-noshow:yes;

mso-style-priority:99;

mso-style-parent:””;

mso-padding-alt:0in 5.4pt 0in 5.4pt;

mso-para-margin:0in;

mso-para-margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:10.0pt;

font-family:Calibri;}

DWS Request – doPublishFromImport

To test the DWS installed on the consulting virtual servers
using SoapUI

1. Create a new Project in soapUI using the
following wsdl:
http://10.140.165.199:10001/DWS/PublishingServiceSoap12?WSDL

Check Create Requests

2. Run
the extract file through a base64 encoder

3. Use
the following model as the request, replacing the data in the com1:Binary node
with the encoded extract file:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pub="oracle/documaker/schema/ws/publishing"
xmlns:com="oracle/documaker/schema/ws/publishing/common"
xmlns:v1="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1"
xmlns:com1="oracle/documaker/schema/common"
xmlns:req="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/request">
<soapenv:Header/>
<soapenv:Body>
<pub:DoPublishFromImportRequest>
<pub:DoPublishFromImportRequestV1>
<com:timeoutMillis>30000</com:timeoutMillis>
<v1:JobRequest>
<req:Payload>
<req:Extract>
<com1:Content>
<com1:Binary>PD94bWwgdm…N0Pg==</com1:Binary>
</com1:Content>
</req:Extract>
</req:Payload>
</v1:JobRequest>
<v1:ResponseProperties>
<com1:ResponseType>Attachments</com1:ResponseType>
</v1:ResponseProperties>
</pub:DoPublishFromImportRequestV1>
</pub:DoPublishFromImportRequest>
</soapenv:Body>

</soapenv:Envelope>


4. The
response from the web service request looks like the following if there are
recipients that are to be batch printed and no immediate prints . Note the JobStatus and TrnStatus are 416.:

<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Body>

<ns5:DoPublishFromImportResponse
xmlns:ns12="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1/request"
xmlns:ns11="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1"
xmlns:ns10="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1/response"
xmlns:ns9="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/response"
xmlns:ns8="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1/response"
xmlns:ns7="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/request"
xmlns:ns6="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1"
xmlns:ns5="oracle/documaker/schema/ws/publishing" xmlns:ns4="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1"
xmlns:ns3="oracle/documaker/schema/common"
xmlns:ns2="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1/request"
xmlns="oracle/documaker/schema/ws/publishing/common">

<ns5:DoPublishFromImportResponseV1>

<Result>0</Result>

<ServiceTimeMillis>31221</ServiceTimeMillis>

<ns6:ServerTimeMillis>13609</ns6:ServerTimeMillis>

<ns6:JobResponse>

<ns9:JobBchErr>0</ns9:JobBchErr>

<ns9:JobBchProc>0</ns9:JobBchProc>

<ns9:JobBchSch>3</ns9:JobBchSch>

<ns9:JobBchStartTime>2012-06-26T18:11:38.400Z</ns9:JobBchStartTime>

<ns9:JobBchTotal>3</ns9:JobBchTotal>

<ns9:JobHistorical>0</ns9:JobHistorical>

<ns9:JobHistory>1</ns9:JobHistory>

<ns9:JobPayloadType>1</ns9:JobPayloadType>

<ns9:JobPriority>10</ns9:JobPriority>

<ns9:JobRcpErr>0</ns9:JobRcpErr>

<ns9:JobRcpProc>0</ns9:JobRcpProc>

<ns9:JobRcpSch>3</ns9:JobRcpSch>

<ns9:JobRcpStartTime>2012-06-26T18:11:38.385Z</ns9:JobRcpStartTime>

<ns9:JobRcpTotal>3</ns9:JobRcpTotal>

<ns9:JobReplySent>0</ns9:JobReplySent>

<ns9:JobStartTime>2012-06-26T18:11:26.071Z</ns9:JobStartTime>

<ns9:JobStatus>416</ns9:JobStatus>

<ns9:JobTrnErr>0</ns9:JobTrnErr>

<ns9:JobTrnProc>0</ns9:JobTrnProc>

<ns9:JobTrnSch>1</ns9:JobTrnSch>

<ns9:JobTrnStartTime>2012-06-26T18:11:29.197Z</ns9:JobTrnStartTime>

<ns9:JobTrnTotal>1</ns9:JobTrnTotal>

<ns9:JobTrnWip>0</ns9:JobTrnWip>

<ns9:JobUnique_Id>27896092-74b5-4af4-a9ee-a9999a60f59e</ns9:JobUnique_Id>

<ns9:Job_Id>21</ns9:Job_Id>

<ns9:Payload>

<ns9:Transaction>

<ns9:Action>100011</ns9:Action>

<ns9:ApprovalState>50</ns9:ApprovalState>

<ns9:CreateTime>2012-06-26T18:11:28.000Z</ns9:CreateTime>

<ns9:CurrGroup>3</ns9:CurrGroup>

<ns9:CurrUser>8</ns9:CurrUser>

<ns9:Customized>0</ns9:Customized>

<ns9:Descr>Welcome
Packet</ns9:Descr>

<ns9:FormsetId>33f3cdc7-6bb2-4db2-aec5-106ad6f4274d</ns9:FormsetId>

<ns9:Job_Id>21</ns9:Job_Id>

<ns9:Key1>Central</ns9:Key1>

<ns9:Key2>Account_Status</ns9:Key2>

<ns9:KeyId>0000000</ns9:KeyId>

<ns9:ModifyTime>2012-06-26T18:11:37.000Z</ns9:ModifyTime>

<ns9:OrigUser>8</ns9:OrigUser>

<ns9:ProcessName>Batcher</ns9:ProcessName>

<ns9:RecType>00</ns9:RecType>

<ns9:SecLevel>0</ns9:SecLevel>

<ns9:StatusCode>P</ns9:StatusCode>

<ns9:TranCode>Q</ns9:TranCode>

<ns9:TrnBchErr>0</ns9:TrnBchErr>

<ns9:TrnBchProc>0</ns9:TrnBchProc>

<ns9:TrnBchSch>3</ns9:TrnBchSch>

<ns9:TrnBchTotal>3</ns9:TrnBchTotal>

<ns9:TrnDoLog>1</ns9:TrnDoLog>

<ns9:TrnHistorical>0</ns9:TrnHistorical>

<ns9:TrnHistory>1</ns9:TrnHistory>

<ns9:TrnRcpErr>0</ns9:TrnRcpErr>

<ns9:TrnRcpProc>0</ns9:TrnRcpProc>

<ns9:TrnRcpSch>3</ns9:TrnRcpSch>

<ns9:TrnRcpTotal>3</ns9:TrnRcpTotal>

<ns9:TrnStartTime>2012-06-26T18:11:28.978Z</ns9:TrnStartTime>

<ns9:TrnStatus>416</ns9:TrnStatus>

<ns9:Trn_Id>21</ns9:Trn_Id>

<ns9:Unique_Id>03ac9df5-44d1-438e-9df6-9405a63e48f7</ns9:Unique_Id>

</ns9:Transaction>

</ns9:Payload>

</ns6:JobResponse>

<ns6:ServiceInfo>

<ns3:Operation>doPublishFromImport</ns3:Operation>

<ns3:Version>

<ns3:Number>1</ns3:Number>

<ns3:Used>true</ns3:Used>

</ns3:Version>

</ns6:ServiceInfo>

</ns5:DoPublishFromImportResponseV1>

</ns5:DoPublishFromImportResponse>

</S:Body>

</S:Envelope>

5. The
response from the web service request looks like the following if there are immediate
prints and no recipients that are to be batch printed . Note the JobStatus and TrnStatus are 999.:

<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Body>

<ns5:DoPublishFromImportResponse
xmlns:ns12="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1/request"
xmlns:ns11="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1"
xmlns:ns10="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1/response"
xmlns:ns9="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/response"
xmlns:ns8="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1/response"
xmlns:ns7="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/request"
xmlns:ns6="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1"
xmlns:ns5="oracle/documaker/schema/ws/publishing" xmlns:ns4="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1"
xmlns:ns3="oracle/documaker/schema/common"
xmlns:ns2="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1/request"
xmlns="oracle/documaker/schema/ws/publishing/common">

<ns5:DoPublishFromImportResponseV1>

<Result>0</Result>

<ServiceTimeMillis>14204</ServiceTimeMillis>

<ns6:ServerTimeMillis>8689</ns6:ServerTimeMillis>

<ns6:JobResponse>

<ns9:JobBchEndTime>2012-07-02T13:04:29.751Z</ns9:JobBchEndTime>

<ns9:JobBchErr>0</ns9:JobBchErr>

<ns9:JobBchProc>3</ns9:JobBchProc>

<ns9:JobBchSch>0</ns9:JobBchSch>

<ns9:JobBchStartTime>2012-07-02T13:04:26.595Z</ns9:JobBchStartTime>

<ns9:JobBchTotal>3</ns9:JobBchTotal>

<ns9:JobEndTime>2012-07-02T13:04:29.751Z</ns9:JobEndTime>

<ns9:JobHistorical>0</ns9:JobHistorical>

<ns9:JobHistory>1</ns9:JobHistory>

<ns9:JobPayloadType>1</ns9:JobPayloadType>

<ns9:JobPriority>10</ns9:JobPriority>

<ns9:JobRcpEndTime>2012-07-02T13:04:29.751Z</ns9:JobRcpEndTime>

<ns9:JobRcpErr>0</ns9:JobRcpErr>

<ns9:JobRcpProc>3</ns9:JobRcpProc>

<ns9:JobRcpSch>0</ns9:JobRcpSch>

<ns9:JobRcpStartTime>2012-07-02T13:04:26.595Z</ns9:JobRcpStartTime>

<ns9:JobRcpTotal>3</ns9:JobRcpTotal>

<ns9:JobReplySent>0</ns9:JobReplySent>

<ns9:JobStartTime>2012-07-02T13:04:23.344Z</ns9:JobStartTime>

<ns9:JobStatus>999</ns9:JobStatus>

<ns9:JobTrnEndTime>2012-07-02T13:04:29.751Z</ns9:JobTrnEndTime>

<ns9:JobTrnErr>0</ns9:JobTrnErr>

<ns9:JobTrnProc>1</ns9:JobTrnProc>

<ns9:JobTrnSch>0</ns9:JobTrnSch>

<ns9:JobTrnStartTime>2012-07-02T13:04:24.626Z</ns9:JobTrnStartTime>

<ns9:JobTrnTotal>1</ns9:JobTrnTotal>

<ns9:JobTrnWip>0</ns9:JobTrnWip>

<ns9:JobUnique_Id>2f9b5dc0-b6ce-47fe-9593-7ca92745378b</ns9:JobUnique_Id>

<ns9:Job_Id>27</ns9:Job_Id>

<ns9:Payload>

<ns9:Transaction>

<ns9:Action>100011</ns9:Action>

<ns9:ApprovalState>50</ns9:ApprovalState>

<ns9:CreateTime>2012-07-02T13:04:24.000Z</ns9:CreateTime>

<ns9:CurrGroup>3</ns9:CurrGroup>

<ns9:CurrUser>8</ns9:CurrUser>

<ns9:Customized>0</ns9:Customized>

<ns9:Data>

<ns3:Name>26_26</ns3:Name>

<ns3:ContentType>application/x-pcl</ns3:ContentType>

<ns3:FileType>pcl</ns3:FileType>

<ns3:Content>

<ns3:Binary>GypjMEYbK…DBtF</ns3:Binary>

</ns3:Content>

</ns9:Data>

<ns9:Data>

<ns3:Name>26_27</ns3:Name>

<ns3:ContentType>application/x-pcl</ns3:ContentType>

<ns3:FileType>pcl</ns3:FileType>

<ns3:Content>

<ns3:Binary>GypjMEYbK…DBtF</ns3:Binary>

</ns3:Content>

</ns9:Data>

<ns9:Data>

<ns3:Name>26_28</ns3:Name>

<ns3:ContentType>application/x-pcl</ns3:ContentType>

<ns3:FileType>pcl</ns3:FileType>

<ns3:Content>

<ns3:Binary>GypjMEYbK…DBtF</ns3:Binary>

</ns3:Content>

</ns9:Data>

<ns9:Descr>Welcome
Packet</ns9:Descr>

<ns9:FormsetId>91f3aedf-b605-4c7f-b89c-be9decddce0f</ns9:FormsetId>

<ns9:Job_Id>27</ns9:Job_Id>

<ns9:Key1>Central</ns9:Key1>

<ns9:Key2>Account_Status</ns9:Key2>

<ns9:KeyId>6000003</ns9:KeyId>

<ns9:ModifyTime>2012-07-02T13:04:30.000Z</ns9:ModifyTime>

<ns9:OrigUser>8</ns9:OrigUser>

<ns9:ProcessName>Batcher</ns9:ProcessName>

<ns9:RecType>00</ns9:RecType>

<ns9:SecLevel>0</ns9:SecLevel>

<ns9:StatusCode>P</ns9:StatusCode>

<ns9:TranCode>Q</ns9:TranCode>

<ns9:TrnBchErr>0</ns9:TrnBchErr>

<ns9:TrnBchProc>3</ns9:TrnBchProc>

<ns9:TrnBchSch>0</ns9:TrnBchSch>

<ns9:TrnBchTotal>3</ns9:TrnBchTotal>

<ns9:TrnDoLog>1</ns9:TrnDoLog>

<ns9:TrnEndTime>2012-07-02T13:04:29.751Z</ns9:TrnEndTime>

<ns9:TrnHistorical>0</ns9:TrnHistorical>

<ns9:TrnHistory>1</ns9:TrnHistory>

<ns9:TrnRcpErr>0</ns9:TrnRcpErr>

<ns9:TrnRcpProc>3</ns9:TrnRcpProc>

<ns9:TrnRcpSch>0</ns9:TrnRcpSch>

<ns9:TrnRcpTotal>3</ns9:TrnRcpTotal>

<ns9:TrnStartTime>2012-07-02T13:04:24.485Z</ns9:TrnStartTime>

<ns9:TrnStatus>999</ns9:TrnStatus>

<ns9:Trn_Id>27</ns9:Trn_Id>

<ns9:Unique_Id>1034459e-6621-4359-bd2b-5d7af55aafc4</ns9:Unique_Id>

</ns9:Transaction>

</ns9:Payload>

</ns6:JobResponse>

<ns6:ServiceInfo>

<ns3:Operation>doPublishFromImport</ns3:Operation>

<ns3:Version>

<ns3:Number>1</ns3:Number>

<ns3:Used>true</ns3:Used>

</ns3:Version>

</ns6:ServiceInfo>

</ns5:DoPublishFromImportResponseV1>

</ns5:DoPublishFromImportResponse>

</S:Body>

</S:Envelope>

6. :
The response from the web service request looks like the following if there is
an error. Note the status of 290:

<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

<S:Body>

<ns5:DoPublishFromImportResponse
xmlns:ns12="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1/request"
xmlns:ns11="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1"
xmlns:ns10="oracle/documaker/schema/ws/publishing/doGetPublishingInfo/v1/response"
xmlns:ns9="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/response"
xmlns:ns8="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1/response"
xmlns:ns7="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1/request"
xmlns:ns6="oracle/documaker/schema/ws/publishing/doPublishFromImport/v1"
xmlns:ns5="oracle/documaker/schema/ws/publishing" xmlns:ns4="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1"
xmlns:ns3="oracle/documaker/schema/common"
xmlns:ns2="oracle/documaker/schema/ws/publishing/doPublishFromFactory/v1/request"
xmlns="oracle/documaker/schema/ws/publishing/common">

<ns5:DoPublishFromImportResponseV1>

<Result>0</Result>

<ServiceTimeMillis>2359</ServiceTimeMillis>

<ns6:ServerTimeMillis>2109</ns6:ServerTimeMillis>

<ns6:JobResponse>

<ns9:JobBchErr>0</ns9:JobBchErr>

<ns9:JobBchProc>0</ns9:JobBchProc>

<ns9:JobBchSch>0</ns9:JobBchSch>

<ns9:JobBchTotal>0</ns9:JobBchTotal>

<ns9:JobHistorical>0</ns9:JobHistorical>

<ns9:JobHistory>1</ns9:JobHistory>

<ns9:JobPayloadType>1</ns9:JobPayloadType>

<ns9:JobPriority>10</ns9:JobPriority>

<ns9:JobRcpErr>0</ns9:JobRcpErr>

<ns9:JobRcpProc>0</ns9:JobRcpProc>

<ns9:JobRcpSch>0</ns9:JobRcpSch>

<ns9:JobRcpTotal>0</ns9:JobRcpTotal>

<ns9:JobReplySent>0</ns9:JobReplySent>

<ns9:JobStartTime>2012-06-26T19:44:55.394Z</ns9:JobStartTime>

<ns9:JobStatus>290</ns9:JobStatus>

<ns9:JobTrnErr>0</ns9:JobTrnErr>

<ns9:JobTrnProc>0</ns9:JobTrnProc>

<ns9:JobTrnSch>0</ns9:JobTrnSch>

<ns9:JobTrnStartTime>2012-06-26T19:44:55.801Z</ns9:JobTrnStartTime>

<ns9:JobTrnTotal>1</ns9:JobTrnTotal>

<ns9:JobTrnWip>1</ns9:JobTrnWip>

<ns9:JobUnique_Id>5e760af5-f8a3-403d-a2f1-09362932aa28</ns9:JobUnique_Id>

<ns9:Job_Id>23</ns9:Job_Id>

<ns9:Payload>

<ns9:Transaction>

<ns9:Action>100011</ns9:Action>

<ns9:ApprovalState>40</ns9:ApprovalState>

<ns9:CreateTime>2012-06-26T19:44:55.000Z</ns9:CreateTime>

<ns9:CurrGroup>3</ns9:CurrGroup>

<ns9:CurrUser>8</ns9:CurrUser>

<ns9:Customized>0</ns9:Customized>

<ns9:Descr>Welcome
Packet</ns9:Descr>

<ns9:FormsetId>ffe07ef3-93f3-4bee-82d1-a380d4e93fe0</ns9:FormsetId>

<ns9:Job_Id>23</ns9:Job_Id>

<ns9:Key1>Central</ns9:Key1>

<ns9:Key2>Account_Status</ns9:Key2>

<ns9:KeyId>9000002</ns9:KeyId>

<ns9:ModifyTime>2012-06-26T19:44:56.000Z</ns9:ModifyTime>

<ns9:OrigUser>8</ns9:OrigUser>

<ns9:ProcessName>docfactory_assembler</ns9:ProcessName>

<ns9:RecType>00</ns9:RecType>

<ns9:RouteDesc>DM20030: the following required fields are missing data:
AGENTCITYSTATEZIP,Premium Amount
.</ns9:RouteDesc>

<ns9:SecLevel>0</ns9:SecLevel>

<ns9:StatusCode>W</ns9:StatusCode>

<ns9:TranCode>NB</ns9:TranCode>

<ns9:TrnBchErr>0</ns9:TrnBchErr>

<ns9:TrnBchProc>0</ns9:TrnBchProc>

<ns9:TrnBchSch>0</ns9:TrnBchSch>

<ns9:TrnBchTotal>0</ns9:TrnBchTotal>

<ns9:TrnDoLog>1</ns9:TrnDoLog>

<ns9:TrnHistorical>0</ns9:TrnHistorical>

<ns9:TrnHistory>1</ns9:TrnHistory>

<ns9:TrnRcpErr>0</ns9:TrnRcpErr>

<ns9:TrnRcpProc>0</ns9:TrnRcpProc>

<ns9:TrnRcpSch>0</ns9:TrnRcpSch>

<ns9:TrnRcpTotal>0</ns9:TrnRcpTotal>

<ns9:TrnStartTime>2012-06-26T19:44:55.769Z</ns9:TrnStartTime>

<ns9:TrnStatus>290</ns9:TrnStatus>

<ns9:Trn_Id>23</ns9:Trn_Id>

<ns9:Unique_Id>7b219906-3b58-4820-a080-b9fbfe97bcd1</ns9:Unique_Id>

</ns9:Transaction>

</ns9:Payload>

</ns6:JobResponse>

<ns6:ServiceInfo>

<ns3:Operation>doPublishFromImport</ns3:Operation>

<ns3:Version>

<ns3:Number>1</ns3:Number>

<ns3:Used>true</ns3:Used>

</ns3:Version>

</ns6:ServiceInfo>

</ns5:DoPublishFromImportResponseV1>

</ns5:DoPublishFromImportResponse>

</S:Body>

</S:Envelope>