Hi.
The user guide says, that axis2 can automatically export wsdl of
deployed services. Unfortunately I couldn't find any documentation how
to do it. So, I tried it the way it used to be in axis1
(webservice-url?wsdl), but that didn't work.
I'd appreciate any hints.
--Joerg
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
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: axis-user@ws.apache.org
Sent: Friday, June 24, 2005 3:19 AM
Subject: Re: Dynamic Endpoints
Quite, but this
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
Do you mean two or three different instances of the same service?
- Original Message -
From: John Baker [EMAIL PROTECTED]
To: axis-user@ws.apache.org
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
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: axis-user@ws.apache.org
Sent: Friday, June 24, 2005 4:09 AM
Subject: Re:
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
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,
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: axis-user@ws.apache.org
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
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: axis-user@ws.apache.org
Sent: Friday, June 24, 2005 4:58 AM
Subject: Re: Dynamic Endpoints
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 file.
Ok.
Can I start by asking, given this:
deployment name=test xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
service name=Example provider=java:RPC
parameter name=className value=com.blah.Example/
parameter
I think the answer to my question is:
soap:service location=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
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
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]
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
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
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
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
The
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/bgwBroker
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: axis-user@ws.apache.org
Sent: Friday, June 24, 2005 6:21 AM
Subject: Re: Dynamic
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
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?
Try this...
QName qn = new QName(somenamespace,somequalifiedname);
call.registerTypeMapping(yourbean.class,
qn,
new BeanSerializerFactory(yourbean.class,
qn),
new BeanDeserializerFactory(yourbean.class,
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
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:
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 havent
had problems yet with Java and .NET
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);
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
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 writingthe directory provided by the container, not WEB-INF or WEB-INF/attachments. See ServletSpecification 2.4 section SRV.3.7.1, where
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
32 matches
Mail list logo