Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle BPEL: Stuck on No "wsdl:input" message exist on portType error

vrsbrazilMay 16 2014 — edited Feb 26 2020

Hello,

    I am sutck on an error that Im getting on BPEL and any help is appreciated the erros are:

  • Error(196): No "wsdl:input" message exist on portType "tns:ProtocoloAtendimento" with operation "GerarCodigoProtocoloAtendimento".
  • Error(196): !!BPELC_PA__OMIT! [0=java.lang.IllegalArgumentException: Choice Pattern incorrect: 0#node <{4}> |2#attribute "{4}",1=java.lang.IllegalArgumentException,2={2},3={3},4={4},5={5}]

  This is happening as I am trying to call the operation GerarCodigoProtocoloAtendimento on a WebService Adapter based on the following WSDL:

<wsdl:definitions name="ProtocoloAtendimento"

    targetNamespace="http://client/ProtocoloAtendimento"

    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://client/ProtocoloAtendimento"

    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

    xmlns:erro="http://client/commons/v1" xmlns:cab="http://client/commons/v1"

    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">

    <wsdl:types>

        <xsd:schema targetNamespace="http://client/ProtocoloAtendimento">

            <xsd:include schemaLocation="oramds:/apps/Negocio/ProtocoloAtendimento/V1/schema/ProtocoloAtendimento.xsd" />

        </xsd:schema>

        <xsd:schema>

            <xsd:import

                schemaLocation="oramds:/apps/ModeloCanonico/seplag/commons/v1/ErroInfo.xsd"

                namespace="http://client/commons/v1" />

            <xsd:import

                schemaLocation="oramds:/apps/ModeloCanonico/seplag/commons/v1/CabecalhoSeplag.xsd"

                namespace="http://client/commons/v1" />

        </xsd:schema>

    </wsdl:types>

    <wsdl:message name="ParametroEmitirProtocoloAtendimentoRequest">

        <wsdl:part element="tns:ParametroEmitirProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ResultadoEmitirProtocoloAtendimentoResponse">

        <wsdl:part element="tns:ResultadoEmitirProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ParametroAtualizarProtocoloAtendimentoRequest">

        <wsdl:part element="tns:ParametroAtualizarProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ResultadoAtualizarProtocoloAtendimentoResponse">

        <wsdl:part element="tns:ResultadoAtualizarProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ParametroObterProtocoloAtendimentoRequest">

        <wsdl:part element="tns:ParametroObterProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ResultadoObterProtocoloAtendimentoResponse">

        <wsdl:part element="tns:ResultadoObterProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ParametroGerarCodigoProtocoloAtendimentoRequest">

        <wsdl:part element="tns:ParametroGerarCodigoProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ResultadoGerarCodigoProtocoloAtendimentoResponse">

        <wsdl:part element="tns:ResultadoGerarCodigoProtocoloAtendimento"

            name="parameters" />

    </wsdl:message>

    <wsdl:message name="ErroInfoMessage">

        <wsdl:part element="erro:erroInfo" name="parameters" />

    </wsdl:message>

    <wsdl:message name="CabecalhoSeplagMessage">

        <wsdl:part type="cab:CabecalhoSeplag" name="cabecalho" />

    </wsdl:message>

    <wsdl:portType name="ProtocoloAtendimento">

        <wsdl:operation name="EmitirProtocoloAtendimento">

            <wsdl:input message="tns:ParametroEmitirProtocoloAtendimentoRequest" />

            <wsdl:output message="tns:ResultadoEmitirProtocoloAtendimentoResponse" />

            <wsdl:fault name="erroInfo" message="tns:ErroInfoMessage" />

        </wsdl:operation>

        <wsdl:operation name="AtualizarProtocoloAtendimento">

            <wsdl:input message="tns:ParametroAtualizarProtocoloAtendimentoRequest" />

            <wsdl:output message="tns:ResultadoAtualizarProtocoloAtendimentoResponse" />

            <wsdl:fault name="erroInfo" message="tns:ErroInfoMessage" />

        </wsdl:operation>

        <wsdl:operation name="ObterProtocoloAtendimento">

            <wsdl:input message="tns:ParametroObterProtocoloAtendimentoRequest" />

            <wsdl:output message="tns:ResultadoObterProtocoloAtendimentoResponse" />

            <wsdl:fault name="erroInfo" message="tns:ErroInfoMessage" />

        </wsdl:operation>

        <wsdl:operation name="GerarCodigoProtocoloAtendimento">

            <wsdl:input message="tns:ParametroGerarCodigoProtocoloAtendimentoRequest" />

            <wsdl:output message="tns:ResultadoGerarCodigoProtocoloAtendimentoResponse" />

            <wsdl:fault name="erroInfo" message="tns:ErroInfoMessage"></wsdl:fault>

        </wsdl:operation>

    </wsdl:portType>

    <wsdl:binding name="ProtocoloAtendimentoSOAP" type="tns:ProtocoloAtendimento">

        <soap:binding style="document"

            transport="http://schemas.xmlsoap.org/soap/http" />

        <wsdl:operation name="EmitirProtocoloAtendimento">

            <soap:operation

                soapAction="http://client/ProtocoloAtendimento/EmitirProtocoloAtendimento" />

            <wsdl:input>

                <!-- wsp:Policy> <wsp:PolicyReference URI="policy:Auth.xml"/> </wsp:Policy -->

                <soap:header wsdl:required="true" use="literal" part="cabecalho"

                    message="tns:CabecalhoSeplagMessage" />

                <soap:body use="literal" />

            </wsdl:input>

            <wsdl:output>

                <soap:body use="literal" />

            </wsdl:output>

        </wsdl:operation>

        <wsdl:operation name="AtualizarProtocoloAtendimento">

            <soap:operation

                soapAction="http://client/ProtocoloAtendimento/AtualizarProtocoloAtendimento" />

            <wsdl:input>

                <!-- wsp:Policy> <wsp:PolicyReference URI="policy:Auth.xml"/> </wsp:Policy -->

                <soap:header wsdl:required="true" use="literal" part="cabecalho"

                    message="tns:CabecalhoSeplagMessage" />

                <soap:body use="literal" />

            </wsdl:input>

            <wsdl:output>

                <soap:body use="literal" />

            </wsdl:output>

        </wsdl:operation>

        <wsdl:operation name="ObterProtocoloAtendimento">

            <soap:operation

                soapAction="http://client/ProtocoloAtendimento/ObterProtocoloAtendimento" />

            <wsdl:input>

                <soap:header wsdl:required="true" use="literal" part="cabecalho"

                    message="tns:CabecalhoSeplagMessage" />

                <soap:body use="literal" />

            </wsdl:input>

            <wsdl:output>

                <soap:body use="literal" />

            </wsdl:output>

        </wsdl:operation>

        <wsdl:operation name="GerarCodigoProtocoloAtendimento">

            <soap:operation

                soapAction="http://client/ProtocoloAtendimento/GerarCodigoProtocoloAtendimento" />

            <wsdl:input>

                <soap:header wsdl:required="true" use="literal" part="cabecalho"

                    message="tns:CabecalhoSeplagMessage"></soap:header>

                <soap:body use="literal" />

            </wsdl:input>

            <wsdl:output>

                <soap:body use="literal" />

            </wsdl:output>

        </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name="ProtocoloAtendimento">

        <wsdl:port binding="tns:ProtocoloAtendimentoSOAP" name="ProtocoloAtendimentoSOAP">

            <soap:address location="http://server/V1/ProtocoloAtendimento" />

        </wsdl:port>

    </wsdl:service>

</wsdl:definitions>

Thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2014
Added on May 16 2014
2 comments
2,293 views