We ran into the problem described in the link above (out of memory
with web services connector). Its sounds like Axis 1.4 is not being
maintained and there is little chance that this bug will be fixed. I
have confirmed that the "org.apache.axis.MessageContext" finalizer
method is the problem. We could remove this method and build our own
version - but I would prefer Axis2.
Jim
If we get rid of Axis I'd rather use Java 1.6 runtime support rather than a third party library. If it's possible.
-ys
Hi Chase,
Thanks for retrieving back that issue.
It seems that was with Axis2. So maybe there are other options if we use JAXWS/JAXB.
I don’t have an instance of GS accessible. Is there a way to access the GS WSDL without being connected to G? (I’d like to try a few things).
...I guess it has to be in the source code somewhere. I’ll look there.
Thanks,
-yves
Thanks for the file Chase.
I had to add the schemaLocation attribute for soapenc, but after that I was able to process it with wsimport.
Alas I’m block on this now:
“rpc/encoded wsdls are not supported in JAXWS 2.0”
I’m not an expert at all with Web services, but it seems that type of encoding is a bit old and not supported much anymore. Maybe it’s just a matter of re-writing the WSDL using a different notation, while keeping the same interface? No idea really.
Anyway, from that and the Axis2 issue already mentioned, it seems we’re stuck with Axis 1.4...
-ys
That leaves only GS as depending on Axis-1.
Chase: Any chance to get GS to re-factor the its Web service interface
using REST or a more up-to-date implementation of WSDL?
I'm no expert either, but I'm guessing that changing the service to not use the RPC/encoded mode would indeed require some changes for the clients.
-ys
*Call*.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear();
I think you can execute this method from the stub after each call (or
after a certain number of calls). I am a webservices ignorant so
googling the call above may give more information.
Jim