Hi Andres,
Can't I keep multiple BPEL files and the related WSDL files in a single
folder?
I have three BPEL files and three WSDL files of them. I'm invoking two
services through one of the BPEL file(through Partner links and Messages).
Is it wrong?
Regards,
Ratha.
Andres P. Ferrando wrote:
Hi Ratha,
I don't want to add noise here. I see that your wsdl files have
cross-references. I'm not sure if ODE can handle this.
Regards,
ratha wrote:
Hi Matthieu,
Yap that error was in my bpel.file and i got it during my compilation.
And now i removed that message.wsdl file from my process. But now I'm
facing an 'StackOverflow Error'.
I dont know why it occurs.. :-( . I have attached my files here, Pls can
you go thru it, whether my approach is right?
Thanks.
Rgds,
Ratha.
Matthieu Riou wrote:
On Tue, Oct 28, 2008 at 8:40 PM, ratha <[EMAIL PROTECTED]> wrote:
Hi all,
I'm creating a sample loanprocess in ode(common one). Where I have two
invoke services. So I have created three bpel files and I'm using
only one
wsdl file, where I defined all three port types and bindings.
For the binding operations I use Document/literal binding. So , I have
created another schema files to define elements and types and one
wsdl file
where i define the 'Messages' for parts.
When i invoke a service it says "/*[VariableTypeMismatch] The variable
"approval" must be of type "{http://loanProcess}approveResponse" to be
used in this context; its actual type is "{
http://www.example.org/messages/}approveResponse*/<http://www.example.org/messages/%7DapproveResponse*/>
".
This message can only happen during compilation so I'm guessing you
get this
on deployment? Also it's probably more related to your BPEL than to your
WSDL (probably the declaration of a variable used in an invoke or
reply) so
if you could provide your BPEL files as well that would be cool. While
you're at it, providing whole documents instead of fragments is actually
easier to track down :)
Thanks,
Matthieu
Here /*http://loanProcess:- */is my service target name space.
/*http://www.example.org/messages:- */is my messages.wsdl file's target
name space./*
*/I imported all the files(wsdl and schema) to all bpel files. I dont
know
why above mentioned error occurs? I defined message for
"approveResponse" at
the wsdl file..Is my approach wrong?
Any assistance would be really helpful.
Thanks,
Ratha.
The followingsare my files,
*_Process wsdl file(This my wsdl file using for all services{part of the
wsdl})
_* <schema xmlns="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="http://loanProcess">
<element name="approveResponse">
<complexType>
<sequence>
<element name="out" type="string"/>
</sequence>
</complexType>
</element>
</schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.example.org/elements"
schemaLocation="elements.xsd">
</xsd:import>
</xsd:schema>
<message name="approveResponse">
<part element="xsd:loanApprovalresponse" name="Document" />
</message>
*_
messages.wsdl file
_*<wsdl:definitions name="messages"
targetNamespace="http://www.example.org/messages/" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.example.org/messages/" xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:loan="
http://www.example.org/elements">
<wsdl:types>
<xsd:schema elementFormDefault="qualified">
<xsd:import
namespace="http://www.example.org/elements"
schemaLocation="elements.xsd">
</xsd:import>
</xsd:schema>
</wsdl:types>
<wsdl:message name="approveResponse">
<wsdl:part element="loan:loanApprovalresponse" name="Document"/>
</wsdl:message>
</wsdl:definitions>
_*elements.xsd file
*_<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.org/elements"
xmlns:tns="http://www.example.org/elements"
elementFormDefault="qualified">
<element name="loanProcessRequest" type="tns:LoanProcessRequest"
</element>
<complexType name="LoanProcessRequest" >
<sequence>
<element name="FirstName">
<simpleType>
<restriction base="string">
<minLength value="1"></minLength>
<maxLength value="10"></maxLength>
</restriction>
</simpleType>
</element>
..............................................................................
.............................................................................*_
_*
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database:
270.8.4/1754 - Release Date: 10/29/2008 7:45 AM
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.5/1755 - Release Date: 10/29/2008 5:27 PM