Re: Is the scheme defined by valid ???

From: Anne Thomas Manes <>
Date: Thu, 15 Jan 2004 09:46:06 -0500

The schema looks valid (although you haven't really defined a restriction).
It sounds like Business Connection doesn't fully implement support for XML
As a workaround, just use xsd:base64Binary:

<part name="DataHandler_1" type="xsd:base64Binary"/>


At 02:29 AM 1/14/2004, you wrote:
>Hi Everybody
>I have written a webservice that passes an xml file from client to server .
>So, we have a method which takes a DataHandler type as a parameter
>I have written a client in Java to connect to the service and on testing
>this, all seems to be in order.....
>However, another client is trying to connect to this web service using
>Connector .
>Business Connector has the functionality to import a WSDL and automatically
>generate a client.
>When business connector tries to import the WSDL, it fails, as it can not
>recognize the DataHandler type...
>My WSDL file looks something like
><?xml version="1.0" encoding="UTF-8"?>
><definitions name="TestWebService"
> targetNamespace=""
> xmlns:tns=""
> xmlns=""
> xmlns:ns2=""
> xmlns:xsd=""
> xmlns:soap="">
> <types>
> <schema targetNamespace=""
> xmlns:tns=""
> xmlns:soap11-enc=""
> xmlns:xsi=""
> xmlns:wsdl=""
> xmlns="">
> <import namespace=""/>
> <simpleType name="datahandler">
> <restriction base="base64Binary"/>
> </simpleType>
> </schema>
> </types>
> <message name="TestReceiptsServiceIF_sendPurchaseOrder">
> <part name="DataHandler_1" type="ns2:datahandler"/>
> </message>
> .....etc ..........
>So, I think that the problem is that it cant seem to understand what the
>DataHandler type actually is .
>In the WSDL it is defined as type ns2:datahandler.
>If you look at ns2 it is defined as
>Now that particular website does not define anything.
>Could that be the problem?
>Is there another schema that I could use instead of this ?
>Note that this WSDL was automatically generated when I compiled my web
>Any help would be much appreciated
>For information about the Standard Bank group visit our web site
>Disclaimer and confidentiality note
>Everything in this e-mail and any attachments relating to the official
>business of Standard Bank Group Limited is proprietary to the group.
>It is confidential, legally privileged and protected by law.
>Standard Bank does not own and endorse any other content. Views and
>opinions are those of the sender unless clearly stated as being that of
>the group.
>The person addressed in the e-mail is the sole authorised recipient.
>Please notify the sender immediately if it has unintentionally reached you
>and do not read,
>disclose or use the content in any way.
>Standard Bank can not assure that the integrity of this communication has
>been maintained nor that it is free of errors, virus, interception or
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail: