Hi,
I am trying to use the CommonsHttpSender as a transport handler. I am
wondering how can I turn on compression (gzip) using this. I've done
this on HttpSender (by making changes to invoke and readFromSocket
methods), but not sure what methods and what needs to be changed to
turn on compression
Is there a clean way to pass parameters to a JAX-RPC message handler?
For example, I have a JAX-RPC client that uses stubs generated by
WSDL2Java to create a message. However, the service WSDL doesn't
describe the message format completely (e.g., an element in the schema
has a child), so I nee
Hi Merten
Thanks for replying.
That's what I thought too. Does this conflict with the servlet specification which says that web applications can only access for writing the directory provided by the container, not WEB-INF or WEB-INF/attachments. See Servlet Specification 2.4 section SRV.3.7.1, wher
In short: wsdl2java produces duplicate copies of my JavaBean classes,
but using a generated (different) package name.
Hi,
In an effort to learn web services + axis, I wrote a simple standalong
java-client - to - web service app. The idea is that Client uses
JavaBean classes to display some in
Hi Patrick,
you have a generated stub class. look at your stub class if this code
segement exists
qName = new javax.xml.namespace.QName("urn:[yourpacckagename]"
"ProvidentResponse");
cachedSerQNames.add(qname);
cls = yourpackagename.ProvidentResponse.class;
cachedSerClasses.add(cls);
cachedSerFa
http://www.developerfusion.co.uk/show/4694/3/
Basically, the summation is that RPC SOAP encoding is one of
major roadblocks for Web services interoperability. Is this a valid
statement? I have used rpc/encoded for my web services, and I haven’t
had problems yet with Java and .NET inte
Willie,
Found my problem. Thought I would pass it on.
I thought the error was occurring on the client during deserialization
but it was actually occurring on the on the server on my return
statement. Didn't see it earlier because it was after my logging
statements. Anyway my return used to be:
Thanks for the tip.
The registerTypeMapping call is already made in the stub, as part of
createCall():
synchronized (this) {
if (firstCall()) {
// must set encoding style before registering
serializers
_call.setEncodingStyle(nul
Try this...
QName qn = new QName("somenamespace","somequalifiedname");
call.registerTypeMapping(yourbean.class,
qn,
new BeanSerializerFactory(yourbean.class,
qn),
new BeanDeserializerFactory(yourbean.class,
q
Hi,
I ever used visual studio.net to generate C# class from wsdl. The result
is one service class plus all the helper classes in one .cs file. When I
use WSDL2Java to generate java classes from wsdl, I got the service
class, plus all the heler classes as separate java files. Is this
correct?
Mark
What does this error mean?
org.apache.axis.AxisFault: Premature end of file.
I am calling a web service on a remote server, that I don't control,
and I keep getting the following error when I call it, and nothing
else.
If anyone has an idea what the cause of this type of error might be
I'd appr
Well, not entirely, John!
Do you want the client to set the endpoint of the target machine by calling
an endpoint-setting method on X?
Jeff
- Original Message -
From: "John Baker" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 24, 2005 6:21 AM
Subject: Re: Dynamic Endpoints
> I think t
hi,
I use axis as a client for a .net webservice.
The client is on localhost (i use eclipse), and the webservice is
https://X.X.X.X:8443/bgwBroker
The client side call webservice on the url "localhost:8080" and i try to
do a proxy with the TCPMonitor to redirect to https://X.X.X.X:8443/bgwBroke
Title: Message
Hi
Has anyone seen an
error like this before, or know what needs to be done to cure
it?
org.xml.sax.SAXException: Deserializing parameter
'ProvidentResponse': could not find deserializer for type
{http://ProvidentConnector.ProvidentResponseToOrch}ProvidentResponse
Th
Has no one seen this problem before?
-Original Message-
From: Jairam, Roopnaraine
Sent: Thursday, June 23, 2005 2:41 PM
To: axis-user@ws.apache.org
Subject: using proxy to connect to server with ssl and arrays
i am getting the following error when trying to send
an array with more than o
TCPMonitor (supplied with axis) is the tool you want
Cheers,
Are T. Tysnes
-Original Message-
From: Thibaut Lassalle [mailto:[EMAIL PROTECTED]
Sent: 24. juni 2005 14:53
To: axis-user@ws.apache.org
Subject: how can i see xml exange between client and server
hi,
i use the wsdl2java pro
hi,
i use the wsdl2java program to generate a stub to access webservices.
Therefore i only manipulate java object.
How can i see xml exange between client and server ? Because i have to
see if they are well formed.
Thanks
Also I don't see any JSESSIONID in cookie area while watching under tcpmon. Am
I doing something wrong? Java client runs fine and behaves as expected but
.net client raises issue on second method call.
-Raj
From: Rajesh Patel [mailto:[EMAIL PROTECTED]
S
Hello,
I'm also not familiar with Axis internals...
When migrating an application from Axis 1.1 to 1.2.1, the .Net started
to throw an exception with the array parameters.
After some tries of making "manual" soap requests (with the soap packets
generated by Axis1.1 and 1.2) to .Net I found that
I think the answer to my question is:
http://blah.com"; />
So I can define this in the wsdd, but I wish to set it at runtime. I am
doing the following:
- Using wsdl2java to create Java stubs, with a deploy.wsdd,
- Altering the deploy.wsdd to deploy the Stub,
- Deploying to Axis server (we'll cal
Ok.
Can I start by asking, given this:
http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
Can you tell me how to add the XML declaration to set the endpoint?
John
On 6/23/05, Ian van der Neut <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm having a problem with obtaining a PDF from a webservice as an
> attachment. The first time I call the web service, everything works as
> it is expected, but the second time, the client side seems to hang on
> reading the
is it possible to define a serializer globaly?
If written a serializer for serialize none bean-conform objects with Xstream.
this works. MyClasses with no standard-consturctor defined ( like java2wsdl to this ) as
xsd:anyType
now i want do use my serialiezer for this type.
Is it possible
Sorry, John, my little brain need more input! Please given a comprehensive
explanation of exactly how you want you software to behave.
- Original Message -
From: "John Baker" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 24, 2005 4:58 AM
Subject: Re: Dynamic Endpoints
> I am specificall
I am specifically talking about setting wsdd parameters/service-locators
programatically. I.e I have a wsdd which defines a service, and I want to
alter the service-locator through some other random part of a web app :)
On Thu, Jun 23, 2005 at 04:43:35PM -0400, Jeff wrote:
> It depends on how dyna
It depends on how dynamic you want things to be. If you are talking about
server-side wsdd then you could just as well declare parameters in web.xml
and retrieve values using the standard servlet API.
- Original Message -
From: "John Baker" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 24,
Well you can specify a soap:locator in the wsdd file. That's loaded into the
internal Port instances. But how does one look them up programatically?
On Thu, Jun 23, 2005 at 04:25:25PM -0400, Jeff wrote:
> Not too sure about 'stuff' either :-)
>
> Each service has an endpoint which is, presumably
Not too sure about 'stuff' either :-)
Each service has an endpoint which is, presumably, better than a name. Where
do you anticipate getting the names/endpoints from?
I just re-read your original posting, John.
Suppose there are three computers, A, B and C. Suppose too that A runs the
simple c
Well I assume each Service has a name, so looking it up by name would be
nice. I assume that the deploy.wsdd is parsed and 'stuff' is created
internally...
On Thu, Jun 23, 2005 at 04:12:54PM -0400, Jeff wrote:
> Dunno about clean. Dunno about looking up instances of a service. What
> criteria are
Dunno about clean. Dunno about looking up instances of a service. What
criteria are you using for choosing between the different service instances?
- Original Message -
From: "John Baker" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 24, 2005 4:09 AM
Subject: Re: Dynamic Endpoints
> Yep.
Yep. I appreciate I could use a static method, but this doesn't seem very
'clean'... And I'm quite intrigued to how one looks up instances of a
service (or rather, the factory that creates them) through Axis..
John
On Thu, Jun 23, 2005 at 04:09:20PM -0400, Jeff wrote:
> Do you mean two or three
Do you mean two or three different instances of the same service?
- Original Message -
From: "John Baker" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 24, 2005 4:06 AM
Subject: Re: Dynamic Endpoints
>
> That's one way. But I may wish to deploy the same class on two or three
> different
That's one way. But I may wish to deploy the same class on two or three
different services and set some parameters differently, hence I'm wondering
how to look it up by service/port ..?
On Thu, Jun 23, 2005 at 04:02:59PM -0400, Jeff wrote:
> I cannot see the problem! Just create a static method f
I cannot see the problem! Just create a static method for your stub and use
it to initialize the endpoint.
Jeff
- Original Message -
From: "John Baker" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 24, 2005 3:19 AM
Subject: Re: Dynamic Endpoints
> Quite, but this isn't precisely what I
Hi Joerg
The capability of getting wsdl for a deployed service is not there in axis2
yet , it will definitely be there in next version . Because when we release
Axis2 M2 we did not have implemented Java2WSDL so you can not get the wsdl
for a deployed service.
We are very sorry for the mistak
Quite, but this isn't precisely what I meant. I'm generating a deploy.wsdd
file and deploying the Stub itself. So when Axis creates instances of the
Stub, the cachedEndpoint variable (inherited from Stub.java) is null. I'd
like to set this programatically from another part of the web application
(A
36 matches
Mail list logo