on 06-11-2007 8:59 PM
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">
−
<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
You can try http:/preview.xignite.com/xFinancials.asmx instead.
We are on Sp12, so we are as up to date as possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.