Application Development and Automation Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
17,248
In ideal scenario your middle-ware should have a listener for your outbound IDOC port. In case you don’t have and you need to expose your outbound IDOC as a service then you can use it.

  1. Create a WSDL of the IDOC

  2. Create Proxy of the WSDL

  3. Process the incoming message and post IDOC


Advantages over RFC web services:

  • IDOC gets created in the runtime so we can avoid making all the DB queries to build the business logic (like we do in RFC’s).

  • It will be faster than RFC’s as all the data is already staged in IDOC. It gets the data from IDOC and sends it as response

  • No empty tags as we see in RFC based web services. It will reduce the payload significantly

  • JSON will reduce the payload even further making the overall performance better


OUTPUT example



 

JSON



 

6 Comments
joykrdey
Explorer
0 Kudos
Good Thought. Thanks for sharing!
rajat_verma3
Explorer
0 Kudos
Hi Amaresh,

Very helpful Blog!

I got the exactly same requirement, Could you please share (to below email) the code attachment or any document.

Best Regards,

Rajat Verma

rajatverma547@gmail.com
former_member301658
Discoverer
0 Kudos
Hi Amaresh,

We need to apply the same solution.

I would appreciate if you could send the documentation or procedure to perform the first steps in the mail below

 

  1. Create a WSDL of the IDOC

  2. Create Proxy of the WSDL


 

Thanks in advance,

Best regards

Diego

martinezdiegoluis@gmail.com
Former Member
0 Kudos
Hello amaresh,

thanks for your idea. This is very useful in all kind of scenarios where data in IDoc format needs to be read by an external application. But could you explaine a little bit more precise how exact to achive the proposed solution? How exactly do we obtain the WebService which can be called and returns the idoc data?
kking724
Newcomer
0 Kudos
Hi Amaresh,

Would you be able to share the above code samples with me? This would be greatly appreciated!

My email is : kylevking1@gmail.com

Thanks,

Kyle

 
0 Kudos
Very helpful Blog!

I got the exactly same requirement, Could you please share  the code attachment or any document to email - lrsarada@gmail.com

Best Regards,

Lakhan

 
Labels in this area