Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

aem forms submission to external end point

Avatar

Avatar
Boost 3
Level 1
amitcsknit
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Validate 1
Establish
Give Back 3
Give Back
View profile

Avatar
Boost 3
Level 1
amitcsknit
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Validate 1
Establish
Give Back 3
Give Back
View profile
amitcsknit
Level 1

04-09-2020

When I submit my aem form to the external endpoint and access data at an external server-side application. It comes as an XML. Is it a normal way of working for it or I did some mistake. I was expecting data as params but I get the whole form as big XML. If wanted to use that data I need to parse the whole XML & get that data extract.

 

{jcr:data=<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<afData>
<afUnboundData>
<data>
 all data inside in different tags.
</afData

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

04-09-2020

Yes that is correct

parse that string as org.w3c document and you can extract individual values

 

Answers (4)

Answers (4)

Avatar

Avatar
Boost 3
Level 1
amitcsknit
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Validate 1
Establish
Give Back 3
Give Back
View profile

Avatar
Boost 3
Level 1
amitcsknit
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Validate 1
Establish
Give Back 3
Give Back
View profile
amitcsknit
Level 1

11-09-2020

Thanks all. my problem is solved. I had to parse XML for getting data as suggested by members. For attachments, I have used MultipartHttpServletRequest.

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

08-09-2020

What is the error 

is your external end point running in tomcat server?

are you able to submit attachments to your external end point using postman?

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

07-09-2020

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

07-09-2020

@amitcsknit Yes, you will get the xml. This document will help you understand bound and unbound data

https://docs.adobe.com/content/help/en/experience-manager-64/forms/adaptive-forms-advanced-authoring...