Web Service Node

 5 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Goober
Basic Member
Posts: 17
Basic Member

    I have created a web service on an iseries V5R4 that work fine with .net apps talking to it. 

    I am now using the processflow Web Service Node to access the same service but when

    returning the value to a variable in process flow i get the following error:

    Exception while evaluating expression: DATECHECK_output.*::Body.*::processdateResponse.*::return.*::_PROCDATE;

    missing name after :: operator (threadScript#1)

     

    Gary Davies
    Veteran Member
    Posts: 248
    Veteran Member
      I assume your wsdl has the structure
      Body
      processdateResponse
      return
      _PROCDATE

      was DATECHECK_errorCode returned with 0
      Goober
      Basic Member
      Posts: 17
      Basic Member
        The date is valid and checks out ok when being called from .net or when testing on the iseries with IBM's
        web admin tool.

        Here is the WSDL:
        <!--
        -
        -
        -
        -
        -
        ROCESSDATEInput" />



        -
        -




        -
        -
        -
        ROCESSDATEResult" />



        -
        -




        -
        -
        -
        ROCESSDATEInput" />



        -
        -
        -






        -


        -


        -


        -


        -
        -



        -




        -

        -

        -


        -



        -

        -


        -




        -
        -



        -->
        Goober
        Basic Member
        Posts: 17
        Basic Member
          The date is valid and checks out ok when being called from .net or when testing on the iseries with IBM's
          web admin tool.

          Here is the WSDL:
          <!--
          - Xwsdl:typesXX
          -Xxs:schema xmlns:ns="http://hrdatchk.wsbeans.iseries/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://hrdatchk.wsbeans.iseries/xsd"XX
          -Xxs:element name="processdate"XX
          -Xxs:complexTypeXX
          -Xxs:sequenceXX
          ROCESSDATEInput" /XX
          XXxs:sequenceXX
          XXxs:complexTypeXX
          XXxs:elementXX
          -Xxs:complexType name="PROCESSDATEInput"XX
          -Xxs:sequenceXX
          XXxs:sequenceXX
          XXxs:complexTypeXX
          -Xxs:element name="processdateResponse"XX
          -Xxs:complexTypeXX
          -Xxs:sequenceXX
          ROCESSDATEResult" /XX
          XXxs:sequenceXX
          XXxs:complexTypeXX
          XXxs:elementXX
          -Xxs:complexType name="PROCESSDATEResult"XX
          -Xxs:sequenceXX
          XXxs:sequenceXX
          XXxs:complexTypeXX
          -Xxs:element name="processdate_XML"XX
          -Xxs:complexTypeXX
          -Xxs:sequenceXX
          ROCESSDATEInput" /XX
          XXxs:sequenceXX
          XXxs:complexTypeXX
          XXxs:elementXX
          -Xxs:element name="processdate_XMLResponse"XX
          -Xxs:complexTypeXX
          -Xxs:sequenceXX
          XXxs:sequenceXX
          XXxs:complexTypeXX
          XXxs:elementXX
          XXxs:schemaXX
          XXwsdl:typesXX
          - Xwsdl:message name="processdateRequest"XX
          XXwsdl:messageXX
          - Xwsdl:message name="processdateResponse"XX
          XXwsdl:messageXX
          - Xwsdl:message name="processdate_XMLRequest"XX
          XXwsdl:messageXX
          - Xwsdl:message name="processdate_XMLResponse"XX
          XXwsdl:messageXX
          - Xwsdl:portType name="HRDATCHKPortType"XX
          - Xwsdl:operation name="processdate"XX
          XXwsdl:operationXX
          - Xwsdl:operation name="processdate_XML"XX
          XXwsdl:operationXX
          XXwsdl:portTypeXX
          - Xwsdl:binding name="HRDATCHKSOAP11Binding" type="axis2:HRDATCHKPortType"XX
          - Xwsdl:operation name="processdate"XX
          - Xwsdl:inputXX
          XXwsdl:inputXX
          - Xwsdl:outputXX
          XXwsdl:outputXX
          XXwsdl:operationXX
          - Xwsdl:operation name="processdate_XML"XX
          - Xwsdl:inputXX
          XXwsdl:inputXX
          - Xwsdl:outputXX
          XXwsdl:outputXX
          XXwsdl:operationXX
          XXwsdl:bindingXX
          - Xwsdl:service name="HRDATCHK"XX
          - Xwsdl:port name="HRDATCHKSOAP11port_http" binding="axis2:HRDATCHKSOAP11Binding"XX
          XXwsdl:portXX
          XXwsdl:serviceXX
          XXwsdl:definitionsXX --XX
          Goober
          Basic Member
          Posts: 17
          Basic Member
            The date is valid and checks out ok when being called from .net or when testing on the iseries with IBM's
            web admin tool.

            Here is the WSDL:
            <!--
            - Xwsdl:typesXX
            -Xxs:schema xmlns:ns="http://hrdatchk.wsbeans.iseries/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://hrdatchk.wsbeans.iseries/xsd"XX
            -Xxs:element name="processdate"XX
            -Xxs:complexTypeXX
            -Xxs:sequenceXX
            Xxs:element minOccurs="0" name="param0" nillable="true" type="nsROCESSDATEInput" /XX
            XXxs:sequenceXX
            XXxs:complexTypeXX
            XXxs:elementXX
            -Xxs:complexType name="PROCESSDATEInput"XX
            -Xxs:sequenceXX
            Xxs:element minOccurs="0" name="_JOBCODE" nillable="true" type="xs:string" /XX
            Xxs:element minOccurs="0" name="_PROCDATE" nillable="true" type="xs:string" /XX
            XXxs:sequenceXX
            XXxs:complexTypeXX
            -Xxs:element name="processdateResponse"XX
            -Xxs:complexTypeXX
            -Xxs:sequenceXX
            Xxs:element minOccurs="0" name="return" nillable="true" type="nsROCESSDATEResult" /XX
            XXxs:sequenceXX
            XXxs:complexTypeXX
            XXxs:elementXX
            -Xxs:complexType name="PROCESSDATEResult"XX
            -Xxs:sequenceXX
            Xxs:element minOccurs="0" name="_PROCDATE" nillable="true" type="xs:string" /XX
            Xxs:element minOccurs="0" name="_PSTATUS" nillable="true" type="xs:string" /XX
            XXxs:sequenceXX
            XXxs:complexTypeXX
            -Xxs:element name="processdate_XML"XX
            -Xxs:complexTypeXX
            -Xxs:sequenceXX
            Xxs:element minOccurs="0" name="param0" nillable="true" type="nsROCESSDATEInput" /XX
            XXxs:sequenceXX
            XXxs:complexTypeXX
            XXxs:elementXX
            -Xxs:element name="processdate_XMLResponse"XX
            -Xxs:complexTypeXX
            -Xxs:sequenceXX
            Xxs:element minOccurs="0" name="return" nillable="true" type="xs:string" /XX
            XXxs:sequenceXX
            XXxs:complexTypeXX
            XXxs:elementXX
            XXxs:schemaXX
            XXwsdl:typesXX
            - Xwsdl:message name="processdateRequest"XX
            Xwsdl:part name="parameters" element="ns0:processdate" /XX
            XXwsdl:messageXX
            - Xwsdl:message name="processdateResponse"XX
            Xwsdl:part name="parameters" element="ns0:processdateResponse" /XX
            XXwsdl:messageXX
            - Xwsdl:message name="processdate_XMLRequest"XX
            Xwsdl:part name="parameters" element="ns0:processdate_XML" /XX
            XXwsdl:messageXX
            - Xwsdl:message name="processdate_XMLResponse"XX
            Xwsdl:part name="parameters" element="ns0:processdate_XMLResponse" /XX
            XXwsdl:messageXX
            - Xwsdl:portType name="HRDATCHKPortType"XX
            - Xwsdl:operation name="processdate"XX
            Xwsdl:input message="axis2:processdateRequest" wsaw:Action="urn:processdate" /XX
            Xwsdl:output message="axis2:processdateResponse" wsaw:Action="urn:processdateResponse" /XX
            XXwsdl:operationXX
            - Xwsdl:operation name="processdate_XML"XX
            Xwsdl:input message="axis2:processdate_XMLRequest" wsaw:Action="urn:processdate_XML" /XX
            Xwsdl:output message="axis2:processdate_XMLResponse" wsaw:Action="urn:processdate_XMLResponse" /XX
            XXwsdl:operationXX
            XXwsdl:portTypeXX
            - Xwsdl:binding name="HRDATCHKSOAP11Binding" type="axis2:HRDATCHKPortType"XX
            Xsoap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /XX
            - Xwsdl:operation name="processdate"XX
            Xsoap:operation soapAction="urn:processdate" style="document" /XX
            - Xwsdl:inputXX
            Xsoap:body use="literal" /XX
            XXwsdl:inputXX
            - Xwsdl:outputXX
            Xsoap:body use="literal" /XX
            XXwsdl:outputXX
            XXwsdl:operationXX
            - Xwsdl:operation name="processdate_XML"XX
            Xsoap:operation soapAction="urn:processdate_XML" style="document" /XX
            - Xwsdl:inputXX
            Xsoap:body use="literal" /XX
            XXwsdl:inputXX
            - Xwsdl:outputXX
            Xsoap:body use="literal" /XX
            XXwsdl:outputXX
            XXwsdl:operationXX
            XXwsdl:bindingXX
            - Xwsdl:service name="HRDATCHK"XX
            - Xwsdl:port name="HRDATCHKSOAP11port_http" binding="axis2:HRDATCHKSOAP11Binding"XX
            Xsoap:address location="http://mydomain.com:10010/web/services/HRDATCHK" /XX
            XXwsdl:portXX
            XXwsdl:serviceXX
            XXwsdl:definitionsXX --XX
            Goober
            Basic Member
            Posts: 17
            Basic Member
              Web Service Node Info:

              Service:
              Envelope
              |--(Header)
              |
              |--Body
              |processdate
              |
              |param(0)
              |--(_jobcode)
              |--_procdate<--2010-01-28

              Input:
              xxsoap:Envelope xmlns:ns="http://hrdatchk.wsbeans.iseries/xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://hrdatchk.wsbeans.iseries/xsd">
              xxsoap:Bodyxx
              xx< processdate>xx
              xxparam0xx
              xx<_PROCDATE>2010-01-28xx
              xx/param0xx
              xxxx
              xxxx
              xxxx

              output:
              Envelope
              |--(Header)
              |
              |--Body
              |processdateresponse
              |
              |return
              |--_procdate
              |--_pstatus