(Sorry for the late reply to this. I was out-of-town and didn't have a
chance to post to IBM-MAIN).
I received the following information from one of my "usually reliable
sources" within IBM for this question:
****
"he can use (W)RD/z to generate compiled conversions rather than CICS native
which do not support ODO.
Compiled supports ODO and complex ODO as well.
We do require one level 01 per message (in both compiled and native CICS).
You can give them this link for a couple of nice viewlets describing the
process:
http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/topic/com.ibm.iea.w
dz/wdz/7.0z/WebServicesDev.html?dmuid=20061231125132400795
and this viewlet in particular
http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/topic/com.ibm.iea.w
dz/wdz/7.0z/WebServicesDev/EST_BottomUpGen/EST_BottomUpGen_viewlet_swf.html?
dmuid=20061231134107068620
There is also a lot of additional documentation on
http://publib.boulder.ibm.com/infocenter/wdzinfo/v7r0/topic/com.ibm.etools.e
st.doc/topics/cestintrotext.html
Hope this helps... "
<[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Over the past few days I have been experimenting with CICS web
> services. My experimenting has come to a halt with an issue running
> DFHLS2WS to generate the WSDL and WSBIND files. The issue is that I'm
> trying to run DFHLS2WS with a COBOL response copybook that contains
> multiple 01 top level structures.
>
> I'm trying to create a web service that would accept an account as
> input and return a list of assets that the account holds. The list
> could be empty or it could contain thousands of assets. DFHLS2WS does
> not allow me to use a COBOL OCCURS DEPENDING UPON clause.
>
> From the CICS 3.1 documentation it appears that I have to use multiple
> containers. The top level container would have a variable that would
> contain the number of occurrences (asset-num for example) and the name
> of the container (asset-cont for example). After I get the top level
> container I would inspect the asset-num variable to determine if there
> are any other lower level containers. If so then I would get the
> container named in the asset-cont variable that many times.
>
> The issue that I'm having is that I wanted to define both the top
> level 01 and the lower level 01 structures in the same response
> copybook. My goal is to have DFHLS2WS generate a WSDL that would
> correctly portray my intended structure.
>
> From my reading and testing it appears that the second 01 structure
> will have to be defined outside of the response copybook. However,
> this means that the second 01 structure will not be defined in the
> WSDL and the client application will have to create and maintain this
> structure manually.
>
> Is there any way that I can define multiple 01 structures (containers)
> in a COBOL request or response copybook processed by DFHLS2WS?
>
> Any help is much appreciated!
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html