You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by 毛可 <23...@qq.com> on 2013/05/30 13:24:11 UTC
Services created by GSOAP cannot be invoked in ODE
Hi, everybody,
We have problems invoking services created by GSOAP in ODE.
The definiton of the service created by GSOAP is available at http://iforum.nju.edu.cn:8188/.
LINE4: "<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>"
The definition of the process which invokes the GSOAP service is available at http://iforum.nju.edu.cn:8082/ode/deployment/bundles/Test207Invoke-241/Test207Invoke.bpel
We can deploy the process successfully. But when we try to execute this process, it throws an exception as following:
"NestedIOException: Error reading import file 'file:///.../New?xsd=xsd0': java.io.FileNotFoundException: ...\New?xsd=xsd0"
And then we find the following line in the WSDL of the process:
"<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="Test207Invoke?xsd=xsd0"/>"
It means the ODE have changed "schemaLocation=http://schemas.xmlsoap.org/soap/encoding/" to "schemaLocation="Test207Invoke?xsd=xsd0".
Therefore, "Test207Invoke?xsd=xsd0" cannot be accessed, which is not in the webapp sub-directory of the tomcat containing ODE.
We hope somebody can tell us how to solve this problem. Thanks!
Re: Services created by GSOAP cannot be invoked in ODE
Posted by Sathwik B P <sa...@gmail.com>.
Hi,
Dynamic generation of WSDL from the axis2 might have such problems.
Try either of these options,
1) Remove the schema import of the soap encoding from your wsdl.
2) Use the statically generated wsdl under your process directory.
regards,
sathwik
On Thu, May 30, 2013 at 4:54 PM, 毛可 <23...@qq.com> wrote:
> Hi, everybody,
>
> We have problems invoking services created by GSOAP in ODE.
> The definiton of the service created by GSOAP is available at
> http://iforum.nju.edu.cn:8188/.
>
>
> LINE4: "<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
> schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>"
>
>
> The definition of the process which invokes the GSOAP service is available
> at
> http://iforum.nju.edu.cn:8082/ode/deployment/bundles/Test207Invoke-241/Test207Invoke.bpel
>
>
> We can deploy the process successfully. But when we try to execute this
> process, it throws an exception as following:
>
>
> "NestedIOException: Error reading import file 'file:///.../New?xsd=xsd0':
> java.io.FileNotFoundException: ...\New?xsd=xsd0"
>
>
> And then we find the following line in the WSDL of the process:
> "<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
> schemaLocation="Test207Invoke?xsd=xsd0"/>"
>
>
> It means the ODE have changed "schemaLocation=
> http://schemas.xmlsoap.org/soap/encoding/" to
> "schemaLocation="Test207Invoke?xsd=xsd0".
> Therefore, "Test207Invoke?xsd=xsd0" cannot be accessed, which is not in
> the webapp sub-directory of the tomcat containing ODE.
>
>
> We hope somebody can tell us how to solve this problem. Thanks!
>