I am working with Java Web Services. I got a task to create web service which will send the SOAP request in following format.
<CreateAccount>
I created the WSDL file with types section like
<wsdl:types>
But when I try to open WSDL url, it show
Fault - makeTypeElement() was told to create a type "{../XYZService/}>>CreateAccount>field", with no containing element
I tried Googling but not get the proper result. What is causing this and how can I fix it?
<CreateAccount>
<fieldname="name">xyz abc</field>
<fieldname="dob">1989-04-05</field>
<fieldname="phone">9999999999</field>
<fieldname="address">vvk</field>
</CreateAccount><fieldname="dob">1989-04-05</field>
<fieldname="phone">9999999999</field>
<fieldname="address">vvk</field>
I created the WSDL file with types section like
<wsdl:types>
<xsd:schema targetNamespace="abc">
</xsd:schema?<xsd:elementname="CreateAccount">
</wsdl:types><xsd:complexType>
</xsd:element><xsd:sequence>
</xsd:complexType><xsd:elementname="field"maxOccurs="3"minOccurs="0">
</xsd:sequence><xsd:complexType>
</xsd:element><xsd:simpleContent>
</xsd:complexType><xsd:extensionbase="xsd:string">
<xsd:attributetype="xsd:string"name="name"use="required"/>
</xsd:extension>
</xsd:simpleContent><xsd:attributetype="xsd:string"name="name"use="required"/>
</xsd:extension>
But when I try to open WSDL url, it show
Fault - makeTypeElement() was told to create a type "{../XYZService/}>>CreateAccount>field", with no containing element
I tried Googling but not get the proper result. What is causing this and how can I fix it?