Hi,
i just created a more complicated webservice, means, receiving a
complex "order" class. This order class has many nested classes in it
as you can imagine.
I always thought that the class stucture is exposed via the wsdl but
it isnt. But when i create a more simple class (no nested classes,
only primitive attributes) and use this as method signature of my
webservice, the generated wsdl exposes the structure of the expected
parameter.
All i get is:
<xs:complexType name="order">
<xs:sequence/>
</xs:complexType>
What does this mean? Does it mean that i will have to distribute the
domain objects which are part of the contract so that the caller can
create a client? I always thought the wsdl tells everything about my
services and expected structures.... Currently no one should be able
to create an apropriate client for my webservice, especially not my
primary testing tool SoapUI.
Note: i just used the java-ws annotations for webservices classes and
methods. I also named the parameters via @WebParam.
--
Marc Logemann
blog http://logemannreloaded.blogspot.com
privat http://www.logemann.org