cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Composer - inhereted elements of web service

Former Member
0 Kudos

I'm tryring to use SAP VC to consume a web service.

The web service is here: http://www.xignite.com/xFinancials.asmx

and the WSDL for the web service is here: http://www.xignite.com/xFinancials.asmx?WSDL

I am tring to call the GetBalanceSheet operation

You can see from the WSDL that the GetBalanceSheet operation returns and object called "BalanceSheet"

This Object looks like this:

<s:complexType name="BalanceSheet">

<s:complexContent mixed="false">

<s:extension base="tns:Common">

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="Security" type="tns:Security"/>

<s:element minOccurs="0" maxOccurs="1" name="AsOfDate" type="s:string"/>

<s:element minOccurs="0" maxOccurs="1" name="ReportDate" type="s:string"/>

<s:element minOccurs="0" maxOccurs="1" name="FiscalQuarter" type="s:string"/>

<s:element minOccurs="1" maxOccurs="1" name="ReportType" type="tns:ReportTypes"/>

<s:element minOccurs="0" maxOccurs="1" name="AuditorsName" type="s:string"/>

<s:element minOccurs="0" maxOccurs="1" name="AuditorsReport" type="s:string"/>

<s:element minOccurs="0" maxOccurs="1" name="Assets" type="tns:Assets"/>

<s:element minOccurs="0" maxOc

You can see that the BalanceSheet object inherits from an Extension called "Common":

<s:extension base="tns:Common">

In the WSDL, "Common" is described as:

<s:complexType name="Common">

&#8722;

<s:sequence>

<s:element minOccurs="1" maxOccurs="1" name="Outcome" type="tns:outcomeTypes"/>

<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string"/>

<s:element minOccurs="0" maxOccurs="1" name="Identity" type="s:string"/>

<s:element minOccurs="1" maxOccurs="1" name="Delay" type="s:double"/>

</s:sequence>

</s:complexType>

For some reasons, while I am able to access the "standard" attribute of the BalanceSheet using SAP VC (i,e. AsOfDate, ReportDate).

I cannot seem to be able to access the attributes of "Common" (i.e. Outcome, Message).

Is there a way for VC to access those elements or does it mean VC is not able to access "inherited" elements in a web service?

-


I hope this makes sense

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can try http:/preview.xignite.com/xFinancials.asmx instead.

We are on Sp12, so we are as up to date as possible.

lanzlf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I got invalid URL while using this WS for testing... could you please check it ?

in the meanwhile, which SPS level you have installed in your VC Storyboard ?

Regards,

Luis