axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meghana Joglekar" <megha...@gmail.com>
Subject SchemaCompilationException while generating stub classes from wsdl
Date Sat, 18 Nov 2006 16:02:57 GMT
Hello,

This is binding element of my wsdl -

<wsdl:binding name="DeployBPRServiceSoapBinding"
type="impl:AeDeployBPRSkeleton">

<wsdlsoap:binding style="rpc" transport="
http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="deployBpr">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="deployBprRequest">

<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:AeEngineServices" use="encoded"/>

</wsdl:input>

<wsdl:output name="deployBprResponse">

<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/active-bpel/services/DeployBPRService"
use="encoded"/>

</wsdl:output>

<wsdl:fault name="AeBusinessProcessException">

<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/active-bpel/services/DeployBPRService"
use="encoded"/>

</wsdl:fault>

</wsdl:operation>

</wsdl:binding>

and I get following exception when I try to use axis2's default binding.

Caused by: org.apache.axis2.schema.SchemaCompilationException: {
http://schemas.x
mlsoap.org/soap/encoding/}string is not supported.
        at org.apache.axis2.schema.SchemaCompiler.findClassName(
SchemaCompiler.j
ava:820)
        at org.apache.axis2.schema.SchemaCompiler.processElement
(SchemaCompiler.
java:692)
        at org.apache.axis2.schema.SchemaCompiler.processElement
(SchemaCompiler.
java:489)
        at org.apache.axis2.schema.SchemaCompiler.process(
SchemaCompiler.java:14
88)
        at org.apache.axis2.schema.SchemaCompiler.processParticle
(SchemaCompiler
.java:1450)
        at org.apache.axis2.schema.SchemaCompiler.processComplexType
(SchemaCompi
ler.java:950)
        at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
SchemaCompiler.java:909)



Does that mean I cannot use Axis's default binding? Please help.

- Meghana

Mime
View raw message