[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Issues with compiling the most current wsdl
I've forwarded an email that I received from the engineer who is implementing our webservice. He is using Axis to compile the wsdl. Should the wsdl refer to oasis to get the namespace and schema? Should wsrp:ErrorMessage be defined somewhere? The Feb 19th wsdl compiles fine but we have to modify the more recent wsdl's to get them to compile. Do the wsdl's need to be modified before compiling them? Any guidance would be appreciated. Thanx Warren ========================================================================= Hi Warren; I tried to import the new WSDL from the latest docs that you sent me. I have been able to compile the WSDL, although with the following changes. I still have to put some dummy implementation and try the generated code out though. 1) The latest WSDL has namespace and schema locations defined like: <import namespace="http://docs.oasis-open.org/wsdm/2004/04/muws-0.5/wsdl" location="http://docs.oasis-open.org/wsdm/2004/04/muws-0.5/wsdl"/> <import namespace="http://docs.oasis-open.org/wsdm/2004/04/mows-0.5/wsdl" location="http://docs.oasis-open.org/wsdm/2004/04/mows-0.5/wsdl"/> <xs:import namespace="http://docs.oasis-open.org/wsdm/2004/04/muws-0.5/schema" schemaLocation="http://docs.oasis-open.org/wsdm/2004/04/muws-0.5/schema"/> <xs:import namespace="http://docs.oasis-open.org/wsdm/2004/04/mows-0.5/schema" schemaLocation="http://docs.oasis-open.org/wsdm/2004/04/mows-0.5/schema"/> I had to change these to the ones like in Feb 19th WSDL. <import namespace="urn:wsdm:muws-wsdl" location="MUWS.wsdl"/> <import namespace="urn:wsdm:mows-wsdl" location="MOWS.wsdl"/> <xs:import namespace="urn:wsdm:muws-xs" schemaLocation="MUWS.xsd"/> <xs:import namespace="urn:wsdm:mows-xs" schemaLocation="MOWS.xsd"/> 2) The latest and the Feb 19th WSDLs both refer to the Resource Property message type ----- "wsrp:ErrorMessage" <fault name="UnknownResource" message="wsrp:ErrorMessage" /> <fault name="InvalidResourcePropertyQName" message="wsrp:ErrorMessage" /> However, there is no such "ErrorMessage" defined in the http://www-106.ibm.com/developerworks/webservices/library/ws-resource/WS-Res ourceProperties.wsdl document. So I had to change the Fault messages to wsrp:ResourceUnknownFault and InvalidResourcePropertyQNameFault respectively, which I think are defined in the WS-ResourceProperties.wsdl <fault name="UnknownResource" message="wsrp:ResourceUnknownFault" /> <fault name="InvalidResourcePropertyQName" message="wsrp:InvalidResourcePropertyQNameFault" /> Wanted to discuss the bearings that these changes may/mat not have on the project. Will try your desk number in a while. Thanks............ -akshay
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]