Med vennlig hilsen
-
Tore G. Larsen
Avdelingsarkitekt
Systemavdelingen
Tlf: +47 97 49 50 30
NorgesGruppen Data AS
Postboks 130 Sentrum | Bedriftsveien 9
N - 0102 OSLO
Tlf: +47 24 17 60 00, faks: +47 24 17 60 10
---
are any of the axis or apache servers down or in planned outage?
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir ho
subscribe
_
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
Hi There,
Thanks for all your help. very much appreciated...
On Wed, May 19, 2010 at 5:21 PM, Jorge Medina
wrote:
> If you are getting an OutOfMemoryError with larger files, then your problem
> must be that you are holding the attachment in memory rather than streaming
> it (forwarding) to
If you are getting an OutOfMemoryError with larger files, then your problem
must be that you are holding the attachment in memory rather than streaming
it (forwarding) to the webservice as soon as you start receiving it.
On Wed, May 19, 2010 at 6:18 PM, Nirav Shah wrote:
> Thanks Andreas/Jorge,
I haven't used Axis2 on the server side to receive attachments. But I have
used Axis2 on the client to receive an attachment.
When using JAX-WS, the element of type xs:base64binary must also have an
attribute xmime:expectedContentType.
http://java.sun.com/webservices/docs/2.0/jaxws/mtom-swaref.htm
Thanks Andreas/Jorge,
i used the Axiom package(snapshot).
I have the WSDL using xs:base64Binary (MTOM),. I got an OutOfmemory error
when making a call to the service. So i used a smaller file and that seemed
to have work. I added a TCP Mon to intercept the request and to me it seems
like a SwA re
The current Axiom trunk (which will soon be released as Axiom 1.2.9),
there are a couple of utility classes that can be used for that. See
the org.apache.axiom.util.blob package, more specifically OverflowBlob
and BlobDataSource. Note that this stuff is new in Axiom and will be
reviewed before the
In other words, you need to create a class that implements
javax.activation.DataSource. Use PipedInputStream/PipedOutputStream to just
forward the data between the input stream received from the web application
to the web services server
On Wed, May 19, 2010 at 4:20 PM, Jorge Medina
wrote:
> a) I
a) Is the server that you will call a web service able to receive SOAP
attachments? (MTOM) I am assuming it is.
b) If you use Axis2, your web services client is already able to RETRIEVE
attachments. The generated code will look like
TheResponse response =
yourService.serviceWithAt
Any suggestions ? Its very urgent ?
On Wed, May 19, 2010 at 8:24 AM, Vishwal Shah wrote:
> Hi Martin,
>
> Thanks for the response.I checked and can't do the rest as rest is disabled
> and for reasons it can't be enabled.
> I am stuck right now on converting from InputStream to DataHandler itse
If I include the schemaorg_apache_xmlbeans in the aar at the root of the
package (aar/schemaorg_apache_xmlbeans) it fails, but if I include them
in a jar like the ant script does (aar/lib/XBeans-packaged.jar) it works
fine. So it must be some kind of loading problem and finding the wrong
ones...
Hi Martin,
Thanks for the response.I checked and can't do the rest as rest is disabled
and for reasons it can't be enabled.
I am stuck right now on converting from InputStream to DataHandler itself
running out of memory. The Only Class that could handle that data was the
InputStreamDataSource that
I've been using the maven axis2 tools.
Here is a basic pom to get you going. Please note the problems I'm
having using xmlbeans with this. I don't know what the problem is, but
I'm giving up for now and switching to spring/axis2. You can modify
this pom for adb easily and it works fine. Thi
14 matches
Mail list logo