Hi,

This is Hari. I am PHP programmer. I am writing PHP SOAP server
programme. 

In WSDL file I mentioned the tags like 
<xs:complexType name="Body">
        <xs:choice>
          <xs:element ref="NewMedicine"/>
          <xs:element ref="RequestForMedicine"/>
          ................

I am using PHP 5.0.1.  

I am getting error like
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
Schema: unresolved element 'ref' attribute

Here when I use name instead ref no error. but this is not correct.
I hope PHP is not considering the ref attribute while creating the object.

Please help me to solve this problem.

Thanks in advance

Hari.

Reply via email to