Skip to Content
0
Former Member
Nov 30, 2005 at 08:50 AM

Web Services and complex type

54 Views

Hi all,

I use a web service with complex type output and a simple type as input. In this case there's no problems to call it in my web dynpro application.

When I use a ws with input complex type I have difficult to create this structure with classes created in WD model.

For example the Web service input is:

structure

attribute1

attribute2

table1

That in xml is:

<root>

<structure>

<attribute1/>

<attribute2/>

<table1>

<attribute4>

<attribute4>

</table1>

</structure>

</root>

Model generates 2 complex types ComplexType_structure and Complex_Type_table1. I bind this structures to the context of custom controller and I'm trying to populate them. But at runtime I have this error:

element table1 must exist and can not be null.

Any ideas?

If anybody is interested I can publish wsdl and web service to internet.

Thanks

Andrea