Skip to Content
avatar image
Former Member

Error: Service interface contains multiple operations

Hello to all,

I want to consume two different webservice. (I've imported both wsdl-files as external definitions.)

So I've defined a service interface with several operations.

When I try to aktivate, I get following error:

Service interface contains multiple operations whose request messages have the root tag deleteCriteria:https://www.xy.de/akz

Where is my fault?

Please ask, if you need further information.

Best regards

Christian

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 07, 2010 at 07:15 AM

    Here my imported wsdl:

    I cannot post the wsdl it won't be displayed

    My service interface has 3 operations: INSERT, UPDATE, DELETE

    Add comment
    10|10000 characters needed characters exceeded

    • There is another issue. When you want to call the web service, you will need to apply the correct SOAP action.

      You can of course fill the SOAP action dynamically in mapping, but easier would be defining three different SOAP adapter channels to set this directly in the channel properties.

      In this case you need three different service interfaces.

  • avatar image
    Former Member
    Jul 07, 2010 at 06:58 AM

    Hello Stefan,

    what is the intention of this restriction?

    By the way: If a webservice is consumed by PI, what's the type of der service interface: inbound or outbound.

    Christian

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 07, 2010 at 06:49 AM

    T least two operations in your service interface have the same root tag name. This is not allowed.

    If you have two WSDL, you should have two service interfaces also.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      is this restriction still valid in 7.3 / 7.3.1?

      For the definition of a service interface for ABAP proxies it is quite annoying. Imagine a business object-oriented service-interface with Operations like createByID, readByID, deleteByID. The input type of the operations should have the same message type. Duplicating and renaming the message types leads to redundant data structures in ESR as well as in ABAP Dictionary 😔

      Best Regards

      Chris

  • avatar image
    Former Member
    Jul 07, 2010 at 06:58 AM
    I want to consume two different webservice. 
    So I've defined a service interface with several operations.

    Two different webservices would mean two different target URLs ..... hence two different receiver channels would be required......if you create only one SI you wont be allowed to create two receiver agreements for the same inbound SI (to refer the two channels).....so at least in this case you wont be able to use the Operation feature of PI7.1

    I hope my understanding is correct!

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 07, 2010 at 07:11 AM

    I've got the same problem with one wsdl too

    Add comment
    10|10000 characters needed characters exceeded

    • Here you find it:

      	<message name="insertAkzeptanzstellenRequest">
       		<part name="akzeptanzstellen" type="tns:akzeptanzstellen"/>
       	</message>

      ...

       	<message name="updateAkzeptanzstellenRequest">
       		<part name="akzeptanzstellen" type="tns:akzeptanzstellen"/>
       	</message>

      Two operations have the same message type. This is not allowed in PI.