ravinderjit.singh wrote:Hi Halil,
In your attached you have used the schema elements from the wsdl files.
You need to create different schema for input.I do not agree. I had the same problem with the SchemaError when trying to deploy a simple process that used Schema Elements directly from a WSDL file. The solution should not be to create a separate XSD file. Instead, the Intalio|Designer should distinguish between Schema-Definitions from XSDs and WSDLs and generate the BPEL code differently.
Here is an excerpt of the incorrectly generated code that leads to a compilation error:
| Code: : |
<wsdl:types>
<xs:schema targetNamespace="http://model.guestbook.tutorial.soa08.se.unihannover.de">
<xs:include schemaLocation="WSDL/GuestBook.wsdl"/>
</xs:schema>
</wsdl:types>
|
Of course this won't work, since a WSDL cannot be included in the WSDL schema definition section.
A fix to the problem is to move the import up right before the <xs:schema> tag and use the wsdl import instead, just like this:
| Code: : |
<wsdl:import namespace="http://model.guestbook.tutorial.soa08.se.unihannover.de" location="WSDL/GuestBook.wsdl"/>
<wsdl:types>
<xs:schema targetNamespace="http://model.guestbook.tutorial.soa08.se.unihannover.de">
</xs:schema>
</wsdl:types>
|
I hope this helps. And I think it should be easy to integrate the distinction between schema definitions from XSD and WSDL in the Designer already.
Btw, this problem still exists in Intalio|Designer 6.
Best regards,
Kai