ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Abel <ma...@quasiinfinitesimal.org>
Subject Calling a gsoap service from ODE
Date Thu, 27 Mar 2014 20:39:41 GMT

Hello Folks,

I'm trying to invoke a simple Web-Service that was implemented with
gsoap. For this, I'm using ODE WAR 1.3.6 together with BPEL Designer
1.0.3 on Debian Wheezy.

I have created a very simple BPEL Process, that just assigns a few
values and invokes the web-service.

Unfortunately, after trying to add my project to the Ode server with the
"Add and Remove" dialog in Eclipse I see lots of Compile errors in the
Console. It seems like something is not correct in my wsdl file. The
file is automatically generated with gsoaps soapcpp2 compiler from a
header file (I've attached all three files).

This is one of the errors:
20:54:35,042 WARN  [SchemaModelImpl] java.lang.IllegalStateException:
Schema
:http://www.w3.org/2003/05/soap-encoding:file:/home/micha/Desktop/calc_abl/Server/calc.wsdl:http://www.w3.org/2003/05/soap-encoding:http://www.w3.org/2003/05/soap-encoding
not captured

Is it possible that there is something not correct with the
soap-encoding in my wsdl?

The other error here is also somewhat strange. Is there maybe a
reference to the XSD wrong?
[UndeclaredXsdType] Attempt to reference undeclared XSD type
"{http://www.w3.org/2001/XMLSchema}double".


I'm would be happy if anybody has a suggestion or an idea what might be
wrong in my setup

Thanks in advance
Regards,

Michael


--> here is a longer snippet of the error Console log:

	at
org.apache.ode.utils.xsd.SchemaModelImpl$InternalSchemaResolver.resolveEntity(SchemaModelImpl.java:200)
	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.loadInputList(Unknown Source)
	at
org.apache.ode.utils.xsd.SchemaModelImpl.newModel(SchemaModelImpl.java:95)
	at
org.apache.ode.bpel.compiler.WSDLRegistry.getSchemaModel(WSDLRegistry.java:109)
	at
org.apache.ode.bpel.compiler.BpelCompiler.resolveXsdType(BpelCompiler.java:425)
	at org.apache.ode.bpel.compiler.BpelCompiler$2.apply(BpelCompiler.java:404)
	at org.apache.ode.bpel.compiler.BpelCompiler$2.apply(BpelCompiler.java:398)
	at org.apache.ode.utils.stl.CollectionsX.transform(CollectionsX.java:167)
	at
org.apache.ode.bpel.compiler.BpelCompiler.resolveMessageType(BpelCompiler.java:397)
	at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1422)
	at
org.apache.ode.bpel.compiler.BpelCompiler.access$1000(BpelCompiler.java:136)
	at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1172)
	at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1128)
	at
org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1168)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:741)
	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:263)
	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:333)
	at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:204)
	at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
	at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:201)
	at
org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
	at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:204)
	at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:172)
	at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:160)
	at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
	at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)
20:54:35,041 WARN  [SchemaModelImpl] null:-1
20:54:35,042 WARN  [SchemaModelImpl]
20:54:35,042 WARN  [SchemaModelImpl] java.lang.IllegalStateException:
Schema
:http://www.w3.org/2003/05/soap-encoding:file:/home/micha/Desktop/calc_abl/Server/calc.wsdl:http://www.w3.org/2003/05/soap-encoding:http://www.w3.org/2003/05/soap-encoding
not captured
20:54:35,047 ERROR [BpelC]
file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:47:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type
"{http://www.w3.org/2001/XMLSchema}double".
20:54:35,067 ERROR [BpelC]
file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:67:
error: [UndeclaredVariable] Attempt to reference undeclared variable
"CalcRequest".
20:54:35,071 ERROR [BpelC]
file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:73:
error: [UndeclaredVariable] Attempt to reference undeclared variable
"CalcRequest".
20:54:35,084 ERROR [BpelC] null:77: error: [UndeclaredVariable] Attempt
to reference undeclared variable "CalcRequest".
20:54:35,088 ERROR [ProcessStoreImpl] Deploy failed; error:
[CompilationErrors] Compilation completed with 7 error(s):
	file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:44:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}double".
	file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:45:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}double".
	file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:46:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}double".
	file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:47:
error: [UndeclaredXsdType] Attempt to reference undeclared XSD type "{http://www.w3.org/2001/XMLSchema}double".
	file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:67:
error: [UndeclaredVariable] Attempt to reference undeclared variable "CalcRequest".
	file:/usr/share/tomcat7/webapps/ode/WEB-INF/processes/NewCalcServer/Calcprocess.bpel:73:
error: [UndeclaredVariable] Attempt to reference undeclared variable "CalcRequest".
	null:77: error: [UndeclaredVariable] Attempt to reference undeclared
variable "CalcRequest".








-- 

Mit freundlichen Grüßen / Best Regards

Michael Abel

 mabel@quasiinfinitesimal.org
 mabel@bitmuster.org

 Jabber-ID:  michlx@jabber.ccc.de

 Tel. +49 (0) 711 69 31 562  (Germany)
      +49 (0) 163 639 639 4  (Mobile)


Mime
View raw message