Good afternoon to everybody,
We have just migrated our application from PB6 to Appeon PB2017 R3. It works fine, but we want to implement some new features.
One of them is receive data from a webservice, but I just don't know how to do it.
I've tried doing this:
New Datawindow - Grid - From Webservice - Enter the WSDL - It detects the webservice - Detects the methods - I select the one I need and when I select the returnvalue [RET], it crashes with the message "An invalid resultset parameter type was detected."
I'm quite new at this, so I don't know how to do it.
Our webservice WSDL is https://amcspainfresh.qdecalidad.com/webserviceExternal/ws.apps
It's an external WS, so I can't modify anyting.
If anybody could help me, it would be appreciated.
If the resulting XML is a simple 2D (rows & columns) set of standard data types - then you can load that straight into a DW object's buffer. If the XML result is of a more complex nature, you'll have to use PB's PBDOM feature to parse the data out via PowerScript.
Regards ... Chris
@ Pepe: the return code from CreateInstance and Getreportscategory will give you some clue
Best,
.m
The return code of Create instance is 0 (successful), which is stored on rVal variable, and the return code of getreportscategory is also 0 if i make the conversion to long in the messagebox. I don't understand how it could be useful to see the data or insert it in a DW.
Thank you again for your help (and patience)