Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Retrieving data from Web Service

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Retrieving data from Web Service
 Login/Join
 
Member
posted
i am Unable to create a table from the data retrieved from a web service.
here is the short description of the xml i am getting when store __RESPONSE in a xml file using xml adapter.




ordered
accounted
CWOred
a****ed
foast
Corecast
currency
order



1387.0
399.84
1000.0
0
-100680.0
0
EUR
ASystem


69948.09
0
0
0
0
0
EUR
HSG

.
.
.
.
.
.




I tried creating master file using synonym creator but when i trying to get data using

TABLE FILE
PRINT
COLUMNLIST
DATA
WHERE

END
-EXIT

i am not getting anything but Two blank header rows(COLUMNLIST AND DATA)

Tried steps mentioned in http://www.informationbuilders...letter/9-3/06_litwin but still was not able to get anything in output.

I have very less experience in writing master file code. So if anyone can help it would be a life savor for me.

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 7.7
 
Posts: 8 | Registered: August 04, 2014Report This Post
Expert
posted Hide Post
Can you please post the code and XML in between the code tags.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
[QUOTE]Originally posted by Waz:
Can you please post the code and XML in between the code tags.
  
<ns1:getObjectSummariesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://services.remote.farcry">
   <getObjectSummariesReturn xsi:type="ns2:QueryBean" xmlns:ns2="http://rpc.xml.coldfusion">
    <columnList soapenc:arrayType="xsd:string[8]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
     <columnList xsi:type="xsd:string">ord</columnList>
     <columnList xsi:type="xsd:string">acco</columnList>
     <columnList xsi:type="xsd:string">CWO</columnList>
     <columnList xsi:type="xsd:string">CWOa</columnList>
     <columnList xsi:type="xsd:string">for</columnList>
     <columnList xsi:type="xsd:string">CWOf</columnList>
     <columnList xsi:type="xsd:string">cur</columnList>
     <columnList xsi:type="xsd:string">or</columnList>
    </columnList>
    <data soapenc:arrayType="xsd:anyType[][3]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
     <data soapenc:arrayType="xsd:anyType[8]" xsi:type="soapenc:Array">
      <data xsi:type="soapenc:double">10837.0</data>
      <data xsi:type="soapenc:double">31.84</data>
      <data xsi:type="soapenc:double">1000.0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:double">-180.0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">EUR</data>
      <data xsi:type="soapenc:string">AiS</data>
     </data>
     <data soapenc:arrayType="xsd:anyType[8]" xsi:type="soapenc:Array">
      <data xsi:type="soapenc:double">6978.09</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">EUR</data>
      <data xsi:type="soapenc:string">HRSG</data>
     </data>
   </getObjectSummariesReturn>
</ns1:getObjectSummariesResponse>  



Earlier also i tried but i guess it got converted into what we saw Big Grin. But anyhow did you go through the link i mentioned in the end?


Webfocus 7.7
 
Posts: 8 | Registered: August 04, 2014Report This Post
Expert
posted Hide Post
Can you post the master file ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
here is the master file from which we have created xml :-
  FILENAME=M6ILO, SUFFIX=SOAP    , $
  SEGMENT=GETOBJECTSUMMARIES, SEGTYPE=S0, $
    FIELDNAME=TOKEN, ALIAS=token, USAGE=A40, ACTUAL=A40, ACCESS_PROPERTY=(NEED_VALUE), $
    FIELDNAME=PROJECTID, ALIAS=projectid, USAGE=A40, ACTUAL=A40, ACCESS_PROPERTY=(NEED_VALUE), $
    FIELDNAME=OBJECTID, ALIAS=objectid, USAGE=A40, ACTUAL=A40, ACCESS_PROPERTY=(NEED_VALUE), $
    FIELDNAME=__RESPONSE, USAGE=TX80L, ACTUAL=TX, ACCESS_PROPERTY=(INTERNAL), $
  SEGMENT=RESPONSE, SEGTYPE=S0, SEGSUF=XML     , PARENT=GETOBJECTSUMMARIES, POSITION=__RESPONSE, $
    FIELDNAME=RESPONSE, ALIAS=getObjectSummariesResponse, USAGE=A1, ACTUAL=A1, ACCESS_PROPERTY=(INTERNAL), $
  SEGMENT=GETOBJECTSUMMARIESRETURN, SEGTYPE=S0, PARENT=RESPONSE, $
    FIELDNAME=GETOBJECTSUMMARIESRETURN, ALIAS=getObjectSummariesReturn, USAGE=A1, ACTUAL=A1, ACCESS_PROPERTY=(INTERNAL),
      REFERENCE=RESPONSE, PROPERTY=ELEMENT,  $
    FIELDNAME=COLUMNLIST, ALIAS=columnList, USAGE=A1, ACTUAL=A1, ACCESS_PROPERTY=(INTERNAL),
      REFERENCE=GETOBJECTSUMMARIESRETURN, PROPERTY=ELEMENT,  $
    FIELDNAME=DATA, ALIAS=data, USAGE=A1, ACTUAL=A1, ACCESS_PROPERTY=(INTERNAL),
      REFERENCE=GETOBJECTSUMMARIESRETURN, PROPERTY=ELEMENT,  $
  SEGMENT=ITEM, SEGTYPE=S0, PARENT=GETOBJECTSUMMARIESRETURN, $
    FIELDNAME=ITEM, ALIAS=item, USAGE=A30, ACTUAL=A30, ACCESS_PROPERTY=(ARRAY_ITEM),
      REFERENCE=COLUMNLIST, PROPERTY=ELEMENT,  $
  SEGMENT=ITEM1, SEGTYPE=S0, PARENT=GETOBJECTSUMMARIESRETURN, $
    FIELDNAME=ITEM1, ALIAS=item, USAGE=A30, ACTUAL=A30, ACCESS_PROPERTY=(ARRAY_ITEM),
      REFERENCE=DATA, PROPERTY=ELEMENT,  $



Webfocus 7.7
 
Posts: 8 | Registered: August 04, 2014Report This Post
Platinum Member
posted Hide Post
I'm not sure if you resolved this issue.
But, the XML that is posted in this discussion is invalid XML.
An ending tag for is is missing at the end of the XML.
I think the XML below is correct.





ord
acco
CWO
CWOa
for
CWOf
cur
or



10837.0
31.84
1000.0
0
-180.0
0
EUR
AiS


6978.09
0
0
0
0
0
EUR
HRSG



 
Posts: 229 | Location: New York | Registered: July 27, 2004Report This Post
Platinum Member
posted Hide Post
Reposting the XML properly:
  
<ns1:getObjectSummariesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://services.remote.farcry">
   <getObjectSummariesReturn xsi:type="ns2:QueryBean" xmlns:ns2="http://rpc.xml.coldfusion">
    <columnList soapenc:arrayType="xsd:string[8]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
     <columnList xsi:type="xsd:string">ord</columnList>
     <columnList xsi:type="xsd:string">acco</columnList>
     <columnList xsi:type="xsd:string">CWO</columnList>
     <columnList xsi:type="xsd:string">CWOa</columnList>
     <columnList xsi:type="xsd:string">for</columnList>
     <columnList xsi:type="xsd:string">CWOf</columnList>
     <columnList xsi:type="xsd:string">cur</columnList>
     <columnList xsi:type="xsd:string">or</columnList>
    </columnList>
    <data soapenc:arrayType="xsd:anyType[][3]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
     <data soapenc:arrayType="xsd:anyType[8]" xsi:type="soapenc:Array">
      <data xsi:type="soapenc:double">10837.0</data>
      <data xsi:type="soapenc:double">31.84</data>
      <data xsi:type="soapenc:double">1000.0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:double">-180.0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">EUR</data>
      <data xsi:type="soapenc:string">AiS</data>
     </data>
     <data soapenc:arrayType="xsd:anyType[8]" xsi:type="soapenc:Array">
      <data xsi:type="soapenc:double">6978.09</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">0</data>
      <data xsi:type="soapenc:string">EUR</data>
      <data xsi:type="soapenc:string">HRSG</data>
     </data>
    </data>
   </getObjectSummariesReturn>
</ns1:getObjectSummariesResponse>
 
Posts: 229 | Location: New York | Registered: July 27, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Retrieving data from Web Service

Copyright © 1996-2020 Information Builders