[Xml-compile] Help with a WSDL declaring multiple operations
with the same name
Mark Overmeer
mark at overmeer.net
Mon Aug 27 09:54:48 GMT 2012
* David McMath (mcdave at stanford.edu) [120824 17:55]:
> On 8/23/12 6:20 PM, David McMath wrote:
> >I'm supposed to work with the WSDL file at
> > http://www1.sabameeting.com/CWS/CWS.asmx?WSDL
>
> Any advice is appreciated, but mostly I'm just about ready to accept
> "no" as an answer and try to fix the WSDL.
I have never encountered this before. XML::Compile::WSDL builds a
HASH for fast search... Supporting this would be a serious rewrite
and slowdown everyone else's runtime. Gladly, you found that the
Profile does not allow it, however the profile is not obligatory.
I say "no" ;-)
Solution? Hm... rewrite the WSDL first via an XSLT?
Nothing really simple.
> <wsdl:portType name="CWSSoap">
> ...
> <wsdl:operation name="Find">
> <wsdl:documentation
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Find all the Centra
> Users matching certain User parameters.</wsdl:documentation>
> <wsdl:input name="FindUser" message="tns:FindUserSoapIn" />
> <wsdl:output name="FindUser" message="tns:FindUserSoapOut" />
> </wsdl:operation>
> ...
> <wsdl:operation name="Find">
> <wsdl:documentation
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Find all the Centra
> Events matching cetain Event parameters.</wsdl:documentation>
> <wsdl:input name="FindEvent" message="tns:FindEventSoapIn" />
> <wsdl:output name="FindEvent" message="tns:FindEventSoapOut" />
> </wsdl:operation>
> ...
> </wsdl:portType>
>
> >Can anyone offer a suggestion about how I might find the proper
> >method? I hope I'm just missing something simple.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list