Hi,
I know this is off topic, but I think it may help you.
There is a much cleaner way to setup LogFactory on Websphere, without
doing the PARENT-LAST trick. See
http://www-1.ibm.com/support/docview.wss?uid=swg27004610 for details
[EMAIL PROTECTED] wrote:
I also had to specify a name-value pair
Title: Message
There seems to be a
disconnect between Axis Java and Axis C/C++. Axis Java, more specifically
WSDL2Java will handle a WSDL that uses the type xsd:anyType while Axis C/C++
does not. Glancing at the code it looks like Axis C/C++ supports xsd:any
but in a somewhat strange way
Hi, has anyone tried to compiled the new final release 1.2 source code?
I'm getting build failed with the following error:
build.xml:234: The following error occurred while executing this line:
taskdefs_post_compile.xml:12 taskdef A class needed by class
org.apache.axis.tools.ant.wsdl.Wsdl2javaAnt
As I remember, Castor behavior changed so that it now includes xsi:type
on root elements by default. I've seen case before where this causes
problems with .Net. You can turn this off using the
marshaller.setSuppressXSIType(true) call (within the Axis-Castor
serializer code, in this case).
- D
Hi all,
Answered my own question, finally.
Here's exactly what I did:
1) I removed the typeMapping element from the deployment for the SNIS
service and re-deployed.
Doing this restored the type information for the Configuration class in the
axis-generated WSDL file.
2) I copied this WSDL fil
Hi all,
Answered my own question, finally.
Here's exactly what I did:
1) I removed the typeMapping element from the deployment for the SNIS
service and re-deployed.
Doing this restored the type information for the Configuration class in the
axis-generated WSDL file.
2) I copied this WSDL fil
If you're forced to use Axis 1.0, then I think you will have to use
the message API and construct the messages manually. Axis 1.0 doesn't
support this type of complex document/literal service.
Anne
On 5/4/05, Swapna Gupta <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> I am very new to Axis, SO
Shantanu,
start from the WSDL (keep the elementFormDefault="qualified") and
generate the server-side using WSDL2Java ("-s" generates the server
side code) and use the deploy.wsdd that is generated.
-- dims
On 5/4/05, shantanu chawla <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I have tried many
Hello All,
I have tried many times without success returning simple arrays of
type string and int. I have created a simple webservice. my java
client works fine but I am not able to access the complete array in
the .NET C# client. I can access only first element of the item array.
My web service
Hi,
Is it possible to access soapheader through WSDL2Java-generated
proxy classes? In my WSDL file, the binding element specifies a soapheader
message of an input/output tag for an operation binding. I would expect the
proxy classes let me fill in the soapheader data, but I am not sure
Ann,
Your solution solved my second issue. Seems like my first issue is not a
problem, my service is working without them.
thanks,
Karl
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 04, 2005 11:17 AM
To: axis-user@ws.apache.org
Subject: Re: Wr
Hi,
I am very new to Axis, SOAP etc. I am constructing a client to consume
a webservice (Amazon webservice). The server on which the client is to
run, provides me with access to Axis 1.0, and I have no control over making
them use higher versions of Axis.
Using the WSDL available at:
Hi there!
Anyone can tell me an example, or
send me any code that shows a axis
client runing on a webapp on tomcat (say it 5.0.28) connecting to a web
service?
I can't put any example runing :(
I've tried install a fresh tomcat
but I got allways the same exception:
ClassCastException.
Please
Greetings, all -
I have been having a merry time indeed with Axis, deploying services,
creating Service objects by passing the URL of the automatically generated
WSDL file and then performing call() on them, all without any issue. I then
started experimenting with serialization.
I have a class n
Greetings, all -
I have been having a merry time indeed with Axis, deploying services,
creating Service objects by passing the URL of the automatically generated
WSDL file and then performing call() on them, all without any issue. I then
started experimenting with serialization.
I have a class n
Firstly, sorry for this dumb question.
I'm writing a server-side web service and exposing a method where the client
muxt enter usernamen and password
So i've just done something simple like this:
public void getUserNamePassword(HttpServletRequest request,
HttpServletResponse response) throws Se
Karl,
When using "wrapped" your response wrapper element should provide a
container for your return element. So what you want to do is define
types:Catalog as a child of your two response elements. e.g.:
Regards,
Anne
On 5/4/05, Schwarz, Karl <[EMAIL PROTECTED]>
Dear all
I thiink i may have answered my own question!
Cheers
From: "Plorks mail" <[EMAIL PROTECTED]>
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: messagecontext problem
Date: Wed, 04 May 2005 11:47:41 +
Dear All
My problem is i don't know how to pass the MessageCot
Dear All
My problem is i don't know how to pass the MessageCotext from my web service
to my handler
Eg. I have my handler with the following methods
handleSOAPResponse(MessageContext msgContext)
and
handleSOAPRequest(MessageContext msgContext)
I have a method
checkHeaderValue(msgContext) whic
Hi,
I am having trouble with a wrapped service definition. I've included the
wsdl below.
There are two issues I need some assistance with:
1. The wrapper classes are not being generated. If I define the return
type for both response messages(getCatalogAllResponse and
getCatalogT
Hi again!
As far as I know, Web Services are basically XML messages that are
exchanged via a http connection. That's why objects have to serialized
before they can be send over the network. So basically your service puts
information into the header and sends it to the client, which in turn
can
Henry,
Please add them to the wiki - http://wiki.apache.org/ws/FrontPage/Axis
thanks,
dims
On 5/4/05, Henry Lu <[EMAIL PROTECTED]> wrote:
> Hi Tom,
>
> I can contribute some code (ant build.xml, java) for creating web
> services on command line from interface, to WSDL, server code, client
> cod
Hi Tom,
I can contribute some code (ant build.xml, java) for creating web
services on command line from interface, to WSDL, server code, client
code, with/without SSL, Session handling, exchanging with IIS c#...
Please let me know if it will add value to your tutorial.
Thanks,
-Henry
>>> [EMAIL
Thanks for your reply!
I will take a look at your suggestions.
What's bothering me is that IBM clearly doesn not support Web Applications
running Axis SOAP Engine
running in WebSphere. I don't know if my company will take the risk to run an
unsupported application.
Maybe it's time to migrate t
Folks,
Just use the wiki to share the tutorial...you can create a user id on
the wiki and edit it. click on the Login on the top right corner.
-- dims
On 5/4/05, Tom Ziemer <[EMAIL PROTECTED]> wrote:
> Hi Sunil,
>
> thanks for sharing your time and your experience. This is really way
> more tha
Hi,
A littlle question
I have my java file with some methods in it
validateUser
externalWSMethod
and some others .
When a client comes in they go to the validateUser method and it is here i
need to create a soapheader to insert a value.
What i'm confused about is does the client create a hea
Hi,
here is what I did, to access the MessageContext:
// invoke the call
...
// then:
MessageContext mx = call.getMessageContext();
Message m = mx.getCurrentMessage();
I am not sure how to access the header information, but you could try this:
m.getSOAPHeader().getAttribute("someAttribute");
Hope t
Hi Sunil,
thanks for sharing your time and your experience. This is really way
more than I expected. Actually all of the points you mentioned are very
interesting and I would be happy if you could write a few pages. I'll
get started on this ASAP and send you a preliminary version.
Thanks a lot,
Hi Tom,
I can chip-in with a lot of practical experiences and tips like
1) Granularity of exposed interface ( for an existing web application)
2) Exception Handling ( including exception hierarchy)
3) Different ways of creating WSDL and their advantages
4) When to use SOAP headers
5) Implementing
Hi
Thanks for the explanation
I guess now i need to carry on with the next stage.
I need to read a header value, so need to pass the soap context
(MessageContext)
Can you show me how to do this? Is it soemthing like this
Many thnaks for your time and help
public getHeaderValue(MessageContext ms
Hi everybody!
I think it would be rather nice to have a tutorial (PDF) that covers the
basics and helps new users to get Axis up and running. Do you think that
would be useful? If so, does anybody volunteer to help me to write such
a tutorial? I'm thinking about covering the setup (Axis, Ant, To
Hi,
---
call.setOperationName("someMethod");
String ret = (String) call.invoke( new Object[] { new Integer(6) } );
---
First you set the operation name, that is, the service's method you want
to call then you excute the method (call.invoke()). The parameters for
the service are passed as an array
Hi
Can you explain the lline
String txt = (String) call.invoke(new Object[] { new Integer(6) });
How o carry on the code after this line
Sorry for my newbiee questions
From: Tom Ziemer <[EMAIL PROTECTED]>
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: invoke methods ws
I am successfully running a web application on WAS 5.1 using Axis 1.1. I have
had some problems with Axis1.2RC3 and WAS 5.1 but I got over those by using
Shared libraries to contain all the Axis jars and PARENT_LAST as the
classloader policy.
I also had to specify a name-value pair assigning t
Hello
Can someone show me an example or point me to a tuorial where the value of a
header is paicked up.
Do i use getHeaderByName?
Any help much appreciated
_
Be the first to hear what's new at MSN - sign up to our free newsletters!
Hello!
We are running WebSphere Application Servers in production and are
planing
on deploying a Web Application (Web Services, Axis 1.2 and Castor).
There are some issues deploying Web Applications containing Axis in
WebSphere
because IBM is using a "home-made" version of Axis inside WebSphere.
Hi
I'm setting up a web using Axis 1.2 RC3 using castor for
(De)serialization as described in
http://www-106.ibm.com/developerworks/webservices/library/ws-castor/
as I want to use the castor XML validation.
When I run the example supplied I get the following I get the following
response
37 matches
Mail list logo