Hi,
I'm using Axis 1.1.1 and my WSDL contains the following:
xsd:group name=VehicleType
xsd:choice
xsd:element name=Car type=TCar/
xsd:element name=Aeroplane type=TAeroplane/
/xsd:choice
/xsd:group
xsd:element name=Vehicles
xsd:complexType
xsd:group
Can Axis2 wsdl2java not handle imported schema files? The imported
xsd file gets renamed to xsd0.xsd and all the namespaces in it are
ignored. xsd0.xsd is not referenced in the new wsdl - why is it
creating a NEW wsdl? and all the types that reference xsd0.xsd get
changed to xsi:anyType,
To user your user defined wsdl, add :
parameter name=useOriginalwsdltrue/parameter
to the services.xml file.
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007 4:45 PM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2]
that will never work as the imported namespace is renamed by Axis2:
original WSDL:
xs:import id=askRepoTypes
namespace=uk:ac:ox:oucs:ask:repo:ws:types schemaLocation=ask-repo-
types.xsd/
ask-repo-types.xsd is renamed to xsd0.xsd, so ask-repo-types.xsd does
not exist in the deployed
Hi all,
I would like your thoughts and know about your experiences on the following
subject matters and approach.
We have an Axis2 1.1 running and use Java clients based on the userguide
SOAPClient example.
Such a clients should now migrated away from Java to a Microsoft Environment.
We
Josef
Have you already posted any TCPMON traces of the interactions with
PocketSOAP? If not I'd love to look at them. TCPMON captures the HTTP
level flows and you can save to a file.
Paul
On 3/19/07, Stadelmann Josef [EMAIL PROTECTED] wrote:
Hi all,
I would like your thoughts and know
Paul,
No I have not done so. So far the examples to the existing PocketSOAP
Servers run very well even through our out-going proxy gateway
which demands username and password to get access to i.e. to a stock
quote server. However we total fail talking to any Axis2 servers. The
PocketSOAP line
removing the import and embedding the schema directly in the wsdl
types solves the problem. Looks like wsdl2java can't handle imported
schema.
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 19 Mar 2007, at 08:57, Alistair Young wrote:
that will never work as the imported
On 3/19/07, Alistair Young [EMAIL PROTECTED] wrote:
that will never work as the imported namespace is renamed by Axis2:
original WSDL:
xs:import id=askRepoTypes namespace=uk:ac:ox:oucs:ask:repo:ws:types
schemaLocation=ask-repo-types.xsd/
ask-repo-types.xsd is renamed to xsd0.xsd, so
Hi Sumedha,
jibx-bind-1.1.4-SNAPSHOT.jar and jibx-run-1.1.4-SNAPSHOT.jar are
correct. I ran the build before I checked in the change to make sure the
files were found, and you can see them in the repository at
http://jibx.sourceforge.net/maven/jibx/jars/
I have offered to move these to one
xs:import id=askRepoTypes
namespace=uk:ac:ox:oucs:ask:repo:ws:types schemaLocation= ask-
repo-types.xsd/
I'm using trunk from about 2 weeks ago. I can only use trunk as I
need the xsdconfig support, which isn't in 1.1.1. The xsd and wsdl
are in the same directory.
But those generated xsd
Are you using any element Name named as class or Class
On 3/17/07, eric zhou [EMAIL PROTECTED] wrote:
Hi,
I met the following error while compiling client code generated from
wsdl2java,
[javac] \client\StopServiceStub.java:26070: getClass() in
cient.StopServiceStub.Class31 cannot
On 3/19/07, Alistair Young [EMAIL PROTECTED] wrote:
xs:import id=askRepoTypes namespace=uk:ac:ox:oucs:ask:repo:ws:types
schemaLocation= ask-repo-types.xsd/
I'm using trunk from about 2 weeks ago. I can only use trunk as I need the
xsdconfig support, which isn't in 1.1.1. The xsd and wsdl are
it seems you still using Axis2 1.1.1
take a build from this link
http://people.apache.org/dist/axis2/nightly/axis2-SNAPSHOT.zip
I used -ss -sd -g -u -ssi
but it does not matter.
On 3/17/07, Carlos S. Zamudio [EMAIL PROTECTED] wrote:
Thanks Amila. I appreciate your trying this out. Could you
Anne Thomas Manes schrieb:
.NET uses unwrapping by default.
On 3/18/07, Florian Wachs [EMAIL PROTECTED] wrote:
Hello all !
Since quite a while I have the same problem and no solution (well I
guess everyone has to face such a problem sooner or later :-) ). I´m
quite new to webservices and
I tried adding all the dependency jars and still get the following error:
Mar 19, 2007 8:23:58 AM org.apache.axis2.transport.http.AxisServlet doPost
SEVERE: java.lang.NoSuchMethodError:
org.apache.axiom.soap.impl.builder.StAXSOAP
ModelBuilder: method init(Ljavax/xml/stream/XMLStreamReader;)V
I'm new to Web services so I'm learning as I bumble along. The code
below signs the document correctly so that part's working. It just seems
to me that passwords should never be cleartext. What does one normally
do in this case, use HTTPS?
-Original Message-
From: Ruchith Fernando
-Original Message-
From: Stadelmann Josef [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 15. März 2007 14:39
To: axis-user@ws.apache.org
Subject: AW: Sessions with Axis2
That happens mainly in a time-out-condition.
I wonder why you do not see the SOAP fault such as invalid
I have not tried with both. but it should be. I have tried with wsdl2java
tool and it works fine.
On 3/17/07, Sampige, Srinivas [EMAIL PROTECTED] wrote:
Is it possible to provide a WSDL URL to the AXIS2 code generator? I
would like to generate a client (only) for a remote webservice. I have
Normally we send UsernameTokens with plain text passwords using HTTPS
Thanks,
Ruchith
On 3/19/07, Rich Adili [EMAIL PROTECTED] wrote:
I'm new to Web services so I'm learning as I bumble along. The code
below signs the document correctly so that part's working. It just seems
to me that
Both of these jars are already in axis2\WEB-INF\lib. I receive the error
when I click on the validate link.
Tammy
Thilina Gunarathne wrote:
Please try adding stax-api-1.0.1.jar and wstx-asl-3.2.0.jar (woodstox
stax parser)..
--
Tammy Dugan
Computer Programmer
Regenstrief Institute, Inc.
Hi,
I have a Web Service that works jus fine in a development enviroment (It
has been tested with client), but in a production Enviroment the response
captured with tcpmon is:
HTTP/1.0 501 Not Implemented
Server: squid/2.5.STABLE11
Mime-Version: 1.0
Date: Mon, 19 Mar 2007 13:51:16 GMT
Yes, there are MIME boundaries but the message looks something like this:
--MIMEBoundaryurn_uuid_72EC4B349174A8C3141174305830430
content-type: application/xop+xml; charset=UTF-8; type=text/xml;
content-transfer-encoding: binary
content-id: 0.urn:uuid:[EMAIL PROTECTED]
?xml version='1.0'
Dear Axis developers, please can you wake up and realize that the whole world
wants simpler access to get/set HTTP headers (and cookies in particular).
Please forget your low-level development mindset for a moment and appreciate
that the absence of this kind of thing is crippling a lot of your
Hi,
I have a wsdl which contains a message data has got xs:base64Binary
data.
The Code generated using the code generation tools presents the
setInfo(DataHandler) function.
Now all the example I have seen talk about attachment etc. (which I'm
not really interested) as the data is passed in the
I've just made some measurements, transferring files using MTOM in Axis2
on tomcat. My client and servlet are on the same machine. Attachments
are cached. For files of 1mb or more, the transfer rate,
client-to-servlet, is about 3.7mb per minute. In contrast, a file
system copy transfers at
Hey Jorge,
It worked, it was the parameter when generating the certificate.
Thanks
Luis
From: Jorge Fernandez [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 18, 2007 7:21 AM
To: axis-user@ws.apache.org
Subject: RE: An unsupported token was provided (Problem
Several reasons :-)
First, a file system copy can make use of low-level OS mechanisms to
speed up transfers, and even in some cases, delegate the job to the disk
manager chipset. You will never get these speeds with a web service, as
it will never have direct access to the client file system.
hello.
question regarding hot update - axis2 is running as a server.
1. deployed an aar
2. axis2 picks it up and installs it
3. deployes again same aar, class files have changed
4. axis2 picks it up and installs it, after undeploying the previous instance
but: the class files are not reloaded.
Thanks, Rodirigo, but the problem is not my disks.
I changed the code to generate bytes on the fly, instead of from a
source file. I changed the reference from localhost to 127.0.0.1. I am
just looking at the file in the attachment directory; not moving or
copying it. I continue to see it grow
Is there a way to find out where a client is making a request from, ie:
localhost or somewhere else?
Thanks,
Nate
In Axis 1.4, you can use code like this:
boolean isClientLocal = true;
MessageContext msgContext =
MessageContext.getCurrentContext();
String remoteIP =
msgContext.getStrProp(org.apache.axis.Constants.MC_REMOTE_ADDR);
if
Amila,
Thanks so much for you patience with this. Maybe I am dense, but below is
the command line that I have run to generate the JAR's and I am certain I am
using the SNAPSHOT release (see below) as you have suggested. Any
additional suggestions?:
C:\
Hi all,
when a service acts as client for another service, an anonymous name is
created. However the id is not unique, so I'm getting the exception
below.
I think is something similar to JIRA 1182. Is it possible to commit the
patch I've submitted for it?
Thanks,
Michele
Everyone,
I have an existing web application that I am adding Axis2 web services
into. I was looking for a minimal list of jar files as well as additional
configuration steps needed to add Axis2 functionality to my existing war.
Could you point me in the right direction?
Regards,
Joshua
On
Thanks, but I am using Axis2. I have found the follwoing information:
MessageContext msgContext =
MessageContext.getCurrentContext();
HttpServletRequest request = (HttpServletRequest)
msgContext.getProperty
When I try to make the calls, I have the following error:
The method getCurrentContext() is undefined for the type MessageContext.
I get this error within Eclipse.
Thanks,
Nate
- Original Message -
From: Michele Mazzucco [EMAIL PROTECTED]
To: axis2 axis-user@ws.apache.org
Sent:
Hi Ruchith,
I just use an Axis2.xml file to configure the client and a Service.xml
file to configure the server. I did some tests with only action
Encrypt and they failed with the Generic error X509Data invalid length
of data to encrypt or something like that. So I suppose that no
encryption was
hi everyone!
i'm quite new to axis2 and hope you can help me out regarding a few issues i'm
stumbling over...
first my environment:
i'm trying to use axis2 on linux (opensuse 10.2) with java 1.6 and apache 2.0.59
/resin 3.1.0
since resin gives problems when using the built-in xml-libs, i've
That is weird, because I have the same configuration and mine is working
at the moment.
Can you send back your axis2.xml?
And, what server are you running again?
Thanks!
Roshan Punnoose
Phone: 301-497-6039
-Original Message-
From: Tammy Dugan [mailto:[EMAIL PROTECTED]
Sent: Monday,
I am running the axis2 1.1.1 release since I can't get the nightly build
to run. I am using Tomcat 4.1. Even without attachments, the message I
am getting is weird. I am getting the following message back:
--MIMEBoundaryurn_uuid_695DC8E94169A52D5E1174330901578
content-type:
The right call is MessageContext.getCurrentMessageContext().
http://ws.apache.org/axis2/1_1_1/api/org/apache/axis2/context/
MessageContext.html#getCurrentMessageContext()
Michele
On 19 Mar 2007, at 18:06, Nate - Hotmail wrote:
When I try to make the calls, I have the following error:
The
Hi,
I am using Axis2 1.1.1 ADB and would like to enable persistent
connections. Any help would be appreciated.
I searched the archives but I only found a couple of posts that alluded
to this. I have debugged into the client code and
can see where CommonsHTTPTransportSend::cleanup() is
I tried with the minimum configuration and I don't get any error but
the SOAP message is as follows:
?xml version='1.0' encoding='utf-8'?
soapenv:Envelope xmlns:xenc=http://www.w3.org/2001/04/xmlenc#;
xmlns:wsa=http://www.w3.org/2005/08/addressing;
Hi
I have the following configuration
JDK1.4.2.13
JBOSS 4.0.5 (axis21.1.1 war deployed on it)
Axis2 1.1.1
Rampart 1.1
Used the same certificate store and properties file that are shipped
with Rampart binary distribution
I'm trying to send and receive a message that is digitally
Amila,
Thanks for your reply.
No, I don't have any element Name named as class or Class.
However, I did find that the error has something to do with defining an enum
type inside the service implementation class.
Because after I remove the enum type, and replace it with plain String,
Hi all,
I have the following architecture of an axis web service with attachments.
The attachments are parameters
of the type DataHandler.
-- ---
--
| .NET Client |
I found that the SOAP Monitor phase is the last one called in inflow
messages and the first one called in outflow messages. So I used
tcpmon to see the exchanged SOAP messages and are OK.
Thanks for your interest
On 3/19/07, Konstantinos Pateras [EMAIL PROTECTED] wrote:
I tried with the
Hi,
I think that JDK 1.4.x has some policy restrictions so you must
download the Java Cryptography Extension (JCE) Unlimited Strength
Jurisdiction Policy Files 1.4.2 (jce_policy-1_4_2.zip) from SUN and
install them in your JRE (it is just a copy paste).
On 3/19/07, Vibhor_Sharma [EMAIL
I generated an AXIS2 client, when I try to run the client I get the
following exception. Any help is appreciated. I have attached the WSDL
and the test source file.
[java] Caused by: java.lang.NullPointerException
[java] at
I forgot to include more details in my previous post -
The same WSDL and works in AXIS1. I am running Tomcat5.5.2
I generated an AXIS2 client, when I try to run the client I get the
following exception. Any help is appreciated. I have attached the WSDL
and the test source file.
Thanks
I did that and copied the files in my jre/security folder
But it does not help it gives the same error as before.
I guess you are also trying to do the same (encrypt, decrypt) the soap
request. Did you get the same error as I'm getting?
I have tried signing the message and it works fine
Just for the reference attaching the files used
This might help
If there is some issue with the environment then do let me know.
Thanks in advance.
-Original Message-
From: Konstantinos Pateras [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007 6:15 PM
To:
The results aren't substantially different with the files below.
Rampart doesn't add any headers, unless rampart-core-*.jar precedes
rampart-trust-*.jar in the initial classpath. These two .jar files each
contain META-INF/module.xml.
I downloaded
Difficult to diagnose without seeing the input source xml
M--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain information
On second thought Rampart uses the Merlin JCE so probably this is not
your problem. I managed to encrypt and decrypt the message without
getting this message that you are getting. I used the portecle-1.2
tool to create the self-signed keys and export/import the certificates
to keystores. I used
Looking at your service.xml and axis2.xml I found out that I use the
property of the passwordCallbackClass in all my inflow and outflow
handlers.
On 3/20/07, Konstantinos Pateras [EMAIL PROTECTED] wrote:
On second thought Rampart uses the Merlin JCE so probably this is not
your problem. I
Hello,
This problem is happening when I run WSDL2Java on a service that is exposing
types that may clash with java types such as:
found : java.lang.String
required: myPkg.MyServiceStub.String
String prefix2 =
Okay,
Here is the input xml; unfortunately when I uncomment the line that sets the
parameters it does not make it as far as sending anything on the wire so I
cannot get the full xml on the TCP monitor.
TestRequest xmlns=http://tempuri.org/;
inputParam xmlns=hello/inputParam
I dont see the 3 arg method.. the implementation I see for writeStartElement is
final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter;
Namespace URI = http://w3.ibm.com/schemas/services/2002/11/15/stockquote
xmlWriter.writeStartElement(URI,
OK I think fixed it by including -u when I run wsdl2java.
But now I'm getting 166 classes instead of the 4 I was getting before.
Is there another way to solve this problem.
Thanks
Houman
From: Houman Babai-Amameh [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To:
What's your app server which jdk version..
On 3/19/07, Tammy Dugan [EMAIL PROTECTED] wrote:
Both of these jars are already in axis2\WEB-INF\lib. I receive the error
when I click on the validate link.
Tammy
Thilina Gunarathne wrote:
Please try adding stax-api-1.0.1.jar and
Please use the latest Axiom jars... I fixed some major performance
issues in the file caching lately...
~Thilina
On 3/19/07, Betsy Frey [EMAIL PROTECTED] wrote:
Thanks, Rodirigo, but the problem is not my disks.
I changed the code to generate bytes on the fly, instead of from a
source file. I
Hi folks, I wrote a client code for accessing a simple web service. But SOAP
request generated by axis2-saaj-1.1.1.jar seems to be having problem.
I'm not able to add a text node to the ws operation element. I'm puzzled, am i
doing something wrong or API is not working properly? pls suggest.
Hi Srinivas,
Eclipse plugin does support the remote URL when do wsal2Java.
What went wrong in your invocation? can you post which remote wsdl that you
tried.
Thanks
Lahiru
On 3/19/07, Amila Suriarachchi [EMAIL PROTECTED] wrote:
I have not tried with both. but it should be. I have tried with
I am trying to authenticate my client to an AXIS web service. I have a valid
certificate to the service ... I want to know how do I attach the certificate
to this standalone JAVA client so that the service will recognize it.
The service is running on Tomcat. The standalone JAVA (along with the
Hi Vibhor,
Do you have the bouncycastle jar (bcprov-*.jar) in the classpath?
Thanks,
Ruchith
On 3/20/07, Vibhor_Sharma [EMAIL PROTECTED] wrote:
Hi
I have the following configuration
JDK1.4.2.13
JBOSS 4.0.5 (axis21.1.1 war deployed on it)
Axis2 1.1.1
Rampart 1.1
Used the same
Hi Jan;
Which Axis2 version are u using ?
Thanks
Deepal
Jan Kriesten wrote:
hi everyone!
i'm quite new to axis2 and hope you can help me out regarding a few issues i'm
stumbling over...
first my environment:
i'm trying to use axis2 on linux (opensuse 10.2) with java 1.6 and apache
2.0.59
Hi Michele ;
Will do it today.
Thanks
Deepal
Hi all,
when a service acts as client for another service, an anonymous name is
created. However the id is not unique, so I'm getting the exception
below.
I think is something similar to JIRA 1182. Is it possible to commit the
patch I've submitted
hi deepal,
Which Axis2 version are u using ?
i'm using version 1.1.1
best regards, --- jan.
hi everyone!
i'm quite new to axis2 and hope you can help me out regarding a few issues
i'm
stumbling over...
first my environment:
i'm trying to use axis2 on linux (opensuse 10.2) with
I have a requirement to invoke a Web Service with an SWA message. I
believe that this may not be possible
because Axis 2.0 only supports SWA on inbound messages ? If so, was
there a reason that only the inbound functionality was developed ?
Regards,
Robert
when generating code we generate the java.lang package Class names with
fully qualified names.
i.e. String (if intended is default String) it should be java.lang.String
What I can see is that there is a missing string in stub without java.lang.
part
On 3/20/07, Houman Babai-Amameh [EMAIL
Hi Stephan ;
It will be gr8 if you could help me to re-create the issue,
pls create a JIRA and attach whatever necessary to re-create the issue.
Thanks
Deepal
hello.
question regarding hot update - axis2 is running as a server.
1. deployed an aar
2. axis2 picks it up and installs it
you are using axis2-1.1.1-SNAPSHOT not axis2-SNAPSHOT
please use the link I gave you.
thanks,
Amila.
On 3/19/07, Carlos S. Zamudio [EMAIL PROTECTED] wrote:
Amila,
Thanks so much for you patience with this. Maybe I am dense, but below is
the command line that I have run to generate the
Hi all,
I was able to use the x509.pfx.msft sample key file included with the WSS4J
download to encrypt a SOAP request. However, I got the Wrong key usage
exception when using a different PFX file exported from IE (both
public/private keys were exported). Is there something special about the
Is it possible to use rampart as security engine in not axis web service? (I
need only server side implementation)
I have searched all manuals, and forums, but found only instructions on
deployment of rampart inside axis2 service.
I know that I can do such thing using WSS4J, all that stops me
76 matches
Mail list logo