Hi All,
I need a clarification on different service styles used in Axis 1.0.
I'm sending the SOAPxml String as a parameter to invoke the webservices
...Java objects are generated using WSDL2Java and it will be the input
parameter for the method in the webservices..
Here the client should invoke
Hi!
We are using axis (the latest build from Jun 10 2003) on WebSphere which is
running on z/OS. We have tested the following samples and they work:
- Calculator.jws
- MyService that is under /samples/userguide/example3 directory.
We have the following problems (PR1 and PR2 that are described
Well,
Lets say you want to make a client application which talks to a webservice
and
the people who run that webservice give you the wsdl. Just generate. Same
goes
for portals, like in our project, in which the portal dictates the
webinterface to several
connected organizations, therefore they
Thanks Leo,
We get interfaces and Somebindingstub java files after using WSDL2Java tool
for a wsdl file.
What is the use of _bindingstub.java generated when using WSDL2Java?
Please clarify
Thanks,
Niket
- Original Message -
From: Leo de Blaauw [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hallo,
I have a question with Axisfaults.
I generated my own Fault as a subclass from AxisFault and set the faultCode,
but when I want to get the faultCode on the client-side I only get the
default faultCode Server.generalException. The correct faultString I get.
Thanks
Michael
listing:
public
Hi
Say "inner" and "outer" are two
java beans (see below for their definition). "outer" bean contains "inner"
bean.
Now one of my functions return
"outer" bean. I want to expose this function as Web Service using AXIS. Do
I need to write serializer and deserializer for this OR I can use
HI Naresh,
Youcan use the
BeanSerializer.
Iam doingsomething
similar. I have a Bean containing a Bean and a Vector of other Beansand it
works fine.
Kai
Hi
Say "inner" and "outer" are
two java beans (see below for their definition). "outer" bean contains
"inner" bean.
No need to write any serializer for nested beans. You can use axis bean
serializer to serialize them.
---
Venkatesh Kancharla
_|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_| _|_|_|_|_|
_| _| _| _| _| _| _| _| _| _| _|
_|_|_|_|_| _|
I've done this with JBossMQ as proof of concept for a project we are
working. I was not able to use the wsdl2Java tools to generate the stubs.
Instead I wrote my own - actually is was fairly easy. My JMS listener is a
standalone program as well.
There is a book by Wrox - Axis Next Generation
Well,
It seems to be working under jdk 1.4 only problem left now is that on the
call:
SOAPEnvelope respEnvelope = call.invoke(envelope);
I get a weird empty exception thrown:
axis faultString: (0)
dump AxisFault:
faultCode: {http://xml.apache.org/axis/}HTTP
Hi,
First of all, thanks to Vlad Umansky for helping me get to the point where
I can invoke the Unisys Weather web service. My code now successfully
invokes the web service and gets a response. Unfortunately, no matter what
zip code value I supply as the input parameter, I always get back
.NET services require a SOAPAction to be set (usually the URI to it,
might be an alias) in order to work. Just add whatever the service
requires for a SOAPAction and it should be fine.
Matty
On Thu, 2003-06-12 at 10:07, [EMAIL PROTECTED] wrote:
Hi,
First of all, thanks to Vlad Umansky
Hi Matty,
Haven't I already done that in the following statement:
call.setProperty(Call.SOAPACTION_URI_PROPERTY,
http://www.unisys.com/WebServices/GetWeatherText; );
Thanks,
Michael Sobczak
NuTechs, Inc.
6785 Telegraph Road, Suite 350
Bloomfield Hills, MI 48301
pager: (248) 316-6524
Hi All,
I need a clarification on different service styles used in Axis 1.0.
I'm sending the SOAPxml String as a parameter to invoke the webservices
...Java objects are generated using WSDL2Java and it will be the input
parameter for the method in the webservices..
Here the client should invoke
Hi,
We just added an input / output logging handler wich logs the outgoing and
incoming xml
first thing in the axis handler chain, very helpfull to find out whats going
over the line from
a log file. Offcourse you can also use the axis soapmonitor but that means
changing ports
etc to get it in
I usually start tcpmon at port 8081 as a proxy and set the system properties
(-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8081) before running my client.
-- dims
--- Leo de Blaauw [EMAIL PROTECTED] wrote:
Hi,
We just added an input / output logging handler wich logs the outgoing and
Yes,
For a client that would work fine to, on our server the log handlers provide
more options to log
in and outgoing xml message straight from the wire if we have to i think.
Greetings,
Leo de Blaauw
-Oorspronkelijk bericht-
Van: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Verzonden:
Thanks Anne,
It really makes me understand about it...
Thanks a lot for this help
Niket
- Original Message -
From: Anne Thomas Manes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 9:55 AM
Subject: Re: Very basic Questions
Niket,
1.) The WSDL
Hi Kai
thanks for
reply..
I tried using BeanSerializer
but it's not working..
I have declared thebean
mapping for both the beans "inner" and"outer" in wsdd file as
follows:
beanMapping
qname="myNS:innerbean"
i've the same problem.
any help?
A.T.
-Messaggio originale-
Da: Fan [mailto:[EMAIL PROTECTED]
Inviato: sabato 22 marzo 2003 14.51
A: [EMAIL PROTECTED]
Oggetto: Axis ignores the xsd:attribute ref=.../. It's a bug or Axis
never supports it?
I have a schema including a xsd:attribute
Whatever rocks your boat :)
--- Leo de Blaauw [EMAIL PROTECTED] wrote:
Yes,
For a client that would work fine to, on our server the log handlers provide
more options to log
in and outgoing xml message straight from the wire if we have to i think.
Greetings,
Leo de Blaauw
Hi Davanum,
Thank you for the code. It worked great!
I'd like to understand some of the changes you provided. First off
1) I needed to use call.setOperationUse(literal) because the
GetWeatherText operation defined the soap body with soap:body
use=literal/, right?
2) How would I have
Albert Bupp schrieb:
I'm trying to understand why I'm seeing differences between the WSDL
packets being returned from what's ostensibly the same service
deployed on 2 different machines. Both machines are running Axis
v1.1RC2, one deployed to Tomcat v3.3.1a, the other to Tomcat v3.3.1.
The
Hi
I've used the 'SOAPHeaderElement(java.lang.String namespace, java.lang.String
localPart, java.lang.Object value)' constructor to create a Header element,
but I'm having a problem in that I have defined the associated namespace as an
attribute of the SOAP Envelope element, and don't want the
Hey There,
I have a problem I have not seen discussed here, so perhaps it's personal.
I implemented a WS using AXIS (June 11 - nightly build). I utilized
Java2WSDL to create the WSDL from an interface class. I then used WSDL2Java
to create both server and client stubs.
Here's the problem, this
Hey There,
I have a problem I have not seen discussed here, so perhaps it's personal.
I implemented a WS using AXIS (June 11 - nightly build). I utilized
Java2WSDL to create the WSDL from an interface class. I then used WSDL2Java
to create both server and client stubs.
Here's the problem, this
#1. yep.
#2. http://marc.theaimsgroup.com/?t=10516472624r=1w=2
#3. Because the WSDL/Schema mentions that the parameter needs to have a namespace (it
cannot have
an empty namespace)
tip
When in doubt, run WSDL2Java against the WSDL, inspect the generated code, modify your
code
accordingly.
Hi,
I was going through the mailing list but couldnt find the solution
for my problem so thought of sending a message to the list.
I am using wsdl2java tool to generate java client for invoking
web-services. Web-services requires basic HTTP authentication to
authenticate clients. If I
Is there anybody out there have experience setting up Axis
to allow https as the protocol instead of just http. The documentation of Axis is not clear
on this at all. (This is same for most stuff out there; it becomes really vague
when it comes to SSL). I am using
Tomcat 4 as my app
Hello
Do you have sample serializers and deserializer for this?
thank you very much"Agarwal, Naresh" [EMAIL PROTECTED] wrote:
Hi
Say "inner" and "outer" are two java beans (see below for their definition). "outer" bean contains "inner" bean.
Now one of my functions return "outer" bean. I
Hello
Do you have sample serializers and deserializer for this?
thank you very much"Agarwal, Naresh" [EMAIL PROTECTED] wrote:
Hi
Say "inner" and "outer" are two java beans (see below for their definition). "outer" bean contains "inner" bean.
Now one of my functions return "outer" bean. I
Does AXIS 1.1 AxisFault class support a generalized SOAP Fault
mechanism?mai00bil [EMAIL PROTECTED] wrote:
Hallo,I have a question with Axisfaults.I generated my own Fault as a subclass from AxisFault and set the faultCode,but when I want to get the faultCode on the client-side I only get
hello,
i heard that some ws-tool-vendors do not support attributes in xml schema. i
also heard that axis will go in the same direction. does anybody have some
information about how the future will look like regarding this point. in need
that information to keep the compatibility of my
FWIW:
Microsoft's MapPoint Web Service uses a little polymorphism.
(http://staging.mappoint.net/standard-30/MapPoint.wsdl)
Though it didn't run without problems, the Axis v1.0 WSDL2java did properly
create the mappings for MapView and it's descendants, though they're
relatively simple objects.
it's not that i already got a problem with axis. as i said..i just heard about
that direction of lacking support of attributes for releases in the future.
how about that?
mischa
Can you send me the XML schema sample you have that may not
work with AXIS WSDL/Java ?
Michael Zurke [EMAIL
My understanding is that attributes get converted to SOAPElements as defined by the
JAX-RPC spec.
The JAX-RPC specification does not specify a standard Java mapping for a
xsd:complexType with the xsd:attribute. So the message part in the
DoAnotherExample message is mapped as a SOAPElement. see
What WS Vendors are not support XML Schema xsd:attributes .../?
Are there particular XSD data types that AXIS WSDL processor
can not handle as an attributes value?
This goes back to my original question regaeding level of support for
all required XML Schema Part-I: Structure and and XML Schema
xsd:attribute ../are valid XML Schema 1.0 constructs.
WS-IBasic Profile mandates the use of XML Schema as the type system for WSDL descriptions of Web Services.
It does not seem like AXIS is WS-I Basic Profile compliant. Does anyone know if there are plans to fix this? If AXIS can not support
settle
down.
-Original Message-From: Mr. Document Service
[mailto:[EMAIL PROTECTED]Sent: Thursday, June 12, 2003 12:27
PMTo: [EMAIL PROTECTED]Subject: RE: Re: support of
xml attributes
xsd:attribute ../are valid XML Schema 1.0
constructs.
WS-IBasic Profile
I'd be interested in knowing this as well as I am currently creating WSDL files that
have attributes in the schemas.
-Original Message-
From: Michael Zurke [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:05 PM
To: [EMAIL PROTECTED]
Subject: Re:Re: support of xml attributes
One idea is to make the method that services the request actually be a
'dispatcher' - that uses Java reflection to invoke the correct method
on the correct handler object based on the input parameters.
Furthermore - depending on the scope of your implementation - if you
are not 'publishing' your
mike: using axis 1-1RC2 i had no problem using WSDL2Java even if there were
attributes in my schema. are you're sure that axis has problems with that?
mischa
Am Donnerstag 12 Juni 2003 21:15 schrieb Herrick, Mike:
My understanding is that attributes get converted to SOAPElements as
defined
WSDL2Java might not choke on it, but does Axis serialize/deserialize it @ run time?
I am far from an Axis expert. I tried this at one point, had problems, referred to the
spec and decided to stay away from attributes.
Mike
-Original Message-
From: Michael Zurke [mailto:[EMAIL
even at runtime i had no probs.
maybe anybody has an idea in which case axis fails with attributes.
mischa
Am Donnerstag 12 Juni 2003 21:55 schrieb Herrick, Mike:
WSDL2Java might not choke on it, but does Axis serialize/deserialize it @
run time?
I am far from an Axis expert. I tried this at
Hello all,
I'm writing an Axis Handler that implements the WS-Security Username
Token spec. For those of you that aren't familiar with it, it's a nice
way of putting usernames and passwords in the header of a SOAP request,
using digests, so that they are verified in a more secure manner.
I
Hi,
A few weeks ago I was happily running Axis 1.1 (RC2) .jws
examples and the Admin Tool. I was using it with Tomcat
3.3.1, no problems.
I didn't do anything with it for several weeks, and I went
back today just trying to do some of the same things, but
now trying
The SOAP spec prohibits the use of attributes in RPC/encoded messages.
From SOAP Section 5 [1]:
The rules for serialization are as follows:
1. All values are represented as element content.
Perhaps this is the source of confusion? Document/Literal definitely
supports attributes, though, and
Folks,
If you find a bug, PLEASE report it - guidelines @
http://ws.apache.org/axis/bugs.html.
-- dims
--- Herrick, Mike [EMAIL PROTECTED] wrote:
WSDL2Java might not choke on it, but does Axis serialize/deserialize it @ run time?
I am far from an Axis expert. I tried this at one point,
Thanks a lot Anne - just baggage from when I tried to use RPC Encoding then.
I wasn't aware that Axis could handle it - that is great news to me. My XML payloads
won't have to be as bloated now.
Thanks for the clarification.
Apparently I'm the one who needs to settle down ;)
Mike
Thanx Anne,
so this means that I also will have no problems with attributes using axis the
rpc/literal way, right?
Am Donnerstag 12 Juni 2003 22:49 schrieb Anne Thomas Manes:
The SOAP spec prohibits the use of attributes in RPC/encoded messages.
From SOAP Section 5 [1]:
The rules for
I seem to recall reading (but I can not remember where) that when using message-style
for a web service, only one operation may be included per web service as Axis can not
determine which operation to execute. Are there any plans to remove this limitation?
I have to use message style because
Hi,
I'm trying to add entries into the Axis/Soap Header.
Using env, Axis 1.1rc2 (with all the libraries provided in the lib directory
in the zip + Xerces 2.4.0) on IBM JDK 1.3 running in Websphere Studio 5.0.1
I followed the answer provided at http://ws.apache.org/axis/faq.html#faq18
So I
I suggest trying one of the nightly builds. I had a similar problem that
was recently fixed.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 6:51 PM
To: [EMAIL PROTECTED]
Subject: Re: WebServices using SSL
I had also problems trying
Hi
I am using Tomcat 4.1 for
deploying my AXIS applications. When I create a AXIS application, then I should
put the class and jar files in
TOMCAT_HOME\webapps\axis\WEB-INF\classesand TOMCAT_HOME\webapps\axis\WEB-INF\lib
respectively.
However, I don't want to keep
class and jar files at
Yes this also works for me. Thanks.
When will this new code become part of a release?
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 15:47
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Smith,AP,Adrian,XSJ62 R
Subject: RE: style=document 1_1RC2
Hello All,
I have some very basic Questions as:-
1)Why do we need WSDL file?-- if we want to deploy service we do it by wsdd
2)Why there is need of WSDL2Java tool?--- just to have interface and
binding stub java files.Why is the need of stub files as while deploying
services we just need wsdd and
This will be part of 1.1 final release.
-- dims
--- [EMAIL PROTECTED] wrote:
Yes this also works for me. Thanks.
When will this new code become part of a release?
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 15:47
To: [EMAIL PROTECTED];
Niket,
1.) The WSDL file describes the Web service from a client's point of view.
It defines what the service does (the interface and the format of the input
and output messages), how to use it (the bindings and protocols that should
be used to contruct messages), and where to find it (the
58 matches
Mail list logo