cancel
Showing results for 
Search instead for 
Did you mean: 

how to parse data in java web service client???

Former Member
0 Kudos

HI ALL,

We are doing SOAP to proxy sync scenario.

We have used following example

http://wiki.eclipse.org/Creating_a_Java_Web_Service_Client

We are able to send request but our java team is not able to parse the response.

When we import the wsdl

It creates following 4 methods

getEndpoint()

setEndpoint(java.lang.String)

getDealersDetail_Outb()

dealersDetail_Sync(DealersAccStmt.namespace.detail)

For response our java team has written following java code

String tempreturnp14 = dealersDetail_Sync13mtemp.toString();

System.out.println("tempreturnp14 ::"+tempreturnp14);

For this code following print out comes

DealersAccStmt.AccountStatement@c6249087

We know that we need to parse the acctstmt object but how to do that?

we are using org.apache.axis for webservice call.

experts please suggest me the way how to parse the acctstmt object ????/

Thanks,

sandeep sharma

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

my java guy has solved this issue

he parsed the data and issue resolved

Former Member
0 Kudos

Do not do toString on the response. Collect it as object and then cast it to the appropriate type. Then get the required object.

Regards,

SK