Re: wss adapter promoting an xml element to display it on sharepoint site?



On May 24, 12:49 pm, Ken <kenneth.lupina...@xxxxxxxxxxx> wrote:
I'm trying to promote an xml element to display it on sharepoint site
using the wss adapter.
Can anyone tell me what my xpath expression would look like if my
schemas is as follows:
Notice: The schemas does not have ns0 before InvoiceResult and Message
elements.

<ns0:SapPoInvoicePostResult xmlns:ns1="http://
schemas.SAPInvoiceDocument" xmlns:ns0="http://
Schemas.SapInvoicePostResult">
<InvoiceResult>
<Type>E</Type>
<Message>Invalid PO Number</Message>
</InvoiceResult>
</ns0:SapPoInvoicePostResult>

I've tried the folowing xpath experssions as the Column 01 Value:

%XPATH=//ns0:SapPoInvoicePostResult/InvoiceResult/Message%
%XPATH=//ns0:SapPoInvoicePostResult/ns0:InvoiceResult/ns0:Message%
%XPATH=//ns0:SapPoInvoicePostResult/ns0:InvoiceResult/Message%
%XPATH=//ns0:Message%
%XPATH=//Message%

I get the following error message:

The Windows SharePoint Services adapter Web service encountered an
error accessing column "Error" in document library "http://
sites.jetblue.com/sites/Finance/InvoiceWorksDrop". The column does not
exist. The following error was encountered: "Value does not fall
within the expected range.".

This error was triggered by the Windows SharePoint Services receive
location or send port with URI wss://sites.jetblue.com:80/sites/Finance/InvoiceWorksDrop.

Windows SharePoint Services adapter event ID: 12295


To answer my own question to the error SharePoint indicates "The
column does not exist."
i did not add the columns to my SharePoint. Once I did all worked
fine.

.



Relevant Pages


Loading