Hi: I initially posted this to the other forum but I thought I'd post it here as well, I am trying to deploy a webservice using JBoss.net and axis, listed below are the details:
JBoss Version:3.2.5 Axis Version:1.1 JDK:1.4.2 I created a web-service.xml by hand for my java class that serves as the webservice. However when I go to deploy my webservice I run into the following exception: java.lang.Exception: The OperationDesc for uploadTransmission was not synchronized to a method of com.adobe.esd.headlights.server.filecapture.webservice.FileCaptureService I am attaching the contents of my web-service.xml as well as my JavaWebService class. web-service.xml contents: !-- This file can be used to deploy the echoAttachments sample --> <!-- This deploys the echo attachment service. --> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:ns1="urn:FileCaptureService" > <typeMapping qname="ns1:DataHandler" xmlns:ns1="http://java.sun.com/jax-rpc-ri/internal" type="java:javax.activation.DataHandler" serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> Contents of my java class: package com.adobe.esd.headlights.server.filecapture.webservice; import java.io.File; import java.io.FileOutputStream; import java.util.Collection; import java.util.Iterator; import javax.activation.DataHandler; import org.apache.axis.Message; import org.apache.axis.MessageContext; import org.apache.axis.attachments.AttachmentPart; import org.apache.axis.attachments.Attachments; public class FileCaptureService { public boolean uploadTransmission(DataHandler dh) { boolean retval = false; String fileDir = "/opt/usage"; String name; try { if (dh!=null) { name=dh.getName(); dh.writeTo(new FileOutputStream(new File (fileDir+name))); } } catch( Exception e ) { e.printStackTrace(); } return retval; } } Any help would be much appreciated, I have been struggling for a day or so on this and didnt see anything on the web regarding a solution. Thanks Again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927642#3927642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927642 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
