Topic
  • 3 replies
  • Latest Post - ‏2012-08-15T15:40:43Z by akkina9
Thampi
Thampi
6 Posts

Pinned topic RDZ - CICS Webservice with Multiple Containers

‏2012-08-13T14:03:59Z |
Hello,

I am working on a CICS webservice project (CICS as a service provider)and we are using RDZ to create WSDL and bind files.

We have different data structures as output and are planning to use different container for each data structure of the output. It seems we need to create a "Channel Description Document" to support multiple containers.

Am very new to XML and not sure how to code a Channel Description Document. We are using RDZ 8.0.3, does that support creation of Channel Description Document?

Any documents would be helpful.

Thanks in Advance!
Rahul Thampi.
Updated on 2012-08-15T15:40:43Z at 2012-08-15T15:40:43Z by akkina9
  • akkina9
    akkina9
    124 Posts

    Re: RDZ - CICS Webservice with Multiple Containers

    ‏2012-08-13T16:00:18Z  
    Hello,

    RDz does not provide tooling to create a channel description document (CDD). As you might know, RDz does have the ability to consume the CDD. The following CICS TS info-center links documents how to create a channel description document: http://pic.dhe.ibm.com/infocenter/cicsts/v4r1/index.jsp?topic=%2Fcom.ibm.cics.ts.webservices.doc%2Ftasks%2Fdfhws_channeldesc.html

    If you want RDz to consider providing support for CDD, please open a requirement (RFE).

    Thanks
  • Thampi
    Thampi
    6 Posts

    Re: RDZ - CICS Webservice with Multiple Containers

    ‏2012-08-13T20:57:38Z  
    • akkina9
    • ‏2012-08-13T16:00:18Z
    Hello,

    RDz does not provide tooling to create a channel description document (CDD). As you might know, RDz does have the ability to consume the CDD. The following CICS TS info-center links documents how to create a channel description document: http://pic.dhe.ibm.com/infocenter/cicsts/v4r1/index.jsp?topic=%2Fcom.ibm.cics.ts.webservices.doc%2Ftasks%2Fdfhws_channeldesc.html

    If you want RDz to consider providing support for CDD, please open a requirement (RFE).

    Thanks
    Thanks for the information.
    I was able to create "channel Description Document" and was able to generate WSDL using it.

    Below was the channel Description Document which i used.

    <channel name="rtchanel1" xmlns="http://www.ibm.com/xmlns/prod/CICS/channel">
    <container name="rtcont1" type="bit" use="required">
    <structure location="C:\Documents and Settings\r02c.cpy"/>
    </container>
    <container name="rtcont2" type="bit" use="optional">
    <structure location="C:\Documents and Settings\r04c.cpy"/>
    </container>
    <container name="rtcont3" type="bit" use="optional">
    <structure location="C:\Documents and Settings\r12c.cpy"/>
    </container>
    </channel>

    The WSDL was generated and the container "rtcont2" & "rtcont3" came with "minoccurs=0" but does not contain any "maxoccurs".
    I need to have maxoccurs=unbound as i would have many occurances of the structure r04c & r12c.

    Any help as to what need to be specified in the CDD or any settings by which i could get a maxoccurs of unbound.

    Thanks in Advance!

    Rahul Thampi
  • akkina9
    akkina9
    124 Posts

    Re: RDZ - CICS Webservice with Multiple Containers

    ‏2012-08-15T15:40:43Z  
    • Thampi
    • ‏2012-08-13T20:57:38Z
    Thanks for the information.
    I was able to create "channel Description Document" and was able to generate WSDL using it.

    Below was the channel Description Document which i used.

    <channel name="rtchanel1" xmlns="http://www.ibm.com/xmlns/prod/CICS/channel">
    <container name="rtcont1" type="bit" use="required">
    <structure location="C:\Documents and Settings\r02c.cpy"/>
    </container>
    <container name="rtcont2" type="bit" use="optional">
    <structure location="C:\Documents and Settings\r04c.cpy"/>
    </container>
    <container name="rtcont3" type="bit" use="optional">
    <structure location="C:\Documents and Settings\r12c.cpy"/>
    </container>
    </channel>

    The WSDL was generated and the container "rtcont2" & "rtcont3" came with "minoccurs=0" but does not contain any "maxoccurs".
    I need to have maxoccurs=unbound as i would have many occurances of the structure r04c & r12c.

    Any help as to what need to be specified in the CDD or any settings by which i could get a maxoccurs of unbound.

    Thanks in Advance!

    Rahul Thampi
    A container either exists or it doesn't, you can't have multiple containers with the same name. There's no mechanism in the bottom-up tooling to allow structures to repeat, except by way of an OCCURS statement within the structure.