cancel
Showing results for 
Search instead for 
Did you mean: 

Create an XI webservice and import it to the NWDS

Former Member
0 Kudos

Hi all,

i created a webservice via the "define webservice" option in XI/PI. But when i try to use it in my NWDS the following error occurs:

Exception on creation of service metadata for WSDL URL ......

I read multiple threads and blogs about defining a webservice via XI but perhaps i still made something wrong.

The XI scenario is an IDOC (ORDERS.ORDERS05) in xml format that lays on a server. By a senderagreement it is importet to XI. From there the receiver businesssystem sends it to the R3 system.

How would you create the webservice in XI? Let's say the outbound interface is called MI_ORDERS_OUT. As the inbound interface i use the IDOC "ORDERS.ORDERS05".

Sorry but i've really got no idea whats wrong with the created webservice. A pre-defined webservice like the google.wsdl works fine.

Thanks and Regards,

Steven

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi steven,

check whether you have done following steps:

IR

create interface MI_ORDERS_OUT

import IDoc structure ORDERS.ORDERS05

create the interface and message mapping

ID

Create a SOAP Adapter Sender Channel for your web service

refer to this how-go guides (from page 10)

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

Regards,

Hui

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Hui, hi Chilla

thanks for your answers but thats what i did.

At least i'm wondering why i can't import the created webservice in my NWDS. It always aborts with the error mentioned above.

Perhaps i'll describe what i did to create the webservice. The XI interface is running accordingly. But now i want to start the interface in my NWDS in a WebDynrpo application using a webservice which is created in XI.

The outbound interface is: MI_SO_IDOCTEST_ORDERS_OUT

inbound interface : ORDERS.ORDERS05

communication channel : SO_IDOCTEST_ORDERS_FILE_OUT

SOAP sender channel : SO_IDOCTEST_SOAP_OUT

(configured with interface name : MI_SO_IDOCTEST_ORDERS_OUT and

interface namespace : http://sycor/xi/sotemp02)

In "define webservice" i entered the following values:

SOAP URL : http://sygosrv02:50000/XISOAPAdapter/MessageServlet?channel=:BS_SOTEST_T:SO_IDOCTEST_SOAP_OUT

Specify the interface : MI_SO_IDOCTEST_ORDERS_OUT

the next vaules are not needed for the SOAP adapter as i understood, so i filled anything in.

Perhaps I'm trying to do a scenario that won't work in this way, but what do i have to change to make it work?

Thanks and regards,

Steven

Edit:

basicly i want to do this:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

but the import of the created XI webservice does not work. And now i have no idea why i can't even import it. Is it because of the interface message type which is of course ORDERS.ORDERS05?

Message was edited by:

Steven