Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Content of the page are truncated

Nguyen Duy Vu April 1, 2015

When i call getPage() SOAP method, the content always truncated.

ConfluenceSoapServiceProxy cf = new ConfluenceSoapServiceProxy();

String token = "sdf234234";

Long pageId = 123123;

RemotePage page = null;
try {
       page = cf.getPage(token, Long.parseLong(pageId));
} catch (Exception e) {
}

 

The result when I get page content something link: <p><ac:structured-macro ac:name="children" /></p>

Anyone know this issue please help me.

Many thanks

2 answers

0 votes
Nguyen Duy Vu April 2, 2015

Can I have only content in JSON ?

0 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2015

Are you trying to get the XML markup, or are you trying to get the output? If you want the HTML, then you need to use renderContent. Is there other content on the page besides a list of children?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events