on 08-15-2006 9:44 AM
Hello,
I tried to create a webservice in directory and test it with XMLSpy. The szenario should just take the information out of the SOAP and write it to an file.
This blog helped me a little:
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
But when I try to call this webservice in XMLSpy he gives back an HTTP Error. I also have a Perl-Skript for testing and he said : "Header missing in SOAP-Message Header".
So what to do? The mentioned blog said, that I should use this for defining a webservice:
http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>;
But when I use the button "Propose URL" he said:
http://<server>:8000/sap/xi/engine?type=entry
So what's the channel?
Does anyone has a complete walkthrough for establishing a webservice in XI and call it from outside (preffered Java)???
Thanks
Maybe this guide will help you:
https://websmp207.sap-ag.de/~sapdownload/011000358700002953992006E/HowToUseSOAPAdapter.pdf
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The pdf was very helpful, because of this I realized, I was using the wrong URL.
But now there is another problem. I can create a SOAP out of the WSDL and send it to the XI by XMLSpy. After this, a mistake occurs although he did what he should.
The response got following mistake:
...
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>DeliveryException</code>
<text><![CDATA[
...
And in sxmb_moni:
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Das Interface-Mapping http://www.cenit.de/EC/webservice IFM_Webservice_to_File ist nicht im Laufzeit-Cache vorhanden.</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
Means, he couldn't find an interface mapping, but it exist.
Another question:
I defined the outbound soap channel as an asynchronous adapter. Because I don't use any RFC it's ok to use asynchronous mode, isn't it?
thx
It is unbelievable. Everything was activ, so I set the status of outbound channel inactiv and activ again. After this I cleared the cache (in design and directory) and it works!!!!!!!!!!
Thank you very much for your help. I will give the points immediately
greetings
chris
Message was edited by: Christian Riekenberg
Message was edited by: Christian Riekenberg
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.