Hi,
This is I'm getting

Thanks.

FATAL - GeronimoLog.fatal(120) | Encountered an unexpected error. Exiting poller...
java.lang.StackOverflowError
   at java.io.InputStream.<init>(Unknown Source)
   at java.io.FileInputStream.<init>(Unknown Source)
   at java.io.FileInputStream.<init>(Unknown Source)
   at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
   at java.net.URL.openStream(Unknown Source)
at org.apache.ode.bpel.compiler.DefaultResourceFinder.openResource(DefaultResourceFinder.java:81) at org.apache.ode.bpel.compiler.WsdlFinderXMLEntityResolver.resolveEntity(WsdlFinderXMLEntityResolver.java:105) at org.apache.ode.utils.xsd.CapturingXMLEntityResolver.resolveEntity(CapturingXMLEntityResolver.java:72)
   at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
   at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
   at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
   at org.apache.xerces.impl.xs.XMLSchemaLoader.load(Unknown Source)
   at org.apache.ode.utils.xsd.XSUtils.captureSchema(XSUtils.java:121)
   at org.apache.ode.utils.xsd.XSUtils.captureSchema(XSUtils.java:88)
at org.apache.ode.bpel.compiler.WSDLRegistry.captureSchemas(WSDLRegistry.java:205) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:140) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177) at org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:177)
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


Reply via email to