Skip to main content



      Home
Home » Modeling » BPEL Designer » copy rule not checked for literals
copy rule not checked for literals [message #1424386] Mon, 15 September 2014 18:52
Eclipse UserFriend
Hi All!
I wonder when this will be resolved.
I have a following code
<bpel:assign validate="no" name="assignName">
  <bpel:copy>
    <bpel:from>
      <bpel:literal><ns0:createOrder>...</ns0:createOrder></bpel:literal>
    </bpel:from>
    <bpel:to variable="CreateOrderRequest" part="parameters" />
  </bpel:copy>
</bpel:assign>

This code generates warning of type info:
Copy rule not checked - from-spec type-of "unspecified", to-spec type-of "<xs:complexType>"

So basically there is no way to avoid warnings for the simplest hello world process.
Because you can't send any SOAP message without first initializing variable.
You are encouraging developer to just hide all warnings/infos and forget about such feature

    1. As it's not a CDATA section why compiler can't validate this piece of xml using wsdl? Can't you just wrap this xml with SOAP envelope and validate with wsdl?
    2. Is there no other way to construct SOAP message with strict validation? All tutorials suggest to use copy from xml literal (or initialize from xml literal which is the same basically). Maybe I can change wsdl/bpel somehow to enable strict validation?

[Updated on: Mon, 15 September 2014 18:55] by Moderator

Previous Topic:BPEL working from home, not working from office (same laptop, no changes)
Next Topic:Unknown Error
Goto Forum:
  


Current Time: Sun Jun 15 01:48:59 EDT 2025

Powered by FUDForum. Page generated in 1.03357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top