cancel
Showing results for 
Search instead for 
Did you mean: 

Define Webservice. SOAP Problem

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos
Former Member
0 Kudos

Looks interesting. I will check it.

Thank you.

Message was edited by: Christian Riekenberg

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks Stefan for an excellent link.

stefan_grube
Active Contributor
0 Kudos

Your object are not activated or the cache refresh has not finished.

Maybe you activate them again.

Regards

Stefan

Former Member
0 Kudos

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

Former Member
0 Kudos

Christian,

I am having same problem. What URL u used in traget URL? What u mentioned in SOAP Action? And Whats the SAOP Channel is it Reciever or Sendor?

Answers (0)