Skip to Content
0
Former Member
Apr 09, 2008 at 03:02 PM

WEb Service consume with different operation

39 Views

Hallo Experts,

I have to consume a webservice form XI, which has differnent operations.

The service is imported to XI through extenal definition via wsdl file

?xml version="1.0" encoding="ISO-8859-1"?>

http://schemas.xmlsoap.org/wsdl/" xmlns:xs=" http://www.w3.org/2001/XMLSchema" xmlns:tns=" http://tempuri.org/BS2000" xmlns:soap=" http://schemas.xmlsoap.org/wsdl/soap/" xmlns=" http://schemas.xmlsoap.org/wsdl/" name="BS2000" targetNamespace=" http://tempuri.org/BS2000">

<types>

http://www.w3.org/2001/XMLSchema" xmlns:tns=" http://tempuri.org/BS2000" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" elementFormDefault="unqualified" targetNamespace=" http://tempuri.org/BS2000" />

</types>

<message name="UTMECHTInput">

<part name="nb_tac" type="xs:string" />

<part name="nb_daten_laenge" type="xs:int" />

<part name="nb_daten" type="xs:string" />

</message>

<message name="UTMECHTOutput">

<part name="nb_status" type="xs:string" />

<part name="nb_status_text" type="xs:string" />

<part name="nb_upic_rc" type="xs:int" />

<part name="nb_daten1" type="xs:string" />

</message>

<message name="UTMTESTInput">

<part name="nb_tac" type="xs:string" />

<part name="nb_daten_laenge" type="xs:int" />

<part name="nb_daten" type="xs:string" />

</message>

<message name="UTMTESTOutput">

<part name="nb_status" type="xs:string" />

<part name="nb_status_text" type="xs:string" />

<part name="nb_upic_rc" type="xs:int" />

<part name="nb_daten1" type="xs:string" />

</message>

<portType name="BS2000">

<operation name="UTMECHT">

<input message="tns:UTMECHTInput" />

<output message="tns:UTMECHTOutput" />

</operation>

<operation name="UTMTEST">

<input message="tns:UTMTESTInput" />

<output message="tns:UTMTESTOutput" />

</operation>

</portType>

<binding name="BS2000" type="tns:BS2000">

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

<operation name="UTMECHT">

<soap:operation soapAction="" />

<input>

http://schemas.xmlsoap.org/soap/encoding/" namespace=" http://tempuri.org/BS2000" use="encoded" />

</input>

<output>

http://schemas.xmlsoap.org/soap/encoding/" namespace=" http://tempuri.org/BS2000" use="encoded" />

</output>

</operation>

<operation name="UTMTEST">

<soap:operation soapAction="" />

<input>

http://schemas.xmlsoap.org/soap/encoding/" namespace=" http://tempuri.org/BS2000" use="encoded" />

</input>

<output>

http://schemas.xmlsoap.org/soap/encoding/" namespace=" http://tempuri.org/BS2000" use="encoded" />

</output>

</operation>

</binding>

<service name="BS2000">

<port binding="tns:BS2000" name="BS2000">

<soap:address location="http://194.175.255.5:9003" />

</port>

</service>

</wsdl:definitions>

from there a message inrterface is defined with messages UTMTESTInput and UTMTESTOutput.

This is used in an ABAP PROXY to SOAP scenario..

Mappings are defined and work properly.

When i configure a new commuinication channel the service is called

but returns with error ' Service not found' (because the service UTMTESTInput is called

The communication channel is type SOAP ; HTTP; SOAP1.1, Integration Server and Target URL

is it possible to call the webservice with a certain operation , because there is no SOAPaction defined ?

An How to do This

Thonk you in advance

Bernhard

sorry wrong forum

question is asked in XI Forum again

Edited by: Bernhard Strasser on Apr 9, 2008 6:41 PM