Do you have any question about this error?
Message type: E = Error
Message class: SPRX - Proxy Generation
Message number: 063
Message text: Proxy generation terminated: "mixed content" not supported
You used so-called "mixed content" in the interface description.
This means that the attribute mixed="true" was set for <complexType> or
<complexContent>.
A definition of this type ensures that a mixture of text and tags can
occur in the XML instance.
Example:
<Text>
Dear Mr/Mrs/Ms. <Name>Smith</Name>.
In your letter dated <Date>22.7.2001</Date> ...
</Text>
A feature of this type cannot be mapped by the proxy generation.
The system produces an error message. A proxy cannot be generated.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
SPRX063
- Proxy generation terminated: "mixed content" not supported ?The SAP error message SPRX063, which states "Proxy generation terminated: 'mixed content' not supported," typically occurs during the generation of a proxy object in SAP when there is a conflict between the content types being used. This usually happens in the context of web services, particularly when the service definition includes both SOAP and RESTful elements or when there are inconsistencies in the data types or structures defined in the WSDL (Web Services Description Language) file.
Cause:
- Mixed Content Types: The error indicates that the proxy generation process has encountered mixed content types, which means that the service definition is trying to use both XML and non-XML data types in a way that is not supported.
- WSDL Issues: There may be issues in the WSDL file, such as incorrect definitions, unsupported data types, or inconsistencies in the schema.
- Service Definition: The service might be defined in a way that does not conform to the expected standards for a single content type.
Solution:
- Review WSDL: Check the WSDL file for any inconsistencies or errors. Ensure that all data types are correctly defined and that there are no mixed content types.
- Correct Data Types: Ensure that the data types used in the service are consistent and supported by SAP. Avoid using mixed content types in the service definition.
- Regenerate Proxy: After making the necessary corrections to the WSDL or service definition, try regenerating the proxy in SAP.
- Use Correct Binding: Ensure that the correct binding (SOAP or REST) is being used consistently throughout the service definition.
- Check SAP Notes: Look for any relevant SAP Notes or documentation that may provide additional guidance or updates related to this error.
Related Information:
By addressing the issues related to mixed content types and ensuring that the service definition is consistent and compliant with SAP standards, you should be able to resolve the SPRX063 error.
Get instant SAP help. Start your 7-day free trial now.
SPRX062
Changes not allowed because of package inconsistencies
What causes this issue? For a Web Service Consumer/Provider proxy (&V1& &V2&) not all referred proxies (types, exceptions etc.) belon...
SPRX061
Proxy cannot be unlocked
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SPRX064
INCLUDE SPRX_GET_WSDL OBJECT DOKU ID TXWhat causes this issue? You used <any> or <(><<)>anyAttribute> in the interface descr...
SPRX065
Proxy generation terminated: Abstract elements/element replacements
INCLUDE SPRX_GET_WSDL OBJECT DOKU ID TXWhat causes this issue? In the interface description, you set the attribute abstract="true" or subs...
Click on this link to search all SAP messages.