SProxy Anyone?

Nov 29, 2012 at 12:22 AM

I've recently been experimenting with WWSAPI and discovered (like everyone else) that it's not available on WinXP, which is an issue for me as many of our clients still run XP.

This lead me to experiment with sproxy. 

I've had some success making some modifications so it generates that proper code to communicate with a WWSAPI web service.  However, it definitely has some issues with nested complex types or messages with more than one part.

Nested Complex Type example:
      <xsd:element name="UploadRequestType">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="UploadInfoType">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element minOccurs="1" name="name" type="xsd:string"/>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="UploadDataType">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element minOccurs="0" name="data" type="xsd:base64Binary" />
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>

Message Part Example:
  <wsdl:message name="IFileManager_Upload_InputMessage">
    <wsdl:part name="theInfo" element="tns:UploadInfoType" />
    <wsdl:part name="theData" element="tns:UploadDataType" />
  </wsdl:message>

I know I could go the .NET route but I'm a native kind of guy. Anyone out there playing around with proxy?