Title: trying to access ServletContext within axis webservice
File destination =
new File(context.getInitParameter("TREND_JDBC_FAULT"));
If you
are getting parameters from the ServletContext, they need to be defined as
context-params in web.xml, which precede any servlet
elements.
To
Title: RE: trying to access ServletContext within axis webservice
Thanks a million Keith, that works for me.
-Original Message-
From: Keith Hatton [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2005 09:17
To: [EMAIL PROTECTED]
Subject: RE: trying to access ServletContext within axis
Dominik and all,
As on date, does Axis support list enumeration? WSDL2Java is
succeeding in producing some code for list enumeration in wsdl, but
the generated code is incomplete (no enumeration specific
variables/fields are found in the code). Am I missing something, or
does it have to do with
Thank Tim for replay my message !
Second , sorry for de double post
Your solution works very good !
But with this solution I must modify axis.jar, and I can?t.
Have you got another solution for my problem ?
Tks again !
Regards,
Joaco
-- Mensaje original --
Reply-To: [EMAIL PROTECTED]
I want to write an AXIS Web Service java client program that uses AXIS
stubs on a doc/lit web service wsdl that is provided by third party
like netmethods.com
However I am interested only in 2 way SLL implementing web services (I
guess netmethods.com web services are not 2 way ssl enabled) and
Hi All,
Say I need to access a third party web service url
https://www.mycom.myc/net/WS whose server implements 2 way
SSL authentication. I wrote java web service client program that uses
Apache AXIS generated stubs to connect to this
web service.
Now my question is what are the steps that need
Hi,I created a simple wsdl file with gSoap and wanted to create the java classes with WSDL2Java. But WSDL2Java does not create the method. What´s wrong with the WSDL file?
Regards,Alex
?xml version="1.0" encoding="UTF-8"?definitions
The namespace is valid, but there's no schema associated with it.
Therefore other SOAP implementations aren't able to resolve elements
or attributes from that namespace.
On Wed, 19 Jan 2005 15:42:08 -0700, Steven Dahlin
[EMAIL PROTECTED] wrote:
In using the Java2WSDL app or by handcoding I am
Hello.
I'm very new in SOAP and I have a big question.
I have a simple SOAP client that suppose to call a method like
public MyMessage processMessage(MyMessage x)
Unfortunately I'm not able use the server side of the SOAP. This means
that call is going to a servlet where it should be processed
UDDI.org provides a hosted v3 test registry. IBM, Microsoft, SAP, and
NTT all supply replicated nodes in that registry. See
http://www.uddi.org/register.html for the URLs of these registry
nodes.
Systinet also provides a hosted test registry. See
http://www.systinet.com/uddi/web.
But if your
Hi,
if the client doesn't call setMaintainSession(true) the JSessionID cookie
doesn't get transported to the server. The server keeps creating a new
session and also a new bean.
thanks,
sk
- Original Message -
From: Wiener, Zach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
The scope (session, application, request) on the server side tells Axis
how many instance of the server implementation classes to create, it
doesn't have much to do with the session on the client side. The client
is not aware of the session scope on the server side. So you can for
example use
thanks Tim.
I was of the opinion that the implementation was done for statelessness.
thanks for the eye-opener.
SK
- Original Message -
From: Tim K. (Gmane) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 20, 2005 11:49 PM
Subject: Re: Question about session scope
The
On the generated FooServiceLocator call setMaintainSession(true)
Or you can cast the generated Stub to javax.xml.rpc.Stub and then call
stub._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.TRUE) which is
the JAX-RPC way.
Both work in Axis, but the first one is Axis specific while the
Thanks. But I have multiple services. On teh server side, I have 4 SOAP
services and each has itw own WSDL. When I generated the code for each WSDL,
it generated XXXServiceLocator for each service. Calling
setMaintainSession(true) on all service locations maintains the same
session? I need to
Btw, for the first case you need to call setMaintainSession(true) on the
Service _before_ you get any Stubs from it.
Something like this (assuming AxisTest is my web service):
AxisTestServiceLocator ats = new AxisTestServiceLocator();
ats.setMaintainSession(true); // Axis specific
AxisTest stub
I have the same problem. Unfortuantely it's not possible without
patching the Axis code. I will be working on that in the next couple of
weeks because I need it for my project. I will submit the patch to Axis
once completed, but that doesn't guarantee it will be accepted. You can
contact me in
Hi after tracing the Axis source code I can tell this:
When the AxisClient call the .invoke method I receive an OutOfMemory
exception (while the message I try to send is big one).
AxisClient.invoke() - SimpleChain - HTTPSender - Message -
SOAPPart - ByteArray - ByteArrayOutputStream.
The
I have a service method that takes
java.lang.Object. In WSDL it is mapped as xsd:anyType. This can be either
byte[], DataHandler or AttachmentPart. When I call this method using the
generated stubs and pass in byte[] it works fine. But when I call the same
method by passing AttachmentPart
On Wed, Jan 19, 2005 at 03:52:38PM -0500, toby cabot wrote:
Even if they were serializable they're big and I don't need the _any
stuff so I'm wondering if there's some way to turn the _any parsing
off and tell Axis to ignore elements that aren't in the schema.
Still haven't found what I was
Hi all,
I'm new to Axis and have looked through the
documentation and the mail archives for the
recommended way to create and deploy Java web
services, but cannot come to complete solution.
I would like to start with a Java class web service
implementation and be able to deploy it automatically
Title: Recommended way for validation in web services Environment
Hi
I am creating a service to insert a row in table. Before inserting, the data need to be validated. So how the service should communicate all the missing data elements or other validation issue, back to the "requestor of the
Hi All,
The WSDL generated from a simple class does not go though
SOAPscope WS-I test.
It fails in 3 different points:
Assertion: WSI2102 Message: An XML schema import element
references something other than an XML schema definition: the referenced element
does not have "schema" from XML
The first one is a false assertion from the WS-I tools, if
you read the WS-I BP erata, you'll see that it wasn't suposed to make inline
schemas illegal.
The second one is because you have an rpc/encoded service,
which uses that arrayType, you'll need to change your service to be doc/literal
After looking into the code, I found out that deserialization for arrays
(Bworks automatically in rpc/encoded mode, but not in document/literal
(Bmode. The workaround is to register a serializer/deserializer in the
(BWSDD file like this:
(B
(BtypeMapping
Doesn't WSDL2JAVA generate beanMapping tags? If you ran that tool you
could grab the beanMapping entries from the generated deploy.wsdd and
stick them into your custom service-config.wsdd.
PS: it seems that you are starting from java classes and generating your
WSDL rather than vice-versa. I
Hi,
I am looking for a java based web services server that does not need
tomcat or an http server to be hosted but could be easily integerated into
an existing java application.
thanks,
Douglas Kunzman
Sensor Systems
Work 703-437-7651 x693
Mobile 571-228-1048
Axis has a built-in minimal HTTP server from what I read, but I never
used it so I don't know the details. Look into it a little bit and see
if it will work for you.
Tim
Douglas Kunzman wrote:
Hi,
I am looking for a java based web services server that does not need
tomcat or an http server to
I think previous email is referring to
http://wiki.apache.org/ws/SimpleAxisServer
Peter
Tim K. (Gmane) wrote:
Axis has a built-in minimal HTTP server from what I read, but I never
used it so I don't know the details. Look into it a little bit and see
if it will work for you.
Tim
Douglas
I am trying to use the message type service - i can get the basic example
working (it returns the input) but I can't seem to get a service doing
anything with the Document instance working.
Service method
public Document testService (Document doc){
// do something with doc besides return it
}
I tried to do this too.
I spent ages trying to get it working, but it didn't.
The MsgProvider has a switch statement that checkes the method type. The
problem I had was that the value being tested was never set in the
OperationDesc. Therefore, I'd just get an error message saying that it was
Hi Paul,
that seems more like plain enumeration. I was asking about
enumerations wrapped inside a list element, something like
xsd:simpleType name=foo
xsd:list
xsd:simpleType
xsd:restriction base=s:string
xsd:enumeration value=bar1/
32 matches
Mail list logo