IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

X-Arrays SOAP and XMM

  • 1.  X-Arrays SOAP and XMM

    Posted Thu July 30, 2009 11:24 AM

    Hi. We are using EntireX 8.0.1. We want access to a web service.
    We have a wsdl file that describes two groups, “attori” and “titoli”:

    <xs:complexType name="attori">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="attore" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="titoli">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="titolo" type="titolo"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="titolo">
    <xs:sequence>
    <xs:element minOccurs="0" name="nome" type="xs:string"/>
    <xs:element minOccurs="0" name="paese" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>

    Graphical representations are in “Attori and Titoli.gif”.
    We create an idl file and we obtain

    
    2 attori 	
    3 attore 	  (AV/V)
    2 titoli 	
    3 titolo 	  (/V)
    4 nome 	  (AV)
    4 paese 	  (AV)

    The group “titoli” is right for us but for “attori” we think that we will obtain

    <attori>
    <attore>...</attore>
    <attore>...</attore>
    ...
    </attori>

    while the result is

    <attori>
    <attore>
    <string>...</string>
    </attore>
    <attore>
    <string>...</string>
    </attore>
    ...
    </attori>

    If we change “attore” node, see “Created and Modified Attore.gif”, and if we delete “string” node then we have the desired result.
    Can we obtain that in automatic way when we create an xmm file (see “Desired and Obtained XMM.jpg”)?
    Thanks.




    #Mainframe-Integration
    #webMethods
    #EntireX


  • 2.  RE: X-Arrays SOAP and XMM

    Posted Mon August 03, 2009 01:15 PM

    You cannot influence the result of the WSDL to IDL extraction. You have to use the XML Mapping Editor to do the necessary changes.


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 3.  RE: X-Arrays SOAP and XMM

    Posted Tue August 04, 2009 05:03 PM

    Ok.
    Thanks for your response.


    #webMethods
    #Mainframe-Integration
    #EntireX