Contributions
Re: WSDLException Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}annotation'
Hi Rich: Your suggestions helped narrow in on the problems. I had some type-documentation issues and did change some variable names to camelCase. However, I left one variable as all lower case and it worked just fine. Now I'm wondering if the camelCase thing is an issue. Anyway, thank you for your suggestions. Greatly appreciated.4.3KViews0likes0CommentsRe: WSDLException Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}annotation'
HimanshuTayal: Thank you for your reply. I forgot to mention that I created the .h files that were input into soapcpp2 tool which produced the WSDL file. soapcpp2 appears to be a gsoap product from Genivia. It’s supposed to generate compliant wsdl. Wondering why SoapUI is complaining about the wsdl. The errors SoapUI gives are not very good. No idea why it’s complaining.4.4KViews0likes2CommentsWSDLException Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}annotation'
I'm getting this WSDLException and have no clue where to start looking. I looked at soapui-errors.log and pasted the stack trace below the WSDLException text. WSDLException (at /definitions/message[28]/part/annotation): faultCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}annotation' in the context of a 'javax.wsdl.Part'. Extension elements must be in a namespace other than WSDL's From soapui-erros.log: 2020-07-16 22:30:42,691 ERROR [errorlog] com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlInterfaceDefinition.load(WsdlInterfaceDefinition.java:52) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:62) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:34) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.cacheDefinition(AbstractDefinitionContext.java:245) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.access$400(AbstractDefinitionContext.java:47) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:218) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46) at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131) at java.lang.Thread.run(Unknown Source)Solved4.5KViews0likes4Comments