Hello,
I am getting following exception in JBoss:
org.jboss.ws.WSException: Cannot obtain attribute:
{http://schemas.xmlsoap.org/soap/encoding/}arrayType
This error is related to Array in WSDL.
My WSDL code is like this:
<schema targetNamespace="urn:ConnEx"
xmlns="http://www.w3.org/2001/XMLSchema">
| <import namespace="urn:connex:api:mapi"/>
| <import
namespace="http://xml.apache.org/xml-soap"/>
| <import namespace="urn:connex:impl:mapi"/>
| <import namespace="urn:connex:api:value"/>
| <import namespace="urn:connex:api:exception"/>
| <import
namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
| <complexType name="ArrayOf_xsd_anyType">
| <complexContent>
| <restriction base="soapenc:Array">
| <attribute ref="soapenc:arrayType"
wsdl:arrayType="xsd:anyType[]"/>
| </restriction>
| </complexContent>
| </complexType>
| <complexType name="ArrayOf_tns6_PBMapiProperty">
| <complexContent>
| <restriction base="soapenc:Array">
| <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns6:PBMapiProperty[]"/>
| </restriction>
| </complexContent>
| </complexType>
| <complexType name="ArrayOf_tns2_IContact">
| <complexContent>
| <restriction base="soapenc:Array">
| <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns2:IContact[]"/>
| </restriction>
| </complexContent>
| </complexType>
| </schema>
Is there anything missing in my WSDL?
What is the solution to this problem?
Thanks in advance
Vishnu
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962349#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...