<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-GB;}
span.typ
        {mso-style-name:typ;}
span.pln
        {mso-style-name:pln;}
span.kwd
        {mso-style-name:kwd;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi again,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for the help earlier – unfortunately I’ve run into another problem I don’t fully understand!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Having got the message box appearing correctly, I’ve now been asked to call a simple method from a web service; it’s written in .NET, and the wsdl is converted to object-C source code using a tool called Sudzc (
<a href="http://sudzc.com/">http://sudzc.com/</a> ). Sudzc works fine with a simple, blank test program, but when following the tutorial to merge it into the Kiwiviewer xcode project, the problems begin.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I believe – though I’m honestly not sure – that the problem is because the generated source, which calls a library called TouchXML, uses libxml2; as does VTK. When the Sudzc tutorial says “the code should now compile”, instead I get >150
 errors all along the lines of<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Lexical</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">
</span><span style="font-size:10.5pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">or</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Preprocessor</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Issue</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Invalid</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">
 token at start of a preprocessor expression</span><span style="font-size:10.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Pointing at the line<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#include "xmlversion.h"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In a file<o:p></o:p></p>
<p class="MsoNormal">…/vtkmodular/Utilities/vtklibxml2/include/libxml/tree.h<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m guessing that this tree.h shouldn’t be being called, as it’s a different version of libxml2 to what TouchXML (presumably) uses. If this seems likely, are there any workarounds for this? I’m completely new to xcode, and although it includes
 /usr/include/libxml2 it doesn’t seem to be using only files from there if it’s reaching the tree.h above. Or, if this isn’t likely to be the case, could you offer any advice to fix this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Alternatively – and I suspect this is the more likely route of action – are there other methods of ‘consuming’ a SOAP server that are known to be compatible with VES/VTK? Again, this isn’t an area of expertise, and no-one in the building
 seems to know much about it either, so I apologise if this is obvious! I’ve seen mention of things like wsdl2objc, but it looks as if there’ve been more problems than successes with it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance (again!)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:EN-GB">Dan</span><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
 <br>
********************************************************************<br>
This email and any attachments are confidential to the intended<br>
recipient and may also be privileged. If you are not the intended<br>
recipient please delete it from your system and notify the sender.<br>
You should not copy it or use it for any purpose nor disclose or<br>
distribute its contents to any other person.<br>
********************************************************************<br>
<br>
</body>
</html>