cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive web service model in 7.2 CE for web services with ANY tag

Former Member
0 Kudos

Hi All,

I am trying to consume an external web service in WDJ application by means of Adaptive web service model. The web service is from .net platform and has ANY tag for one of the input parameter. This parameter is recognised as org.w3c.dom.Element in my model and it is expecting a complex xml tag for example

<Batch>

<Method>

<Field>value1</Field>

<Field>value2</Field>

</Method>

</Batch>

to be passed through it. Please let me know how to create and set this complex xml tag to the input parameter of type org.w3c.dom.Element in the web service model.

Any pointers on this will be of great help.

Thanks & Regards,

Vishweshwara P.K.M.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi vishweshwara,

Please refer the code sample given in this [wiki|http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService]

Hope this helps you.

Regards,

Saleem Mohammad.

Answers (1)

Answers (1)

Former Member
0 Kudos

Resolved. Even though Adaptive web service model in CE 7.2, supports Web services with ANY tag, it dose not take the attribute values defined inside the tags. So consumed the web service in EJB and then used this EJB in WDJ application.