Try Axis1.
Anne
On 6/6/06, Sebastian J. Schultheiss <[EMAIL PROTECTED]> wrote:
Hello!
[Running Axis2 1.0 Nightly from May 30th, 2006]
We're now implementing a WSDL from an external source:
http://xml.nig.ac.jp/wsdl/Blast.wsdl
We used wsdl2java to create an xmlbeans client for this service, but it gives us
a databinding error because it expects a different kind of document.
We called the SearchParam service operation through the generated method
SearchParamResponseDocument result = blastStub.searchParam(requestDoc);
Is this a problem with the WSDL, the kind of xml document the service returns,
or with the Axis implementation and its expectations? This is the stack trace:
java.lang.RuntimeException: Data binding error
at org.apache.axis2.BlastStub.fromOM(BlastStub.java:1357)
at org.apache.axis2.BlastStub.searchParam (BlastStub.java:351)
at org.apache.axis2.BlastMain.main(BlastMain.java:31)
Caused by: org.apache.xmlbeans.XmlException: error: The document is not a
searchParamResponse@ http://www.themindelectric.com/wsdl/Blast/: document element
mismatch got Result
at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:452)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument (Locale.java:357)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:850)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse (SchemaTypeLoaderBase.java:231)
at
com.themindelectric.www.wsdl.blast.SearchParamResponseDocument$Factory.parse(SearchParamResponseDocument.java:86)
at org.apache.axis2.BlastStub.fromOM(BlastStub.java :1281)
... 2 more
Any hints would be greatly appreciated.
Thanks for your time,
-- Sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
