users@jax-rpc.java.net

error: Attachment types are not supported in literal mode

From: mark pope <thepopeofantelope_at_yahoo.com>
Date: Thu, 20 Jan 2005 17:43:00 -0800 (PST)

I'm using JWSDP 1.5 and get this error message:
error: Attachment types are not supported in literal mode - Type:
"javax.activation.DataHandler"

I thought this was supported from 1.4 on.

Mark
 
I'm running:
wscompile.bat -cp target\classes -f:wsi -f:documentliteral -gen:server -d
build -mapping receiveRawBidSetMapping.xml -keep -s src\java config.xml

config.xml contains:
<?xml version="1.0" encoding="UTF-8"?>
 <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="ReceiveRawBidSetService"
      targetNamespace="http://mpopelt:8080/soa/2004-11-03"
      typeNamespace="http://mpopelt:8080/soa/2004-11-03/types"
      packageName="com.caiso.soa.interop.ejb.common.ws">
      <interface
name="com.caiso.soa.interop.interfaces.interoptest.InteropTestEndpoint"/>
    </service>
   </configuration>

InteropTestEndpoint.java:
public interface InteropTestEndpoint extends Remote {

    public OutputDataType_Type receiveRawBidSet(
            AttachmentInfor pAttachmentInfor, DataHandler pRawBidSetAttachment)
            throws OutputDataType_Exception, RemoteException;
}



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net