RE: [JBoss-user] Re: jboss.net: SOAP Attachments anyone?

2004-01-31 Thread Alastair Rodgers
That's right. I'm not using jboss.net - I'm just using the Axis library directly (i.e. 
my web app registers an org.apache.axis.transport.http.AxisServlet and this uses a 
/WEB-INF/server-config.wsdd file to configure the services). I do this so I've got app 
server independence.



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob Moore
> Sent: 28 January 2004 14:40
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Re: jboss.net: SOAP Attachments anyone?
> 
> 
> Thanks, Alastair.
> 
> So I take it you are not using the xdoclet module to generate the 
> web-service.xml?
> 
> Rob
> 
> Alastair Rodgers wrote:
> > It sounds like the 'apachesoap:DataHandler' might not be mapped 
> > correctly. I achieve this using the following in the Axis WSDD file:
> > 
> > 
> >  xmlns:ns1="http://www.blah.com/myservice";>
> >value="http://www.blah.com/myservice"/>
> >   
> >   
> >returnQName="result" returnType="xsd:string">
> > 
> > 
> >   
> >deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeser
> ializerFactory"
> > languageSpecificType="java:javax.activation.DataHandler"
> > qname="ns1:DataHandler"
> > 
> serializer="org.apache.axis.encoding.ser.JAFDataHandlerSeriali
> zerFactory"
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
> > 
> > 
> > 
> > Note how the ns1:DataHandler parameter type is mapped to 
> > JAFDataHandlerSerializerFactory / 
> JAFDataHandlerDeserializerFactory, and that ns1 is defined as 
> a valid namespace on the service element.
> > 
> > 
> > 
> 
> 
> 


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Re: jboss.net: SOAP Attachments anyone?

2004-01-29 Thread Rob Moore
Thanks, Alastair.

So I take it you are not using the xdoclet module to generate the 
web-service.xml?

Rob

Alastair Rodgers wrote:
It sounds like the 'apachesoap:DataHandler' might not be mapped correctly. I achieve this using the following in the Axis WSDD file: 

http://www.blah.com/myservice";>
  http://www.blah.com/myservice"/>
  
  
  


  
  http://schemas.xmlsoap.org/soap/encoding/"/>

Note how the ns1:DataHandler parameter type is mapped to JAFDataHandlerSerializerFactory / JAFDataHandlerDeserializerFactory, and that ns1 is defined as a valid namespace on the service element. 







---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user