On 1/10/07, Nilesh Ghorpade <[EMAIL PROTECTED]> wrote:
Hi Gurus,
I have two issues.
1. When using AXIS 2 with ADB I get "Unexpected namespaceURI " exception.
I am not sure why the error should arise as it is coming from one of the
AXIS generated classes namely Helper class. This exception is e
Hi Chad,
I just tried out the user guide Axis2SampleDocLit sample and I was able
to invoke that service by using the client code given in the document.
I used the following client code fragment which is given in the user guide.
package org.apache.axis2.userguide;
public class testclient {
Hi Ulf,
You should be able to specify the axis2.xml file and the repo using
the following system properties in the client side:
axis2.xml
axis2.repo
Now you can simply set these properties in the SAAJ client and use the
axis2 modules.
Thanks,
Ruchith
-- Forwarded message --
Fr
Hi Gurus,
I have two issues.
1. When using AXIS 2 with ADB I get "Unexpected namespaceURI " exception. I
am not sure why the error should arise as it is coming from one of the AXIS
generated classes namely Helper class. This exception is encountered while
writting the start element
created AXIS2-1960.
thanks
Rishi
On 1/9/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Rishi ;
At the moment we do not have a way to provide parameters programatically
, I also think its a good feature to have . So please create a JIRA then
I will make sure to fix that before next release
Hi Everyone,
I'm looking for a WSDL design article.
We are providing web service interface for existing APIs, which
consist of nearly 50 business logic interface classes, in total it's
going to have about 300 business methods. Obviously, writing a single
WSDL which (flat) include all the methods
Hi schalk ;
Do you have the complete exception ? if so please post that.
Thanks
Deepal
>Hi All,
>
>I have a Java/Axis2 web service that is invoked by a .NET client. When the
>client invokes the service I get the following error.
>
>System.Web.Services.Protocols.SoapException:
>org.apache.axiom.om
Hi Janusz;
>
> but,
>
> The init() is called every time I invoke the method.
That will only happen if you deploy your service in request scope , if
you deploy your service in application scope then that will never happen.
> I saw a post on axis2 and it seems to be different there (lifecycle !
Hi Garth ;
What the Axis2 version are you using ? and what is the exception.
Thanks
Deepal
> Sorry, I forgot to include services.xml.
>
>
>
> Vendor Service Service
>
>
> http://www.w3.org/2004/08/wsdl/in-out";
>
> class="org.apache.axis2
Hi Rishi ;
At the moment we do not have a way to provide parameters programatically
, I also think its a good feature to have . So please create a JIRA then
I will make sure to fix that before next release.
Thanks
Deepal
> Hi
> Below is the snippet from the web.xml file that the axis2 servlet
>
Hi,
I am trying to convert a DOM Element to OMElement using the following toOM
code in org.apache.axis2.security.util.Axis2Util.
public static OMElement toOM(Element element) throws Exception {
try {
* org.apache.xml.security.Init.init();
* ByteArrayOutputStream os = new ByteArrayOutputStr
Anne,
FYI, Spring-WS supports AXIOM too.
thanks,
-- dims
On 1/9/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
Sorry for being vague. I was referring to the SOAP platform, not the
underlying servlet/J2EE platform. As I said, Axis2 can be deployed on
any platform. But AXIOM is particular to A
Yes -- non-standard.
On 1/9/07, ChadDavis <[EMAIL PROTECTED]> wrote:
Anne,
Thanks. The comparison to other "frameworks" makes this perfectly
clear, almost to the "duh" point. By proprietary you don't mean non
open source do you? Just non-standard?
Chad
> The fact that Axis2 supports a var
As I said:
"It supports any style of message (document/literal, rpc/literal, and
rpc/encoded)."
The WSDD styles "WRAPPED" and "DOCUMENT" produce document/literal messages.
Let me explain by example. Let's say you have a message that looks like this:
some string
another string
Anne,
Thanks. The comparison to other "frameworks" makes this perfectly
clear, almost to the "duh" point. By proprietary you don't mean non
open source do you? Just non-standard?
Chad
The fact that Axis2 supports a variety of databinding frameworks does
not change the fact that it does not
Yes. Axis2 communicates via SOAP, and supports reasonable
interoperability with any other web services platform that
communicates via SOAP. That is not the issue or consequence I'm
talking about.
If the client is implemented using AXIOM, then it is tied to AXIOM.
You cannot switch to Sun's JAX-WS
The databinding support is true for the client side as well. In case you
are using java for the client side then use one of the supported
databindings and you won't deal with AXIOM.
-Original Message-
From: Yadav, Yogendra (IT)
Sent: Tuesday, January 09, 2007 7:05 PM
To: axis-user@ws.a
Logically, it should, otherwise its a bug.
From: Rahul Devgan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 7:29 PM
To: axis-user@ws.apache.org
Subject: Re: What style fits best?
Hi Anne,
Referring to
"The "RPC" provider maps XML to Java
objects.
Hi,
I am using JAXB databinding and want to include the jaxb jars in .aar
file. The default build script generated by wsdl2java does not do it (or
I don't know how to do it).
I tried keeping the jar files in build/lib directory also tried keeping
them in resources directory, doesn't pick them up. A
Hi Anne,
Referring to
"The "RPC" provider maps XML to Java
objects. It supports any style of message (document/literal,
rpc/literal, and rpc/encoded). And depending on your settings, it can
map the XML message to a single object, or it can automatically
"unwrap" a message and map the children of t
Clients don't have to use AXIOM. Clients could construct a WS-I
compliant SOAP message whichever way they can, .Net, C++ or Perl clients
would do this.
Since JAXB and other databindings are supported, server side need not
use AXIOM either. Only if you choose no-databinding, you would be
dealing wi
Sorry for being vague. I was referring to the SOAP platform, not the
underlying servlet/J2EE platform. As I said, Axis2 can be deployed on
any platform. But AXIOM is particular to Axis2. (It is a separate
project, and other SOAP platforms could use it, but to date, the only
other project that I kn
As per the user guide, I'm trying to run the client and web service
built from Axis2SampleDocLit.wsdl
When I run the client I get a null pointer exception as follows:
Exception in thread "main" java.lang.NullPointerException
at
org.apache.axis2.description.ClientUtils.inferInTransport(C
I can confim a good build this morning of Axis2 trunk.
thanks,
dims
On 1/9/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
Hi Lin,
We've been working on a 1.1.1 release, which will hopefully be released today..
In my case, I was working in both 1.1 branch as well as in the trunk.
I did not e
El mar, 09-01-2007 a las 14:38 -0700, ChadDavis escribió:
> Thanks Javier.
>
> Could you clarify :
>
> > There is a class TypeSystemHolder generated for each children of
> > directory schemaorg_apache_xmlbeans/system. XMLBeans directly generates
> > the bytecode, so no wonder you don't see a .jav
Thanks Javier.
Could you clarify :
There is a class TypeSystemHolder generated for each children of
directory schemaorg_apache_xmlbeans/system. XMLBeans directly generates
the bytecode, so no wonder you don't see a .java file. This has caused
some confusion to Eclipse users (and users of other
Thanks. Indeed, wstx-asl-3.0.1.jar is in the distribution and works.
My mistake was that I began looking through the jars for the com.bea.
. . . class that was referenced by the classnotfounderror, and that
class doesn't exist in any of the jars. I didn't realize some other
class would suffice i
El mar, 09-01-2007 a las 14:20 -0700, ChadDavis escribió:
> Hello. I'm trying to build and run the web service discussed in the
> user guide; the one that is generated off of Axis2SampleDocLit.wsdl.
> I believe I have succesfully built and deployed the service itself.
> However, I've been unable
Please log a Jira at here[1] with the details..
Thanks,
Thilina
[1] http://issues.apache.org/jira/browse/AXIS2
On 1/9/07, Alessandro Busato <[EMAIL PROTECTED]> wrote:
Hi,
I'm using "mustUnderstand" attribute from gSoap Client to Axis2 service,
gSoap correctly put "mustUnderstand" attribute int
Chad,
Axis2 uses the woodstox stax implementation, which i have mentioned my
previous mail..
Everything works fine with them. Please try having only the jars which
came with Axis2 on the class path..
What's your JDK version?
Thanks,
Thilina
On 1/9/07, ChadDavis <[EMAIL PROTECTED]> wrote:
Thili
Hello. I'm trying to build and run the web service discussed in the
user guide; the one that is generated off of Axis2SampleDocLit.wsdl.
I believe I have succesfully built and deployed the service itself.
However, I've been unable to run my client. I get a classdefnotfound
on a class in the sch
Hi Lin,
We've been working on a 1.1.1 release, which will hopefully be released today..
In my case, I was working in both 1.1 branch as well as in the trunk.
I did not experience issues in either of them.
Please try doing a maven clean followed by an online build.
Thanks,
Thilina
On 1/10/07,
Hi Deepal, ok, I can run a 1.1 branch build. From Axis 2 website, it said
Axis2/java version 1.1 is released last Nov. So I had thought the Axis2
team is working on trunk instead.
Thanks.
Lin
-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08
I have deployed an AAR with WSDL like this:
http://foobar.com/FoobarService"/>
http://foobar.com/FoobarService"/>
http://foobar.com/
Sorry, I forgot to include services.xml.
Vendor Service Service
"http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
"http://www.w3.org/2004/08/wsdl/in-out"
Dies Koper wrote:
It depends on what you specify for the deployScope option. If you choose
"application", the init method will be called only once.
Well,
I tried the lifecycle business as well (via skeletons which call imp
classes explicitly in their init() method, i.e both skeletons a
Anne,
One consequence of selecting Axis2 is that it does not [yet] support
the standard Java APIs for web services (JAX-RPC and JAX-WS). Axis2
uses a platform-specific object model, AXIOM, which is based on StAX,
for processing XML. For the most control, you can use the low-level
API, which repr
Is there anyway that I can add a hook into Axis, at the server, to call
when a message has finished being sent back to the client? I have a
service which returns a large document, and right after it has been sent
back, I want to delete it. Any ideas?
Roshan Punnoose
Phone: 301-497-6039
BEG
All,
First, I'm a newbie trying to get the first "real" web service to work.
BTW, this works great using Eclipse and WTP but only on the same server
which sort of limits the approach.
Attached is a tar file of a simple PojoGuide clone that I have spent
days on trying to clear the last bug. I
Thilina,
Thanks for the help. I am, however, using AXIS2-1.1 and I still got
the class not found as described above. Actually, that was the intent
of my post -- to determine whether a jar was missing from the
distribution, or I had done something not quite right. Do you think
the jar was actua
what is the exception ?
From: Sven Schroebler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 12:04 PM
To: axis-user@ws.apache.org
Subject: [Axis2] Converting an OMElement into an Array of Objects
Hi All,
I am quite new to Axis2 and I am trying t
Ruchith,
Thanks for replying. I do see that WSS4J in version 1.1.0 did allow
one to use an older namespace. Is there a good reason why this
functionality was taken out?.
The way I see it now, is that I'll be forced to use older versions of
wss4j and older versions axis if I want to build a clien
Hi,
OMElement is available in axis2, correct?
I am downloading the file now. There should be samples for OMElement, correct?
thx.
sam.
- Original Message
From: Anne Thomas Manes <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Tuesday, January 9, 2007 3:37:11 PM
Subject: Re: consum
Hi,
the web service i am accessing is written in vb.net, but i am testing now with
the C# suppliers sample. when I used the wsdl2java this file was created:
If this is the correct file, how can I read the dataset using that file?
/**
* ShowSuppliersResponseShowSuppliersResult.java
*
* This file
I am looking for similar capability too... For the production, it is not
desirable to have "hard-coded" repository path...
Gul
From: Rishi krish [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 10:45 AM
To: axis-user@ws.apache.org
Subject: axis2 repo
Hi
Below is the snippet from the web.xml file that the axis2 servlet reads to
find the repository details.
axis2.xml.path
C:\axis2\myrepository\axis2.xml
axis2.repository.path
C:\axis2\myrepository
Is there a way that I can provide this programmatically at the server
startup - lik
Anne,
Many thanks for your answer. It was very enlightening and the
explanation was the first one in many documents that made it crystal
clear to me.
Hope this thread helps future axis beginner developers.
Thanks,
Pedro
Anne Thomas Manes wrote:
Pedro,
It's important to distinguish betwee
Pedro,
It's important to distinguish between the Axis WSDD "style" and the
WSDL "style". The Axis WSDD styles represent a combination of WSDL
styles and programming styles.
The WSDL styles include document/literal, rpc/literal, and
rpc/encoded. These styles represent the way messages are encoded
Don't try to expose Java-specific collection types through your
interface. For best results, define your interface (XML Schema) first.
Define your WSDL as wrapped document/literal.
Anne
On 1/9/07, schalk <[EMAIL PROTECTED]> wrote:
Greetings All,
I am in the process of deploying my first web se
Microsoft's Dataset maps to a proprietary XML type that is the bane
of those trying to achieve cross-platform interoperability. The
dataset includes an embedded schema that describes the contents of the
rows, and you're only option is to parse the schema at runtime.
You must receive the message
Hi All,
I have a Java/Axis2 web service that is invoked by a .NET client. When the
client invokes the service I get the following error.
System.Web.Services.Protocols.SoapException:
org.apache.axiom.om.impl.llom.OMTextImpl
I did a quick search on Google for org.apache.axiom.om.impl.llom.OMTextIm
Hi,
What's your problem with the dataset? I checked c# dataset and it is
different from traditional ado recordset and it is purely a collection of
data, disconnected from any datasource, such as a db table, or an xml file.
I guess the c# dataset might be mapped to a kind of java collection, such a
I fixed your bug in 1.1 branch. It should be there with 1.1.1 release.
Thankx for reporting this.
On 1/5/07, Mendei Krisztian <[EMAIL PROTECTED]> wrote:
Hi,
I have a problem with generating Java code from WSDL. I have these to
complex types derived one from another with restriction:
Hi,
I'm using "mustUnderstand" attribute from gSoap Client to Axis2 service,
gSoap correctly put "mustUnderstand" attribute into soap message header
but Axis2 recognize only "MustUnderstand" (M uppercase) attribute
(I checked it using http proxy tool).
I looked for soap12 protocol and mustUndersta
Greetings All,
I am in the process of deploying my first web service using Axis2. So far
everything is going well. One question I have is, is there anything specific
that needs to be done on my end to allow a .NET web service to invoke my Axis2
web service. As far as I understand the nature of web
Just to let you all know that Apache Synapse has released 0.91 to
celebrate our graduation from the Incubator.
The blog entry is here:
http://apache-synapse.blogspot.com/2007/01/apache-synapse-project-graduates-from.html
And its been picked up so far in a few places:
http://www.infoq.com/news/2
Hi Simone,
on the Apache homepage there's a guide how to migrate from Axis 1.x to Axis 2:
http://ws.apache.org/axis2/1_0/migration.html
Regards,
Manuel
Original-Nachricht
Datum: Tue, 9 Jan 2007 09:47:35 +0100
Von: [EMAIL PROTECTED]
An: axis-user@ws.apache.org
Betreff: Migrate
Hi all,
I've developed an application using Axis 1.4, deploying services
with wsdd strategy and using beanMapping.
I consume this services in a C# .NET client, so beanMapping is so
important for me.
How can I migrate my application to Axis2? How can replace wsdd deploying
and
how can I re
Hi ;
Please try ;
http://wso2.org/library/480
Thanks
Deepal
Sathija Pavuluri wrote:
>Thanks.
>Yes, indeed I was looking for the remote client's IP address, not the
>locathost's.
>I will try as you described.
>
>Sathija.
>
>
>
>
>>That would give you the address of the machine the request i
Ah ... good point !!! :-)
IMHO there's no provision to set a custom config context :-( ... and
... you MUST configure rampart to be able to work on the messages.
Also this raises the question as to how to engage modules with the
Axis2 SAAJ API?
Axis2 devs, what do you folks think?
Thanks,
Ruch
Hi,
The problem is that I am writing an application that connects to an existing
web service that I cannot control, I do not have access to the code and I
cannot change it.
My java program has to communicate with the .Net web service as is.
thx.
sam.
- Original Message
From: Mark Lin <
61 matches
Mail list logo