i create a small webservice for WL adapter. i.e it shows “Hello World” in plain text format. I went through the training module how to use SOAP envelop inside the adapter. but this is different. I attach my code in jpeg frmt. any Suggestion please kindly let me know.
There is anyother sample to call WSDL inside the adapter? Further details i have attach this link Ref
i create a small webservice for WL adapter. i.e it shows Hello World in
Share
You hare mixing things together.
If you are using a web service that return a text why do you need SOAP?
SOAP is usually used to retrieve XML data.
Your returned content type should be plain.
You do not need to build a SOAP envelope, and if you do need to build one, it should not be a string, it should be an XML object (ignore the Eclipse error message).