users@jax-rpc.java.net

Re: error: Attachment types are not supported in literal mode

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Mon, 24 Jan 2005 09:38:52 -0800

Attachments are supported when starting from WSDL, however they are not
supported when starting from Java in literal mode.

mark pope wrote:

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

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