XML-Request und –Response für Opacc-WS-Interface

Auslesen von Adressen

Beispiel eines GetBo Request in der OpaccOXAS LiveDocumentation:
xmlQuery_18.jpg
Resultat des GetBo Requests:
xmlQuery_19.jpg
Obiges Beispiel als Soap-Request, welcher über das Opacc-WS-Interface ausgeführt wird:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic" xmlns:ws="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <soapenv:Header/>
  <soapenv:Body>
    <gen:FlatRequest>
      <gen:PortId>Biz</gen:PortId>
      <gen:OperationId>GetBo</gen:OperationId>
      <gen:RequestContext>
        <ws:ClientId>77</ws:ClientId>
        <ws:UserId>1077</ws:UserId>
        <ws:Password>EncryptedPassword</ws:Password>
      </gen:RequestContext>
      <gen:RequestData>
        <gen:Parameters>
          <arr:string>Addr</arr:string>
          <arr:string></arr:string>
          <arr:string>f</arr:string>
          <arr:string></arr:string>
          <arr:string>10</arr:string>
          <arr:string></arr:string>
          <arr:string></arr:string>
          <arr:string></arr:string>
          <arr:string></arr:string>
        </gen:Parameters>
      </gen:RequestData>
    </gen:FlatRequest>
  </soapenv:Body>
</soapenv:Envelope>
Soap-Response des obigen Soap-Requests:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <FlatRequestResponse xmlns="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws/Generic">
         <ResponseInfo xmlns:a="http://www.opacc.com/Opacc/ServiceBus/Interface/Ws" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:Successful>true</a:Successful>
            <a:MessageId>NoPrev</a:MessageId>
            <a:MlsMessageText/>
         </ResponseInfo>
         <ResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <RowCount>10</RowCount>
            <ColumnCount>3</ColumnCount>
            <Columns>
               <Column>
                  <Name>Addr.BoId</Name>
                  <Rows xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                     <a:string>1</a:string>
                     <a:string>2</a:string>
                     <a:string>3</a:string>
                     <a:string>4</a:string>
                     <a:string>5</a:string>
                     <a:string>6</a:string>
                     <a:string>7</a:string>
                     <a:string>8</a:string>
                     <a:string>9</a:string>
                     <a:string>10</a:string>
                  </Rows>
               </Column>
               <Column>
                  <Name>Addr.BoNumber</Name>
                  <Rows xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                     <a:string>1</a:string>
                     <a:string>2</a:string>
                     <a:string>3</a:string>
                     <a:string>4</a:string>
                     <a:string>5</a:string>
                     <a:string>6</a:string>
                     <a:string>7</a:string>
                     <a:string>8</a:string>
                     <a:string>9</a:string>
                     <a:string>10</a:string>
                  </Rows>
               </Column>
               <Column>
                  <Name>Addr.BoName</Name>
                  <Rows xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                     <a:string>U. Birchmeier</a:string>
                     <a:string>M. Schild</a:string>
                     <a:string>F. Eberhard</a:string>
                     <a:string>Werkzeug AG</a:string>
                     <a:string>Mustermann AG</a:string>
                     <a:string>Hammerschlag AG</a:string>
                     <a:string>Hintermann AG</a:string>
                     <a:string>E. Trichter</a:string>
                     <a:string>MAAP Maschinen und Apparate</a:string>
                     <a:string>Andres AG;Autoservice</a:string>
                  </Rows>
               </Column>
            </Columns>
         </ResponseData>
      </FlatRequestResponse>
   </s:Body>
</s:Envelope>
Einlesen der Soap-Response (hier im Beispiel vorgängig als Adressen.xml gespeichert) über den Service Common.XmlQuery:
xmlQuery_20.jpg
Resultat des Common.XmlQuery Service:
xmlQuery_21.jpg