An alternative way to fix the WSDL is to define elements in the <types> section and reference those elements from the parts.
Anne
On 3/8/06, Dies Koper <[EMAIL PROTECTED]> wrote:
Hello Anne,
Why must it be "rpc"? Because the part element uses the type attribute
instead of element?
In that case, it could also be fixed by adding a types section with a
xsd:string-type element and replacing the part's type attribute with an
element attribute that refers to the new element in <types>, correct?
Thanks,
Dies
Anne Thomas Manes wrote:
> I don't know if this is the cause of your problem, but your WSDL has an
> error. The style must be "rpc".
>
> Anne
>
> On 3/8/06, Kashif Saleem <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>> I have bit of a problem in accessing python webservice :
>>
>> I created the stubs successfully by executing the following statement:
>> java -classpath $CLASSPATH org.apache.axis.wsdl.WSDL2Java
>> http://www.basis.ncl.ac.uk/sbml.wsdl
>>
>> Then I compiled all the stubs successfully by executing following
>> statements:
>> javac -classpath $CLASSPATH uk/ac/ncl/basis/www/sbml_wsdl/SbmlLocator.java
>> javac -classpath $CLASSPATH uk/ac/ncl/basis/www/sbml_wsdl/Sbml.java
>> javac -classpath $CLASSPATH
>> uk/ac/ncl/basis/www/sbml_wsdl/SbmlPortType.java
>> javac -classpath $CLASSPATH
>> uk/ac/ncl/basis/www/sbml_wsdl/SbmlBindingStub.java
>>
>> Then I write the client to access the python webservice and compile it
>> successfully :
>> javac -classpath $CLASSPATH uk/ac/ncl/basis/www/sbml_wsdl/TestClient.java
>>
>> But when I run the TestClient I get the following output:
>> java -classpath $CLASSPATH uk/ac/ncl/basis/www/sbml_wsdl/TestClient
>> Processing Failure
>>
>>
>> I am really wondering what is the cause of this processing failure.Infactmy python client is running correctly.
>>
>> I am attaching with this mail my java client.I would appreciate if someone
>> could help me to identify cause of this processing failure and possible
>> suggestions to overcome it.
