ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » I cant understand why binding is wrong(wsdl)

Post new topic  Reply to topic
 I cant understand why binding is wrong(wsdl) « View previous topic :: View next topic » 
Author Message
smerjfo
PostPosted: Thu Jun 23, 2022 7:03 am    Post subject: I cant understand why binding is wrong(wsdl) Reply with quote

Newbie

Joined: 23 Jun 2022
Posts: 4

Hi,

Most likely not WMB related but WS 101, however I don't understand why this WSDL file gives below error when I import it in a message set.

WS-I: (BP2118) The wsdl:binding does not have the same list of wsdl:operations as the wsdl:portType to which it refers.

IMHO both the wsdl:portType and the wsdl:binding have the same operation setup.
I removed links,because it's my first post

Code:
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="" name="internetBank" xmlns:sch="" xmlns:soap12="">
    <wsdl:documentation>
        <wsdl:appinfo source="WMQI_APPINFO">
            <MRWSDLAppInfo imported="true">
                <binding hasEncoding="false" imported="true" name="internetBankBinding" originalBindingStyle="document"/>
            </MRWSDLAppInfo>
        </wsdl:appinfo>
    </wsdl:documentation>


    <wsdl:types>
        <xsd:schema xmlns:xsd="">
            <xsd:import namespace="" schemaLocation="schemas/schemaInternetBank.xsd"/>
        </xsd:schema>
    </wsdl:types>

    <wsdl:message name="OpenDepositRequest">
        <wsdl:part element="sch:addDeposit" name="addDeposit"/>
    </wsdl:message>

    <wsdl:message name="OpenDepositResponse">
        <wsdl:part element="sch:addDepositRs" name="addDepositRs"/>
    </wsdl:message>

    <wsdl:message name="CloseDepositRequest">
        <wsdl:part element="sch:closeDeposit" name="closeDeposit"/>
    </wsdl:message>

    <wsdl:message name="CloseDepositResponse">
        <wsdl:part element="sch:closeDepositRs" name="closeDepositRs"/>
    </wsdl:message>

    <wsdl:message name="listDepositsRequest">
        <wsdl:part element="sch:listDeposits" name="listDeposits"/>
    </wsdl:message>

    <wsdl:message name="listDepositsResponse">
        <wsdl:part element="sch:listDepositsRs" name="listDepositsRs"/>
    </wsdl:message>


    <wsdl:portType name="internetBankPort">
        <wsdl:operation name="OpenDeposit">
            <wsdl:input message="OpenDepositRequest" name="OpenDepoReq"/>
            <wsdl:output message="OpenDepositResponse" name="OpenDepoRes"/>
        </wsdl:operation>
        <wsdl:operation name="CloseDeposit">
            <wsdl:input message="CloseDepositRequest" name="CloseDepoReq"/>
            <wsdl:output message="CloseDepositResponse" name="CloseDepoRes"/>
        </wsdl:operation>
        <wsdl:operation name="listDeposit">
            <wsdl:input message="listDepositsRequest" name="listDepoReq"/>
            <wsdl:output message="listDepositsResponse" name="listDepoRes"/>
        </wsdl:operation>
    </wsdl:portType>


    <wsdl:binding name="internetBankBinding" type="internetBankPort">
        <soap12:binding style="document" transport=""/>

        <wsdl:operation name="OpenDeposit">
            <soap12:operation soapAction="" soapActionRequired="true"/>

            <wsdl:input>
                <soap12:body encodingStyle="" namespace="" parts="OpenDepoReq" use="literal"/>
            </wsdl:input>

            <wsdl:output>
                <soap12:body encodingStyle="" namespace="" parts="OpenDepoRes" use="literal"/>
            </wsdl:output>

        </wsdl:operation>

        <wsdl:operation name="CloseDeposit">
            <soap12:operation soapAction="" soapActionRequired="true"/>

            <wsdl:input>
                <soap12:body encodingStyle="" namespace="" parts="CloseDepoReq" use="literal"/>
            </wsdl:input>

            <wsdl:output>
                <soap12:body encodingStyle="" namespace="" parts="CloseDepoRes" use="literal"/>
            </wsdl:output>
        </wsdl:operation>

        <wsdl:operation name="listDeposit">
            <soap12:operation soapAction="" soapActionRequired="true"/>

            <wsdl:input>
                <soap12:body encodingStyle="" namespace="" parts="listDepoReq" use="literal"/>
            </wsdl:input>

            <wsdl:output>
                <soap12:body encodingStyle="" namespace="" parts="listDepoRes" use="literal"/>
            </wsdl:output>

        </wsdl:operation>
    </wsdl:binding>


    <wsdl:service name="internetBank">
        <wsdl:port binding="internetBankBinding" name="internetBankSOAP12">
            <soap12:address location=""/>
        </wsdl:port>
    </wsdl:service>


</wsdl:definitions>
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Thu Jun 23, 2022 9:54 pm    Post subject: Re: I cant understand why binding is wrong(wsdl) Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

hi...try validating the wsdl first using custom tools or online to spot any issues with it
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » I cant understand why binding is wrong(wsdl)
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.