Hi,
I found once that interoperability for HashMap of Strings is good
between axis 1.1 and Perl, using RPC/Encoded.
using literal encoding, it doesn't work anymore.
The problem is that you will need wrapped/literal mode for
interoperability with .Net :)
So, Anne is right, you should avoid
How do I use the axis-admin task to get a list of the deployed web services?
Thanks,
D Sledge
__
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
You can specify the file path of the WSDL
in the server-config.wsdd configuration file.
service
!-- add your service configuration
elements here --
wsdlFile/yourService.wsdl/wsdlFile
/service
The file is not a URL but a resource location.
I can't remember exactly how it looks for the file
Two questions on TCPMon.
If I originally wants to connect to
https://www.xyz.com/Axis/DownloadService, when I use TcpMon, is this how I
should use: set listening port 5050, target host www.xyz.com and target port
443, and change my request to http://localhost:5050/Axis/DownloadService?
Second
Well that explains that problem.
If I use anyType, I'll need some way to specify a deserializer for the
element.
The actual deserializer is trivial, just return the MessageElement, but
is there an easy way to map the deserializer to that element?
Actually it would be ok to treat all anyType
Hi Suzy,
The wsabi4axis project at http://sourceforge.net/projects/wsabi4axis has the
functionality that you are looking for. After configuring your web services
with a WSABI Handler, information about each invocation on your web services is
collected and persisted. Using an intuitive GUI,
Well, there is a valueComplete() method that
you could override. In the body of the method, call super.valueComplete()
and then release your deserializer back into the pool.
If you haven't already done so, it's a good
idea to download the source for Axis. Then you'll be able to investigate
what
Viktor Vojnovski se proiznese na 15.12.2004 17:40:
Ok. So I generate stub implementation with wsdl2java.
Write the implementation and return the object as neccesary.
This object(the type) contains a plethora of other objects and arrays of
them. One of those arrays is a collection of people's
Title: Nachricht
Thanks. Geez - that was a quick answer and right then when I needed it
:-)
I'll
give valueComplete a try after source reading ;-)
Best
regards from Black Forrest,
Mattin
P.S.
If s.o. is interested in the simple pool code I can post some code excerpts
here...
This code is working for me now, to both encode and decode multiRefs.
My deserializer is based on the MapDeserializer included with Axis.
AxisServer server = new AxisServer();
server.setOption(AxisEngine.PROP_DOMULTIREFS, Boolean.TRUE);
MessageContext msgContext = new
Hi
I don't understand how is done the matching between parameters and java
method.
I use the simple java program Calculator.java which have 2 methods add and
subtract.
The subtract method have 2 parameters p1 and p2 :
public int subtract(int i1, int i2) which substract i2 to i1
I modify
Hi All;
1.4 Final has been released and could be downloaded at
http://www.apache.org/dist/ws/axis-c/
The following features were added to this release:
1. SSL implementation2. Cookie based session support for the client side(AXISCPP-226)3. SOAP header based session supportfor the client
Microsoft publishes a book called .NET and J2EE Interoperability, but I don't
know how much good it is going to do you. Here's the things I found out on my
own in my last project:
1) You have to run Axis 1.1 because .NET doesn't support certain SOAP encodings
generated by Axis (strings for
Hi Suzy,
You could try the AmberPoint Express product. It's a
freebie cut-down developer oriented tool from their
management suite.
It runs in Tomcat (only Tomcat I think), has a nice GUI
showing who called what when and what response times
were etc.
I've used it with Axis and it works fine.
Given this very simple .NET web service in C#, can someone get a Java
client using Apache Axis to access it? I am trying at this moment to do
so.
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using
Title: Nachricht
Hi,
little
status report: for simple deserializers this tactics works fine: just return
deserializer in valueComplete after calling
super.valueComplete.
A
problem (which I cannot track down currently due to time limitations) is arising
in case of overriding the
I got it working, will post Java code if others desire to see it.
I think the main thing was to make the .NET service an RPC-style
service.
-Original Message-
From: Steve Ichniowski
Sent: Thursday, December 16, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Java Client accessing a .NET
It's not urban legend, you missed an important detail..NET can handle arrays of
complex types, but you run into interoperability problems when the complex
types consist of things other than XSD primitives. Don't take my word for it,
here's Microsoft's tech note on the subject:
Title: Message
Greetings,
I am trying to
generate Java stubs fromWSDL (see attached WSDL). I get the
following error from wsdl2java (see below), running Axis 1.2 RC2. My WSDL
is generated from XAware product, and seems to work, at least from what WSDL
test tools from XAware tell me.
Any
Title: User Ser/Deser when an object has a Class
Is there anyway to setup Axis so that if an object has a property of type java.lang.Class it will use a specified serializer/deserializer?
I thought the following might work but it doesn't seem to :
typeMapping qname=myNS:Class
Would it work if instead of making .Net RPC-style, you make Java's
doc/lit/wrapped style?
Steve Ichniowski wrote:
I got it working, will post Java code if others desire to see it.
I think the main thing was to make the .NET service an RPC-style
service.
-Original Message-
From: Steve
So, what types do you have that aren't in the list ?
-Original Message-
From: ANDREW MICONE [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 11:12 AM
To: [EMAIL PROTECTED]
Subject: RE: Java Client accessing a .NET Web Service
It's not urban legend, you missed an
Sorry,
Typo below:
As in should have PART = part name=nameParam type=wsdlns:astring
TMG
TMG wrote:
Christian,
I think the type for the part name (nameParam) must refer to an
element (or complex type) defined in your schema type, not a xsd:string.
Refering to message:
message
I was just thinking that, I'd like to try that. I would prefer to
do it that way since .NET defaults to the document style.
-Original Message-
From: Vy Ho [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Java Client accessing a .NET
Christian,
Maybe the third time is the charm :).
Change the message to be:
element name=astring type=xsd:string /
message name=HelloWorld.Execute
part name=nameParam element=wsdlns:astring
documentation xa:default= xa:description= /
/part
/message
I had the right words,
I'm not sure if this is answering your question, but let me see if I can help
out. I've successfully used WSDL's to generate most of my Axis code. When
dealing with xsd:anyType, you just need some code to correctly type it. If you
are using Java you just need a series of if-then-else statements
Andrew,
Thank you for your comments but my problem is much simpler.
I simply want to get the MessageElement so I can work with the defined
(and Java code generated) element as arbitrary XML while still having
the advantage of the other elements in the message wrapped in generated
Java objects.
Title: Message
Hi Tom,
Thanks for the quick answer, but it
didnt fix the problem. :-(
I cutpasted the latest
changes you sent me, but it still breaks. Actually it breaks few steps
below in WSDL file, on "definitions/portType/operation", having a attribute
(soapAction) in a wrong
Title: Message
Christian,
the soapAction attribute is only valid for the binding
element, not the portType element
replace
operation
name="Execute" soapAction="http://localhost:8090/action/HelloWorld.Execute"
parameterOrder="nameParam"with
operation
Title: Message
Greetings,
I am trying to
generate Java stubs fromWSDL (see attached WSDL). I get the
following error from wsdl2java (see below), running Axis 1.2 RC2. My WSDL
is generated from XAware product, and seems to work, at least from what WSDL
test tools from XAware tell me.
Any
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
I've seen some strange behavior when using wsdl2java against a running
web service w/ DOC/Literal/Wrapped binding, when I define a header
INOUT parameter (and thus use ParamDesc.setInHeader(true) and
ParamDesc.setOutHeader(true)). The generated methods in
All,
Please see the stacktrace below. Is there something that I am doing
to cause this, or is this a bug that I'm observing?
Thanks in advance,
-John Walker
Hello,
I tested with 100MB error comes from java side. I hope this log helps
Btw, I tried to set timeout to 5 min, but it's
Hi Everybody,
I have learned that in order to maintain sessions in web services that
use Apache Axis some effort (configuration) is required on the client
side.
If the client is a browser, then it can send the session cookie back to
the server on itself. But web services clients could be stand
Does anyone know how to include the documentation tag in the automatic wsdl
generation in axis?
What I actually want is when my web service endpoint is called via
http://...?wsdl that the returned wsdl will include documentation about the web
service with a documentation tag that I told axis
Title: Nachricht
Hi,
I did
a similar approach with not only pooling the SimpleDateFormats but complete
Deserializers.
Now
Irecognize, that returning a complete Deserializer to its pool in the
"onEndElement" method is a bad choice, because its value was not yet
retrieved.
Is it
assured
I don't know where the urban ledgend that .NET can't handle arrays of
complex types that contain complex types comes from, but its not true. I
have a service that returns arrays of complex types containing arrays of
complex types and it works fine with a .NET client.
Cheers
Simon
-Original
36 matches
Mail list logo