Re: Element tag before complex type

2005-10-24 Thread Anne Thomas Manes
Axis will generate the elements if you request style=document or
style=wrapped. It won't generate the elements if you request
style=rpc or if you don't specify a style. (rpc is the default)

AnneOn 10/18/05, Pujari, Ashish (CONT) [EMAIL PROTECTED] wrote:











I created WSDL1 using Axis and it works
fine. However, the Weblogic scripts (it seems) need an xsd which looks
like the one in WSDL2.

Are these two WSDLs different because of the element tag ? 

How to create such a WSDL ?


WSDL1

wsdl:types 

 schema targetNamespace=http://mytarget.com xmlns=
http://www.w3.org/2001/XMLSchema 

 import namespace=http://schemas.xmlsoap.org/soap/encoding/
 / 

  complexType name=MyComplexObject 

WSDL2

wsdl:types 

 schema targetNamespace=http://mytarget.com xmlns=
http://www.w3.org/2001/XMLSchema 

 import namespace=http://schemas.xmlsoap.org/soap/encoding/
 / 

 s:element name=MyComplexObject 



 complexType 

Thanks in advance. 







Re: Element tag before complex type

2005-10-19 Thread Bhuvan Gupta
Title: Element tag before complex type



Ashish, 

Go through Schema(XSD) and WSDL tutorials on www.w3schools.org. 
This'll clarify your doubts. 

Thanks
Bhuvan

  - Original Message - 
  From: 
  Pujari, Ashish (CONT) 
  To: axis-user@ws.apache.org 
  Sent: Wednesday, October 19, 2005 2:46 
  AM
  Subject: Element tag before complex 
  type
  
  I created WSDL1 using Axis and it works fine. 
  However, the Weblogic scripts (it seems) need an xsd which looks like the one 
  in WSDL2.
  Are these two WSDLs different because of the 
  element tag ? How to create such a 
  WSDL ? 
  WSDL1 wsdl:types 
   schema targetNamespace="http://mytarget.com" xmlns="http://www.w3.org/2001/XMLSchema" 
   import namespace="http://schemas.xmlsoap.org/soap/encoding/" 
  /  
   complexType name="MyComplexObject" WSDL2 wsdl:types 
   schema targetNamespace="http://mytarget.com" xmlns="http://www.w3.org/2001/XMLSchema" 
   import namespace="http://schemas.xmlsoap.org/soap/encoding/" 
  /  s:element name="MyComplexObject" 
   
   
   complexType  
  Thanks in advance. 



Element tag before complex type

2005-10-18 Thread Pujari, Ashish \(CONT\)
Title: Element tag before complex type







I created WSDL1 using Axis and it works fine. However, the Weblogic scripts (it seems) need an xsd which looks like the one in WSDL2.

Are these two WSDLs different because of the element tag ? 

How to create such a WSDL ?


WSDL1

wsdl:types 

 schema targetNamespace=http://mytarget.com xmlns=http://www.w3.org/2001/XMLSchema 

 import namespace=http://schemas.xmlsoap.org/soap/encoding/ / 

  complexType name=MyComplexObject 

WSDL2

wsdl:types 

 schema targetNamespace=http://mytarget.com xmlns=http://www.w3.org/2001/XMLSchema 

 import namespace=http://schemas.xmlsoap.org/soap/encoding/ / 

 s:element name=MyComplexObject 

   complexType 

Thanks in advance.