I am having trouble with WWSAPI generating c and h files.
-
Saturday, March 03, 2012 3:07 AM
Hello folks,
Does anyone understand why I would see the following error message when attmpting to create my *.c and *.h files with WSUTIL?
I know this is not really an MFC or C++ question, but I am not sure where to post it.
Technically, I am running WSUTIL so I can create the *.c and *.h file for my application, so it is somewhat related to my MFC application.
Anyway, the error message I see is:
error WSUTIL0041 internal compiler error: 'Index was outside of the bounds of the array.'
The Web Service belongs to a third party.
I have successfully used the WSDL in SOAPUI to invoke the web service.
I presume there is something wrong in the schema. But I have no idea where to start, or what I should be looking for.
I cannot find any references to WSUTIL error messages.
The XSD document had a number of arrays that contained maxoccurs='unbounded'. I changed all of these to maxoccurs='10' and still no joy.
There is a lot of information at the site http://msdn.microsoft.com/en-us/library/windows/desktop/dd815349(v=vs.85).aspx, but there is no reference to error messages or error numbers.
Thanks in advance for any ideas.
Cameron Conacher
- Moved by Rob Pan Wednesday, March 07, 2012 8:11 AM (From:Visual C++ MFC and ATL)
All Replies
-
Wednesday, March 07, 2012 8:10 AM
Hi,
According to your description, I will move your issue to the correct forum for better support. Thanks for your understanding.
Best Regards,
RobRob Pan [MSFT]
MSDN Community Support | Feedback to us
-
Wednesday, March 07, 2012 10:23 PM
More information, in case anyone has any ideas.
When I specifiy some of the XSD files, rather than all of the Schema files, I get error indicating that something is not defined.
When I use a wildcard to specify all XSD files, I get the error below:
error WSUTIL0041 internal compiler error: 'Index was outside of the bounds of the array.'
I have to assume that something needs to change with the XSD files, but I do not know where to start.
How do I make sure that the Vendor has sent me the "correct" XSD files?
Can I download all of the included or imported files, just to be sure?
Is this forum the best place to ask for help?
Is WWSAPI still a viable solution option? Maybe I should consider some other solution like gSoap? Maybe WWSAPI is being deprecated?
Thanks everyone.
Cameron Conacher


