Andreas Bohnert <abo <at> weberhofer.at> writes:

> 
> hi,
> 
> if have just upgraded my web services from axis 0.95 to axis 1.1.
> now I'm getting an exception while deploying the ws.
> the QueryService.wsdl which gives the error is created by axis, so I
> don't know what to do with this.
> 
> please, can someone help me with this?
> thanks, andreas
> 
> 12:39:31,469 ERROR [WSDL11ToAxisServiceBuilder] WSDLException:
> faultCode=PARSER_ERROR: Problem parsing 'META-INF/QueryService.wsdl'.:
> The prefix "wsaw" for attribute "wsaw:Action" associated with an element
> type "wsdl:output" is not bound.: org.xml.sax.SAXParseException: The
> prefix "wsaw" for attribute "wsaw:Action" associated with an element
> type "wsdl:output" is not bound.

The declaration of the namespace "wsaw" is included in the 
<wsdl:input> element, but it is missing in the <wsdl:output> 
element. Adding the namespace manually to the <wsdl:output> 
element solves this issue, but it remains a workaround and
probably a bug that should :-) be solved in Axis.

Generated: <wsdl:output message="tns:sendResponse"
wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse";>
</wsdl:output>

Manually modified: <wsdl:output message="tns:sendResponse"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse";>
</wsdl:output>

Regards.




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

Reply via email to