Is the scheme defined by valid ???

From: Purbhoo, Hansika <>
Date: Wed, 14 Jan 2004 09:29:22 +0200

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"
    <schema targetNamespace=""
      <import namespace=""/>
      <simpleType name="datahandler">
         <restriction base="base64Binary"/>
  <message name="TestReceiptsServiceIF_sendPurchaseOrder">
    <part name="DataHandler_1" type="ns2:datahandler"/>

   .....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 interference.

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