hello I want to ask you some question on eclipse program how to write java program associated with xml language , I do all thing but I need help in client stage ,an exception occur I don't know why? this exception is :
Exception occurred during code generation for WSDL : org.apache.axis2.AxisFault: No operation found in the portType element
please help me ,and I'm sorry for my bad English.
Your post does lack more detailed information, but I will still attempt a guess.
From where did you get the WSDL?
The <portType> element in a WSDL document is similar to a Java interface; in it the operations (compare to methods in a Java interface) that the web service supports are listed, along with information specifying what data is to be input to the operation and what data will be the result of the operation. Additionally, faults (compare to exceptions in Java) may be listed, to inform the clients of the service what kind of errors may occur when using the operation.
From the error message you supply, I seems like you have an interface (<portType> in the WSDL) that does not contain any methods (operations in the WSDL).
If you can give us a look at the WSDL, it would be of immense help.
Joined: Dec 02, 2009
hi i don't write any wsdl in my application because the eclipse it self,can write it to my project ,i just import my xml file to the project and it generate wsdl for it ,like this i do "i don't know is that right or not honestly " ,on the other hand the operation i wrote java class which contain the operation i wish to publish "like a Dom ",i tell you what i do ,and thanks for your post