You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Nawaz Khurshid <kh...@fbk.eu> on 2008/10/01 16:15:16 UTC
Testing Issue on Service Mix
Dear Sir,
I am new user to ODE, I have created the attached BPEL process, its is being deployed and tested on glassfish server, its working fine. I have here tried to deployed it on servicemix 3.2 ESB. I got no error in deployment.
The problem occur when i try to send a soap message to this engine. I got following response which is different from the normal response received while testing it on glassfish.
=========================================================
C:\ODE\apache-ode-jbi-1.2\examples\VTA>ant test
Buildfile: build.xml
init-extensions:
validate-ode-home:
fail-invalid-ode-home:
try-ENV-java-underscore-home:
try-jdk-dot-home:
try-java-dot-home:
[echo] 'ode.java.home' not set trying 'java.home'
fail-no-ode-java-home:
validate-ode-java-home:
fail-invalid-ode-java-home:
base.init:
[echo] ode.home = C:\ODE\apache-ode-jbi-1.2
[echo] ode.java.home = C:\java5\jdk\jre
init:
test:
init-extensions:
validate-ode-home:
fail-invalid-ode-home:
try-ENV-java-underscore-home:
try-jdk-dot-home:
try-java-dot-home:
fail-no-ode-java-home:
validate-ode-java-home:
fail-invalid-ode-java-home:
base.init:
[echo] ode.home = C:\ODE\apache-ode-jbi-1.2
[echo] ode.java.home = C:\java5\jdk\jre
init:
_sendsoap:
[echo] ode.sendsoap.url=http://localhost:8080/vta/
[echo] ode.sendsoap.filename=C:\ODE\apache-ode-jbi-1.2\examples\VTA\vta.soa
p
[exec] <html>
[exec] <head>
[exec] <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859
-1"/>
[exec] <title>Error 404 NOT_FOUND</title>
[exec] </head>
[exec] <body>
[exec] <h2>HTTP ERROR: 404</h2><pre>NOT_FOUND</pre>
[exec] <p>RequestURI=/vta/</p>
[exec] <p><i><small><a href="http://jetty.mortbay.org">Powered by jetty://<
/a></small></i></p>
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec] </body>
[exec] </html>
[exec]
[exec]
BUILD SUCCESSFUL
Total time: 1 second
C:\ODE\apache-ode-jbi-1.2\examples\VTA>
=======================================================================
This response i get after running the following target
<target name="testVTA" depends="init">
<antcall target="_sendsoap">
<param name="ode.sendsoap.url" value="http://localhost:8080/wsdl/purchase/PurchaseOrder/Servicelocation/bp1"/>
<param name="ode.sendsoap.filename" location="vta.soap"/>
</antcall>
</target>
============================================================================================
vta.soap is simple soap message given below
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<sendInquiryOrder>
<InquiryOrder>
<InquiryOrder xmlns="http://manufacturing.org/xsd/purchase">
<orderId>012341</orderId>
<customerId>9876</customerId>
<orderDescription>Karachi_Any_Description</orderDescription>
<price></price>
</InquiryOrder>
</InquiryOrder>
</sendInquiryOrder>
</soapenv:Body>
</soapenv:Envelope>
Please guide if I am missing something.
Nawaz
Re: Testing Issue on Service Mix
Posted by Alex Boisvert <bo...@intalio.com>.
Judging from the HTTP RESPONSE, you're not using the correct URL.
alex
On Wed, Oct 1, 2008 at 7:15 AM, Nawaz Khurshid <kh...@fbk.eu> wrote:
> Dear Sir,
>
> I am new user to ODE, I have created the attached BPEL process, its is
> being deployed and tested on glassfish server, its working fine. I have here
> tried to deployed it on servicemix 3.2 ESB. I got no error in deployment.
>
> The problem occur when i try to send a soap message to this engine. I got
> following response which is different from the normal response received
> while testing it on glassfish.
>
> =========================================================
> C:\ODE\apache-ode-jbi-1.2\examples\VTA>ant test
> Buildfile: build.xml
> init-extensions:
> validate-ode-home:
> fail-invalid-ode-home:
> try-ENV-java-underscore-home:
> try-jdk-dot-home:
> try-java-dot-home:
> [echo] 'ode.java.home' not set trying 'java.home'
> fail-no-ode-java-home:
> validate-ode-java-home:
> fail-invalid-ode-java-home:
> base.init:
> [echo] ode.home = C:\ODE\apache-ode-jbi-1.2
> [echo] ode.java.home = C:\java5\jdk\jre
> init:
> test:
> init-extensions:
> validate-ode-home:
> fail-invalid-ode-home:
> try-ENV-java-underscore-home:
> try-jdk-dot-home:
> try-java-dot-home:
> fail-no-ode-java-home:
> validate-ode-java-home:
> fail-invalid-ode-java-home:
> base.init:
> [echo] ode.home = C:\ODE\apache-ode-jbi-1.2
> [echo] ode.java.home = C:\java5\jdk\jre
> init:
> _sendsoap:
> [echo] ode.sendsoap.url=http://localhost:8080/vta/
> [echo]
> ode.sendsoap.filename=C:\ODE\apache-ode-jbi-1.2\examples\VTA\vta.soa
> p
> [exec] <html>
> [exec] <head>
> [exec] <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859
> -1"/>
> [exec] <title>Error 404 NOT_FOUND</title>
> [exec] </head>
> [exec] <body>
> [exec] <h2>HTTP ERROR: 404</h2><pre>NOT_FOUND</pre>
> [exec] <p>RequestURI=/vta/</p>
> [exec] <p><i><small><a href="http://jetty.mortbay.org">Powered by
> jetty://<
> /a></small></i></p>
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec]
> [exec] </body>
> [exec] </html>
> [exec]
> [exec]
> BUILD SUCCESSFUL
> Total time: 1 second
> C:\ODE\apache-ode-jbi-1.2\examples\VTA>
>
> =======================================================================
>
> This response i get after running the following target
>
>
> <target name="testVTA" depends="init">
>
> <antcall target="_sendsoap">
>
> <param name="ode.sendsoap.url" value="
> http://localhost:8080/wsdl/purchase/PurchaseOrder/Servicelocation/bp1"/>
>
> <param name="ode.sendsoap.filename" location="vta.soap"/>
>
> </antcall>
>
> </target>
>
>
>
>
> ============================================================================================
>
> vta.soap is simple soap message given below
>
>
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
>
> xmlns="http://manufacturing.org/xsd/purchase" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
> http://schemas.xmlsoap.org/soap/envelope/">
>
> <soapenv:Body>
>
> <sendInquiryOrder>
>
> <InquiryOrder>
>
> <InquiryOrder xmlns="http://manufacturing.org/xsd/purchase">
>
> <orderId>012341</orderId>
>
> <customerId>9876</customerId>
>
> <orderDescription>Karachi_Any_Description</orderDescription>
>
> <price></price>
>
> </InquiryOrder>
>
> </InquiryOrder>
>
> </sendInquiryOrder>
>
> </soapenv:Body>
>
> </soapenv:Envelope>
>
>
> Please guide if I am missing something.
>
> Nawaz
>