[ 
http://issues.apache.org/jira/browse/AXIS2-1150?page=comments#action_12439048 ] 
            
Thilina Gunarathne commented on AXIS2-1150:
-------------------------------------------

Hi Deepal,
I could not recreate your issue...I assume it's  
elementFormDefault="unqualified", since it's not allowed to have value "false".

I tried with the wsdl #2 given in 
http://issues.apache.org/jira/browse/AXIS2-720  using a XMLBeans generated 
service and a ADB generated Client.. It worked well...
Following is the request sent by ADBClient in the case of  
elementFormDefault="unqualified", which looks correct to me..

<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Header />
      <soapenv:Body>
         <ns1:predictLocalizationRequest 
xmlns:ns1="http://org.apache.axis2/xsd";>
            <sequence>bar</sequence>
            <organism>foo</organism>
         </ns1:predictLocalizationRequest>
      </soapenv:Body>

FYI: I too found attributeFormDefault=unqualified broken...
   </soapenv:Envelope>

> ADB does not handle elementFormDefault correctly
> ------------------------------------------------
>
>                 Key: AXIS2-1150
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1150
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Deepal Jayasinghe
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>
> I generate stub for the WSDL which has elementFormDefault=false , but when I 
> send the request I found that it send the qualified element. I think this is 
> a bug  and need to fix before 1.1
> FYI : when code gen for the same wsdl using xmlbeans it works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to