SOAP Complex Types Representation
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anand_Kumar
Posted On:   Tuesday, August 6, 2002 07:28 PM

Hai,I'm using JDeveloper for developing Web Services.It works very fine with simple data types like int,string. But where as coming to Complex types it gives problem.

I have one Java Object Customer with name,designation as data members.I have written one WebService which returns this Object.But the problem is representing this Complex type in WSDL?.

How should I do it?.

Re: SOAP Complex Types Representation

Posted By:   irfan_mansha  
Posted On:   Thursday, August 29, 2002 09:28 PM

Web services deals with complex types through XML Schema. So you have to learn XML Schema for this. It is also recognized as XSD.

Re: SOAP Complex Types Representation

Posted By:   Gautam_Marwaha  
Posted On:   Tuesday, August 6, 2002 11:51 PM

Many web service tools will generate the wsdl file for you - including the complex type definitions. A Complex type can be a serializable class you have written. For e.g if you have a serializable class called "QuoteInfo" containing a string attribute called "quote" and it is used as a return type like "QuoteInfo getQuote()" then the the wsdl file would contain entries something like:

...
...

elementFormDefault="qualified" targetNamespace="java:my.package">








...
...





...
...
About | Sitemap | Contact