Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

WSDL2Java error: anyType is reffered but not defined. 
 
akoval
Member
 
Total Posts:  50
Joined:  2011-03-19
 

If is interesting for somebody.

After upgrade Magento 1.6.2 to 1.7.0 I try to generate java classes with Axis-1.4 (WSDL2Java) and get error “anyType is referred but not defined”.

After changing in the app/code/core/Mage/Api/etc/wsdl2.xml

the line 37

<element name="value" type="typens:anyType" />
to
<element name="value" type="xsd:anyType" />

everything is ok.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top