Hello Wade
Firstly thanks for your help.
Then, I'm trying to implement a web service with a WSDL as you have indicated.
The type:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://vbl.wservices.nomadic.atosorigin.com/ReceiverFileServiceInput" elementFormDefault="qualified">
<xs:complexType name="NodeDocument">
<xs:sequence>
<xs:element name="name" type="xsd:string" default="Your document name"/>
<xs:element name="type" type="xsd:string"/>
<xs:element name="content" type="xsd:base64Binary"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
become in java:
public class NodeDocument implements java.io.Serializable {
private java.lang.String name;
private java.lang.String type;
private byte[] content;
public NodeDocument() {
}
......
}
I haven't a Object type but a byte[] type. Can I use the javax.activation.DataHandler again?
Moreover, how I can read the attachment in the ReceiverFileBindingImplClass
that implements the web service?
public class ReceiverFileBindingImpl implements com.atosorigin.nomadic.wservices.ReceiverFilewebservice.ReceiverFilePortType{
public java.lang.String receiverFileOperation(com.atosorigin.nomadic.wservices.vbl.ReceiverFileServiceInput.NodeDocument in) throws java.rmi.RemoteException, com.atosorigin.nomadic.wservices.vbl.FaultMessages.FaultMessage {
return null;
}
}
Have you a example of this?
Thanks for your help
Diana
