Arno ,
Thanks for your input ... I manage to get it working by restarting ... go
figure.
|---------+--------------------------->
| | "Arno de |
| | Quaasteniet" |
| | <[EMAIL PROTECTED]|
| | > |
| | |
| | 26/11/2002 12:43|
| | AM |
| | Please respond |
| | to axis-user |
| | |
|---------+--------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: RE: Attachments help
|
>-------------------------------------------------------------------------------------------------------------------------------|
Hi Tung,
I've sent and received DIME attachements of about 150KB without problems
(at least not related to the size) between a MS Soap toolkit client and
axis server. The only problems I had was with receiving the attachments,
It only works if I use unreferenced DIME attachments. When using the
referenced attachments as in the examples of the SOAP toolkit, I kept
getting error messages on the client that it could not map the return
parameter to the unknownBinaryContent type I declared (exactly as in the
samples with the soap toolkit).
What kind of errors do you get?
Kind regards,
Arno
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 26 November, 2002 7:49 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Attachments help
>
>
> Thanks Arno,
> I have another problem with the size of attachments, I
> can send an
> attachment of 1kb, but anything larger I seem to get an
> error. Have you
> come across this?
>
> Thanks
>
> Tung
>
>
>
>
> |---------+--------------------------->
> | | "Arno de |
> | | Quaasteniet" |
> | | <[EMAIL PROTECTED]|
> | | > |
> | | |
> | | 25/11/2002 12:36|
> | | AM |
> | | Please respond |
> | | to axis-user |
> | | |
> |---------+--------------------------->
>
> >-------------------------------------------------------------
> ------------------------------------------------------------------|
> |
> |
> | To: <[EMAIL PROTECTED]>
> |
> | cc:
> |
> | Subject: RE: Attachments help
> |
>
> >-------------------------------------------------------------
> ------------------------------------------------------------------|
>
>
>
>
> Hi,
>
> As far as I known your method on the server side should look
> like this:
>
> String processMsgAttachments(String sXMLrq,
> javax.activation.DataHandler[] attachments) throws
> java.rmi.RemoteException {
> }
>
> Kind regards,
>
> Arno
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 25 November, 2002 5:21 AM
> > To: [EMAIL PROTECTED]
> > Subject: Attachments help
> >
> >
> > Hi,
> > Can anyone help me ... I have created a set of stubs
> > and skeletons
> > from a WSDL file, which I have successflly called from a VB
> Client. In
> > these services, I have an operation which takes a string
> > message along with
> > attachments. The method that was generated is:
> > public java.lang.String
> > processMsgAttachments(java.lang.String sXMLrq) throws
> > java.rmi.RemoteException {
> > .......
> > }
> >
> > I have set attachments in the SOAP message along with a dummy
> > string from
> > my VB Client and when a call is made to the AXIS SOAP server,
> > the string is
> > passed to the above method. However, I cannot get the
> > attachments as it is
> > not passed into that method. I have modified the
> > AxisServlet.java, and can
> > actually get the attachment before the AxisEngine is invoked.
> > But I prefer
> > not to modify this class. Does anyone know how to get the
> > attachments at
> > the point where the set of stubs and skeletons are executed?
> >
> > Any help is much appreciated.
> >
> >
> > P.S I have also modified the WSDL to get an operation that
> > takes in two
> > parts, the String and a object.
> > public java.lang.String
> > processMsgAttachments(java.lang.String sXMLrq,
> > java.lang.Object attachments
> > ) throws java.rmi.RemoteException {
> > .......
> > }
> >
> > However there is a type incompatibility between MS SOAP and
> > AXIS when I
> > passed in the OBJECT as a MSSOAPLib30.SentAttachments30 type.
> > This seems to
> > be the case with any non basic types.
> >
> >
> >
> >
> > Kind Regards,
> >
> > Tung
> >
>