|
From: Jacob P. <Jac...@fo...> - 2010-10-14 07:13:49
|
Hello I'm having problems parsing loads of Web Services while others work fine. Problem is that no operations are found. I have attached a WSDL file containing just one function. Visual Studio and SOAPUI can parse this WSDL file, but not WSDLPull. Simple example code: WsdlInvoker invoker(wsdlstream); int numberOfOperations = invoker.getOperations(operations); Operations count returned equals 0. Not that I know the WSDL specification nor the WSDLPull sourcecode, I found the following when debugging a little: - The constructor never calls init(wParser_) because no element has status set. No idea if this is normal or not. - Operations seems only to be read in init which explains why count is 0. So question is; Is there a bug in WSDLPull or am missing something in my example, to be able to parse the remaining WSDLfiles? Other example is the WSDL file for Microsoft Exchange which does not work either, but for Microsoft SharePoint it works fine. NB! WSDLPull was not compiled with CURL since I only need the parsing of WSDL not invoking any methods. Hopefully this is not why some fails? Thanks for any pointers! Best regards, Jacob Pedersen |