cancel
Showing results for 
Search instead for 
Did you mean: 

Query on IDOC to webservices scenario

Former Member
0 Kudos

Halo Gurus,

In general,if we have scenario involving webservices,we get WSDL file and use it in scenario development.

In case,if WSDL is not provided ,can anyone help me to understand how to proceed with the scenario?

Please provide more details,what are the necessary things that needs to be in place for stating a scenario that involves

webservices.

Regards,

M.Raj.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi M.Raj,

Your scenario is IDOC to WebServices, here if in case the WSDL file is not available then you could generate the wsdl file in XI Integration Directory.

Please follow the below steps,

1. Create the Data type Message type and Message interface. (Use the Data type structure as per your requirments,, lets assume you have similar structure as IDOC type and you have creaetd in Integration Repository)

2. Then do the regular mappuing and develope the other objects (Interface mapping, Integratuion scenario etc )in similar way as per any normal scenario

3. Import the integration scenario in and make the regular development in Integration directory (ID).

4. After activate all the development, in ID goto >Tools>Define WebService

5. one wizard will be open, press continue.

6. Give the Integration server SOAP Inbound channel as URL in below format

http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<communication channel>

Remember the above link is case sensitive. If party is not available use it as channel=:<><service>:<communication channel>

7. Select the Outbound Message Interface and continue.

8. give Service details and Interface details as per previous screen. (can press BACK button to see it)

9. Finish --> to generate the wsdl.

You could use this wsdl to deploy in the Webservice and can process it futrher.

If you have different wsdl in webservice then this will not work..

Thanks

Swarup

Former Member
0 Kudos

Hi Swarup,

Thank you for the information.

Please explain the step5 in detail/with example & also you have said that after defining the WSDL through Wizard,you have to deploy it in webservices.

How to deploy that WSDL in webservice?How will do that?

Regards,

M.Raj.

justin_santhanam
Active Contributor
0 Kudos

Hello Swarup,

Why he needs to create WSDL? Please see his scenario. The receiver is Webservice not the sender...

raj.

Former Member
0 Kudos

Raj,

So,from the above discussion,in case of IDOC-Webservice scenario it is mandatory to have WSDL.

However,if webservices is sender,then we can make use of wizard in ID.

Kindly suggest.

Regards,

M.R

Former Member
0 Kudos

HI Raj,

As per scenario if in case the wsdl is not available then even in receiver side also you could generate the wsdl and could deploy it in WebService in such a way that it will work as receiver end.

The Wsdl contains the structure of the request or response either it would be on receiver or sender side.

It completely depends on that how you will be deploying it in the Web Service. (It will be never easy task to achive it direclty)

Hi Mohan,

As far as I know You could use the above steps for sender and receiver side also.

Most frequently it is used if the WebService on the Sender Side and for receiver side it becomes easy to have the wsdl as well as connectivity link to directly use it.

But in case you need you could generate it for receiver end and deploy it for WebService.

The deploment of WebService as per given wsdl is not the easy task and its better you could take this concern with the Webservice technical team.

Normally for Java application based WebServices have used it.

Thanks

Swarup

Thanks

Swarup

Edited by: Swarup Sawant on Feb 4, 2008 8:59 AM

Former Member
0 Kudos

hi mohan

yes its mandatory....now tell what is present on receiver side.....if you are any predefined webservice then it must have wsdl.if you want to create your own webservice then you can also get the wsdl file that...

if u need any help for creating webservice then reply me.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Raj,

In your scenario, where a webservice is on receiver side, u need to be provided with a WSDL in ideal situation, however since you dont have the same, you should atleast have the following information:

1. URL of the webservice.

2. Name of the method which you are going to invoke in that webservice.

3. Authentication if any is required.

4. Parameters that you need to pass to the websercvice.

Once you have these, maybe you can try creating DT, MT,MI based on the input and output that you are expecting to have a headway.

Regards

Anand

Former Member
0 Kudos

Hi Mohan

as per my work exp ..and understanding ..

it is mandatory , the role of WSDL for scenario involving webservices.

i do'nt thinks so there is otherway ....

Regds

Abhishek

Former Member
0 Kudos

Thank you.

What is the use of defining webservice available at Integration directory ?Will it be useful in the above case?

Regards,

M.Raj.

justin_santhanam
Active Contributor
0 Kudos

Mohan,

As far as I know WSDL is the basic necessity to go ahed with ur development. Since WSDL contains the structure which u r gng to invoke.

raj.