[60777] in SAPr3-news

home help back first fref pref prev next nref lref last post

Re: SOAP Aufruf: service Eintrag in WSDL fehlt

daemon@ATHENA.MIT.EDU (Thomas Guettler)
Fri Apr 4 10:24:27 2008

To: sapr3-news@mit.edu
Date: Fri, 04 Apr 2008 16:23:22 +0200
From: Thomas Guettler <hv@tbz-pariv.de>
Message-ID: <65mruqF2f65j4U1@mid.individual.net>

Ich habe nun die WSDL Datei mir angeschaut und versucht einen passenden Aufruf
zu erstellen:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Header />
  <SOAP:Body>
   <BAPI_BCONTACT_CREATEFROMDATA xmlns="urn:sap-com:document:sap:rfc:functions">
   ...

Leider erhalte ich folgende Fehlermeldung:

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
   <SOAP:Body>
     <SOAP:Fault>
       <faultcode>SOAP:Server</faultcode>
       <faultstring>Server Error</faultstring>
       <detail>
         <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
           <context>XIAdapter</context>
           <code>MalformedMessageException</code>
           <text><![CDATA[
Unexpected content in SOAP:Envelope; nested exception caused by:
com.sap.aii.messaging.util.XMLScanException: Unexpected content in SOAP:Envelope
  ...

Hat jemand einen Tipp?

Thomas Guettler schrieb:
> Hallo,
> 
> ich habe in einer WSDL Beschreibung den Aufruf für
> eine Funktion mittels XI bekommen. Wenn ich diese
> Datei versuche einzulesen bekomme ich immer den Fehler,
> dass kein Eintrag für 'service' vorhanden ist.
> 
> Ich habe es mit apache axis2 und einem Python Modul
> versucht.
> 
> Es handelt sich um die Funktion BAPI_BCONTACT_CREATEFROMDATA.
> 
> Irgendwie ist mir nicht klar, wie ich nun einen passenden
> Aufruf erstellen kann.
> 
> Hat jemand einen Tipp?
> 
> 


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

home help back first fref pref prev next nref lref last post