Hi,
You have to have the target namespace for the schema like this
<xs:schema targetNamespace="http://example.com/transfer.wsdl">
since this is lacking, the messages were refering to non existing elements :)

BTW there was a bug in the Axis2 codegen which screwed up the generated code when the targetnamespace of the schema and the targetnamespace of the WSDL. This specifically happened with RPC bindings but I recommend you use the latest nightlies.


Ajith

On 7/24/06, Fabien Couble <[EMAIL PROTECTED]> wrote:
Actually, I have just seen on the Web that this error  is a typical error that happens when the WSDL is having unresolvable references.
I analysed my file but I didn't see any error (but I'm a beginner actually)
Can someone have a look please?
 
Thx
Fabien
----- Original Message -----
Sent: Monday, July 24, 2006 2:38 PM
Subject: [AXIS2]axiom-api-1.0 library

Hi everybody,
 
I have a question concerning the axiom-api-1.0 library. Actually, I generated java code from a wsdl file but the code generated has errors whereas everything was allright during the generation.
Indeed, the errors are the following:
  • param.newXMLStreamReader - Eclipse tells me that "param" (org.apache.axiom.om.OMElement) has no method like this
  • org.apache.axiom.om.OMElement.Factory.parse(param.getXMLStreamReaderWithoutCaching()) is also wrong. No method Factory for OMElement.
Of course, I included the libraries of Axis2 to compile.
 
As this code is generated, I don't really what to do. That is why, I'm wondering if I have the good version of the axiom-api-1.0 library. Maybe, an update has been released.
 
THx for your response
Fabien
 
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Ajith Ranabahu

Reply via email to