Can somebody explain what this actually means? An example would be really helpful.
WS-I: (BP2012) A document-literal binding contains soapbind:body
elements that refer to message part elements that do not have the
element attribute.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This message is related to the WS-I Basic Profile, which attempts to clarify the subset of WSDL and other specifications that are generally interoperable.
In this case, BP2012 is associated with the following:
You would typically see this if one of the messages used in your web service is defined in terms of a
typeinstead of anelement, for example:To fix this, you will need to change your message so that the
partis defined in terms of anelement, something like:Alternatively, you may want to switch your web service from using a
document/literalbinding to using anrpc/literalbinding. With anrpc/literalbinding, parts are defined in terms of atypeinstead of anelement.