I got it working eventually I must have removed the element
somehow. So basically the snippet below works. I also added
this plugin repository to myu pom
apache.snapshots
http://people.apache.org/repo/m2-ibiblio-rsync-repository
true
cheers
I am getting this error now executing the package command but i can't
seem to find the problem.
[INFO] Cannot find lifecycle mapping for packaging: 'mar'.
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingmar.
cheers
sumedha
Hard to determine what your looking for but looking at your ServiceLocator code
the chronology would be something like:
//Assuming your class is called ObjectType you should declare your own
ObjectTypeServiceLocator
ServiceLocator loc = new ServiceLocator();
//get the reference to the stored cl
Good Evening Everyone,
I have been working for several weeks to create a SOAP client using AXIS to
call a .Net Web Service. I would like to be able to capture the actual SOAP
message that is being sent.
From the WSDL file I ran WDSL2Java and then created this code for my
application:
try
{
But is there an option to control the *host* of the services? I am
getting an inaccessible address for the hostname of the service endpoint
(i.e. http://10.x.x.x/axis2/etc) but I want to have a proper domain name
in there (i.e. http://my.domain.com/axis2/etc).
Is this possible?
Thanks,
Jerem
i have the next serializetion code from axis1
will it work on axis2?
is there any other way to pass / serialize Objects ?
Thank you
Sharon
public Object deserialize(SOAPElement ele) {
String str = "";
for( Iterator i = ele.getChildElements(); i.hasNext();) {
Obj
Cool.
Glen
Am Freitag, den 18.05.2007, 12:14 -0700 schrieb Anil Chukkapalli:
> Glen
>
> I figured it out.
>
> Thanks
> Anil
>
> On 5/18/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:
> Glen
>
> I tried it out using the admin utility and it still does not
> w
as Dims pomited out you can see the web.xml servlet parameters (located in
WEB-INF)
in the case of services AxisServlet will be invoked
AxisServlet
/services/*
AxisServlet
Apache-Axis Servlet
org.apache.axis2.transport.http.AxisServlet
Ah, I see. Unfortunately this seems to define the URI of the services
relative to the host, but in my case it's the host itself that's
incorrect. I apologize for the confusion.
Jeremy
Davanum Srinivas wrote:
Jeremy,
In Axis2 1.2, there is a servicePath parameter.
-- dims
On 5/18/07, Jere
Yes, we already do this. Yes, *for* user provided wsdl.
-- dims
On 5/18/07, Ted Jones <[EMAIL PROTECTED]> wrote:
To clarify, I am referring to user provided WSDL here, not Axis2
generated WSDL.
Thanks,
Ted
-Original Message-
From: Ted Jones [mailto:[EMAIL PROTECTED]
Sent: Friday, Ma
Jeremy,
In Axis2 1.2, there is a servicePath parameter.
-- dims
On 5/18/07, Jeremy Smith <[EMAIL PROTECTED]> wrote:
Thanks for the reply!
In axis2.xml, I added this:
http://the.real.domain/axis2/services
underneath the transportReceiver for http. I have no idea if this is
what you meant,
Thanks for the reply!
In axis2.xml, I added this:
name="hostname">http://the.real.domain/axis2/services
underneath the transportReceiver for http. I have no idea if this is
what you meant, but it didn't have any effect.
Thanks,
Jeremy
Davanum Srinivas wrote:
Please look into your axis2.x
To clarify, I am referring to user provided WSDL here, not Axis2
generated WSDL.
Thanks,
Ted
-Original Message-
From: Ted Jones [mailto:[EMAIL PROTECTED]
Sent: Friday, May 18, 2007 3:04 PM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: RE: How does axis decide the endpoint URL?
Hi dims,
Has there been any consideration given to dynamically generating the
endpoint's host/port based on where the service is deployed?
Thanks,
Ted
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Friday, May 18, 2007 2:11 PM
To: axis-user@ws.apache.org
Subje
Please look into your axis2.xml under WEB-INF/conf there is a setting
there for hard-coding the url.
thanks,
dims
On 5/18/07, Jeremy Smith <[EMAIL PROTECTED]> wrote:
My server has a bit of a complicated networking setup. It is behind a
firewall with an external address, and it only knows about
Hi Everyone,
I was able to figure out how to set timeout & maintain
session in Axis2 from a client.
Here is how it is done ...
To set the maintain session in the client code which is
accessing the web service
Axis 1.
Hello,
I have a void method which is offered over an axis2 service. Of that
method I generated a client with axis2. Now it happens to be the case
that an Exception is thrown inside the void service method. But somehow
the client stub does not care about that. The exception is not thrown
furth
My server has a bit of a complicated networking setup. It is behind a
firewall with an external address, and it only knows about its internal
addresses. The problem is that in the wsdl that axis2 generates, it
directs clients to the internal URL and they can't connect.
How does axis2 decide
Yes, please use 1.2 and test *your* usage scenario thoroughly.
thanks,
-- dims
On 5/18/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:
Hi,
Is Axis2 stable enough to be used in Production environment?
Thanks
Raghu
--
Davanum Srinivas :: http://davanum.wordpress.com
--
Hi,
Is Axis2 stable enough to be used in Production environment?
Thanks
Raghu
Axis2 1.2
Apache Tomcat/5.5.12
Servlet version2.4
I only want to serve this one service; it's the only one I had and
there's no need for (apparently) failure-prone URI parsing. I wish I
knew how to configure this stuff.
Jeremy
Deepal Jayasinghe wrote:
Hi Jeremy ,
What is the axis2 version
Hi
Please look at verbosity flag in the following complex type definition.
When i try to generate the code in java i get the appropriate getter and
setters. When i try to generate client for C# i get another attribute
verbositySpecified which is a boolean , not sure why is this generate
Sure, please use "-d xmlbeans" if you like to work with xmlbeans.
tradeoff is xmlbeans is the slowest databinding that we support. You
don't need a newInstance with ADB, just use a new for the class
itself. If you find that ADB generated code is bad, please report the
wsdl/xsd in a JIRA issue.
th
apparently your WSDL referenced a QName (Qualified Name)
http://www.w3.org/TR/wsdl
whereas QName (Qualified Name) consists of namespace and LocalPart
http://www.w3.org/TR/xmlschema-2/#QName
so it looks as if the QName (Qualified Name) you have constructed is either
constructed QName is missing t
I've had no trouble building XML/SOAP messages by hand and doing the
calls using service client. However, I'm befuddled by the bizzarely
complicated stub that WSDL2JAVA created - it looks hundreds of times
more complicated than the actual SOAP message itself, and it doesn't
look like the examples
Hello,
First of all thanks for your hint with the modules.
Now that I want to create a module, my question is how to create .mar
files. I tried to zip the stuff, but somehow it does complain about not
being able to find the module.xml file (which I placed inside the
META-INF directory as i saw
Hi,
Does anyone have any idea about when is the Axis2 compatible version of
Apache Rampart is going to be released? I am eagerly waiting for it as I am
not able to move on with my Axis2 PoC due to rampart incompatibility.
Regards,
Darshan.
http://www.patni.com
World-Wide Partnerships. W
Hi All,
I'm trying to get an understanding of why I'm getting LinkageError on
the server and "First Element must contain the local name, Envelope"
error on the client. The sample application is using Axis2 for the
server and using a JAXBRI binding for the client. I read a couple of
other thre
Difficult to answer without seeing javasource and generated wsdl
please display the java source file
please display the generated wsdl
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.
Suedha,
Thanks for your response. I have updated my pom using
org.apache.axis2
axis2-mar-maven-plugin
1.2-SNAPSHOT
false
module.xml
and am now getting the following exception
[INFO] Scanning for projects...
[INFO]
--
Ah - it looks like you're getting an older version of the jibx-binding
jar file. The Jibx2Wsdl zip has updated versions of all the JiBX jars,
and you need to make sure those are the ones you're using. Probably
you're getting the older jibx-binding.jar and jibx-run.jar which were
included in the
Hi,
I am new to web services.
I created a few java classes, and I want to make a web service out of
them. With Axis 1.4, integrated into the Jonas server.
So I generated the WSDL using a little ant script that i wrote :
http://localhost:9000/axis/services/identification";
Dennis,
thank you for your reply, updating my Axis2 1.1.1 installation with
axis2-jibx-1.1.1c.jar helped a little - at least now I can see error
messages before the exception you probably are talking about (they are
not visible with the old axis2-jibx-1.1.1.jar however...). I am citing
them below.
Hi Pavel,
I don't know what could be causing this problem for you, and
unfortunately the exception stack trace cuts off the parts that might
provide some clues. I also haven't heard from anyone else having a
problem of this type.
You're not seeing any error messages prior to the exception, a
The migration guide has an example of porting an axis1 handler to an axis2
module:
http://ws.apache.org/axis2/1_2/migration.html#custom_deployment
You can use the ServiceClient API to engage the module client side. Google
for engaging the addressing module, as that is the most frequent use.
HTH
Ok, added a fix for this (along with a couple of other issues) to the
1.2 update and also backported the update to 1.1.1.
- Dennis
Dennis Sosnoski wrote:
Hi Joanna,
Misleading error message, an something that should probably not be an
error in the first place. What's really going on is tha
In Axis2 you can do the same thing with Axis2, you need to create a
module with your handlers and then need to engage that at the client side.
Please read the user guide then you will understand how to create a
module , if you have any question please ask them in the list. We are
more than happy
Hi,
Does AXIS2 support WS-Notification?
How Apache-Muse can be added as module in AXIS2?
Thanks,
Hitesh
Hello,
I come from axis 1 and I wondered how it is possible in axis 2 to place
client handlers in the workflow? (axis1 offered these ServiceLocators,
where I could pass an EngineConfiguration class).
thanks for you help,
Simon
-
Looks like there's still another issue with this, Amila. When I split
out the second schema from the WSDL into a separate file so that it
would work with the Axis2 ADB distribution I saw the full unwrapping
take place, as you said. But the generated stub has a problem in the
start... methods, w
Hi Dennis and others,
the Jibx2Wsdl tool really sounds very promising and long-expected.
Sticking to the instructions I however fail to run the example 1
provided at
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl/example1.
Executing 'ant' in the very beginning produces me the follow
Hello, I'm trying to develop a service with multiple ports in Axis2
1.2. This is the wsdl part:
http://localhost:8080/axis2/services/manufacturerb"/>
http://localhost:8080/axis2/services/manufacturera"/>
http://localhost:8080/axis2/services/manufacturerc"/>
> Deepal Jayasinghe wrote:
>> Hi Jack ,
>> If this is in the server side , you can get the message context and from
>> that you can get the SOAP envelope and from the soap envelope you can
>> get the soap headers.
>>
>> If it is the in the client side , the the process is ,
>> - First you get th
Deepal Jayasinghe wrote:
Hi Jack ,
If this is in the server side , you can get the message context and from
that you can get the SOAP envelope and from the soap envelope you can
get the soap headers.
If it is the in the client side , the the process is ,
- First you get the last operation cont
Yes. There is...
What you need to have in pom.xml is something similar to following...
org.apache.axis2
axis2-mar-maven-plugin
SNAPSHOT
true
false
modul
Is there a maven plugin for generated 'mar' archives? Can I just use the
aar-plugin to do the job or maybe the assembly-plugin.
cheers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
46 matches
Mail list logo