Platform: SUSE linux
Axis version: Nightly build (7th may)
I'm trying to run WSDL2C on an Amazon WSDL (
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
).
I've written a shell script called wsdl2c.sh, which consists of this:
sh `dirname
Hi,
I have downloaded axis2-SNAPSHOT.
And added the jar files in AXIS2_CLASSPATH
When I am running the command
java -classpath %AXIS2_CLASSPATH% org.apache.axis2.wsdl.WSDL2C -uri
calculator.wsdl -ss -sd -d adb -u
I am getting the error which previously I was not getting when I was
I am using Axis2 version 1.0.0 and using
http://people.apache.org/dist/axis2/nightly/axis2-SNAPSHOT.zip for
Axis2 java.
I am getting the following error on running the wsdl tool:
C:\axis2c\axis2c-src-1.0.0\samples\codegen\databinding\Calculatorjava
-cp %AXIS2_CLASSPAT
H%;%AXIS2_CLASSPATH2%
Hello,
I really need help for this problem, anybody can help me? Perhaps the
solution doesn't exist but perhaps I'm doing something wrong when I'm using
Axis2 (for exemple in the services.xml file)...
Thanks a lot!!!
Nicolas
-Original Message-
From: Nicolas Rouiller [mailto:[EMAIL
Hi Dim and Glen,
Thanks for your previous reply.
I have solved by my problem with the following experience:
1) Upgrade Axis2 to the latest version 1.2. And check the application.
The result is that the problem persists: Using standalone program
the binders work fine. Using the web
Hi all,
so overall, if i return a value in AXIOM can other programming language can
interact with this kind of data type?
from what i have done, if i return an OMElement as the result, in the wsdl
schema type
it will be defined as anytype. (e.g. if i return string as the result the
wsdl wchema
Dan
As Chathura also said, Synapse basically does what you want -
out-of-the-box. We already have built and tested samples where we do:
XML/JMS-SOAP mapping
and SOAP/WSRM-XML/JMS
We have also done plain-text/JMS - XML/SOAP.
Synapse is simply configured using an XML config file. If you send me
Hi All,
I am new to axis. I am developing a small demo for my customer and I
have to complete in 2 days. Can any one explain me the steps to
implement the below service.
Or if you have any similar sample can you please send it to me.
The web service will have one method xmlstring
Hi,
I want to ask a question about axis2 and .net communication. I have a problem,
when I send a value to the .net client, all the values coming as null or
default values. I am using eclipse. These are my steps;
I have create a java project. I have create a class ARUI015M;
package
Thanks for your reply. I believe I got a bit confused by a
callbackhandler that performs two totally different tasks.
I believe it would be a good idea to restructure some of the examples
in rampart to clarify this. In my opinion it would also be smart to
use maven2 for building the examples
Hi all,
just wondering how you guys deal in returning more than 1 resultset in axis
2?
basically I use arrayList since axis 2 doesn't support arrayList how to
return all the
result (search from database e.g. select * from table will return more than
1 result set)
any idea of this?
Thank you
Which version of Axis2 are you using? Have you tried 1.2? I think it
generates slightly more .NET friendly WSDL.
Paul
On 5/8/07, Ramazan Pekin [EMAIL PROTECTED] wrote:
Hi,
I want to ask a question about axis2 and .net communication. I have a
problem, when I send a value to the .net client,
If you are interested in interoperability, you should do contract
first design (wsdl2java) instead of java2wsdl.
HTH,
Stefan
2007/5/8, Paul Fremantle [EMAIL PROTECTED]:
Which version of Axis2 are you using? Have you tried 1.2? I think it
generates slightly more .NET friendly WSDL.
Paul
On
the code I've used at the listing below (server and client) are similiar
to the
http://ws.apache.org/axis2/1_2/mtom-guide.html, and I didn't
work... at the client, it goes an axis esception
ContentID is null, as
showed below but, looking at the messages showed by the tcpmonitor,
the file
What is the (xmlstring) parameter for in getAllEmployeeDetails? I would
think it would be empty, and not an xmlstring anyway.
Here is what I did for a simple web service (using math functions). It
may have some processes you can leverage:
Hi Luca,
Looking at the message traces it seems that your attachment is
transmitted inline.. Not as a MTOM attachment... It seems like you do
not have MTOM enabled in the Axis2 server (Notice that the MIME
boundaries are missing)... Please check the axis2.xml of your axis2
server..
Following
Am Dienstag, den 08.05.2007, 14:46 +0800 schrieb Xinjun Chen:
4) Comment the line SOAPEnvelope.toStringWithConsume(). Test the
application again. The application works properly.
5) Change the line to SOAPEnvelope.toString(). Test the application.
It works properly.
Previously I
Hi,
On 5/8/07, Stefan Magnus Landrø [EMAIL PROTECTED] wrote:
Thanks for your reply. I believe I got a bit confused by a
callbackhandler that performs two totally different tasks.
I believe it would be a good idea to restructure some of the examples
in rampart to clarify this. In my opinion it
I will have a look at synapse...
If i was starting from scratch it seems that would be the best option but as
I am planning to integrate with an esb solution I am already use that
provide message routing, transformation etc. I think the best option would
be to extend axis to achieve what I need
Dan
Take a look at the RawXMLInOutMessageReceiver.
But even if you are looking at using another ESB, it might still be
useful to use Synapse.
Here's my sales pitch:
1) Its really not that big. Its a 20Mb download but the core Synapse
code is about 300k over and above Axis2.
2) You might end
Sorry I wasn't very clear!!!
Take a look at the RawXMLInOutMessageReceiver.
This is an Axis2 MessageReceiver that can give you the body of the
message as an XML.
Paul
But even if you are looking at using another ESB, it might still be
useful to use Synapse.
Here's my sales pitch:
1) Its
Hello all,
I'm currently facing the following problem : the wsdl2java does not work
when the wsdl is located on an https server.
Here below the way I'm calling the tool :
-
set JAVA_HOME=C:\jdk1.5.0_11
set
I don't mind the sales pitch, just i was ideally looking for a lightweight
solution using axis2 as a transport for esb with the option of using and
passing on raw xml rather than binding and invoking.
I am planning to use mule, but i don't quite see what axis2/synapse/mule
would give me over and
Team,
I'm trying to use the classifier parameter to influence the generated
artifact name. Doesn't seem to be working - I've even tried a
hard-coded value in lieu of a dynamic property. Is this a bug, or am I
doing something wrong?
Here's how I have the plugin configured:
plugin
I remember making use of vectors..but the best method would be to create
your own bean and return it back.
-Sharath
On 5/8/07, Kencana [EMAIL PROTECTED] wrote:
Hi all,
just wondering how you guys deal in returning more than 1 resultset in
axis
2?
basically I use arrayList since axis 2
Paul,
I did some digging in Tomcat logs and my code and discovered that the
problem
was not caused by Axis2. I was using Axis2 1.1.1 Eclipse plugin and when I
build the
aar file some class files ended up in the wrong directory. As a result it
didn't deploy
correctly and the error I reported
Hello Edward
From which AXIS src folder are you executing?
Which AXIS maven file are you executing?
How are you executing the maven file?
Which target/goals are you specifying?
Have you customised either the maven.xml and or pom.xml from src distro..if
so how?
Thx/
M--
This email message
If you return arrayList then it should work with Axis2 with out any
problem. but make sure the arrayList contains simple type objects or
java beans.
Thanks
Deepal
sharath srinivas wrote:
I remember making use of vectors..but the best method would be to
create your own bean and return it back.
Daniel
You'd probably have to create your own dispatcher that basically sends
everything to the RawXMLMessageReceiver. You can do all this
programmatically or you can just have a simple config that defines the
single messagereceiver and the dispatcher.
We don't yet have any doc on using Synapse
Great!
Thanks for the update.
Paul
On 5/8/07, Stefan Dragnev [EMAIL PROTECTED] wrote:
Paul,
I did some digging in Tomcat logs and my code and discovered that the
problem
was not caused by Axis2. I was using Axis2 1.1.1 Eclipse plugin and when I
build the
aar file some class files ended up
Hello,
I'm having trouble taking out the KeyStore or the properties file from
the Axis2 war file. As long as they are in the Axis2.war/WEB-INF/classes
directory, everything works fine. I'm using JBoss 4.0.5 and would like to
put KeyStore or the properties file outside the Axis2.war file. I
Good Afternoon Ted
Downloading the sandesha2 distro from
http://people.apache.org/repo/m1-snapshot-repository/org.apache.sandesha2/mars/
While attempting to engage the sandesha2 module globally i see this
Invalid phases please recheck axis2.xml RMPhase for the handler
SandeshaInHandler
where
Hi Martin,
You need to change your axis2.xml to fix this issue. For that please add
following element into axis2.xml/PhaseOrder
phase name=RMPhase/
Thanks
Deepal
Good Afternoon Ted
Downloading the sandesha2 distro from
Ted
Can I suggest you turn logging on for Axis2 and Sandesha2 in your
log4j.properties?
Paul
On 5/8/07, Ted Jones [EMAIL PROTECTED] wrote:
I am using Sandesha2 with an asynch Axis2 client. Using the example that
comes with Sandesha2 (the asynch echo client), the onComplete() method of my
Sridhar--
did you try
$JBOSS_HOME/server/default/conf/props
?
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. If you have received this email message in error, please notify
the
Martin Gainty wrote:
Hello Jeremy
here is one an example which identifies a POJO named
sample.pojo.service.WeatherService.
parameter
name=ServiceClasssample.pojo.service.WeatherService/parameter
I did set up the services.xml, and the web service is fine except that
the parameters are
Martin,
Please ... Call me Eddie. Edward is too formal :-)
From which Axis src folder am I executing?
- I'm not sure I'm clear what you mean here.
- I run 'mvn clean compile' in the dir where
my project's pom.xml is located.
Which Axis maven file am I executing?
Can you recommend a .NET client that I can test with?
I have yet to find any examples of this or really even any references
which is why I ask the question. Looking through the Rampart examples
there are a ton of options and what I'm trying to figure out is if all
of these options are
Hi Jeremy ,
by changing your SomeType as shown below, I was able to fix the issue.
public class SomeType {
public int foo;
public int bar;
public float baz;
public int getFoo() {
return foo;
}
public void setFoo(int foo) {
this.foo = foo;
}
OK, it looks like if my SoapBindingSkeleton is an implementation of
ServiceLifecycle then JavaProvider.java will call a destroy() method when a
session is ended.
My question: Is there a way to cause wsdl2java (et al) to create
my skeleton with this interface without resorting to manually
I have a web application to which I added Axis 1.2. The Java class stubs were
generated using he WSDL2Java tool using XMLBeans data binding.
Everything appears to be configured right since the methods in the skeleton
class are being invoked correctly.
The echo method works fine. However,
Deepal Jayasinghe wrote:
Hi Jeremy ,
by changing your SomeType as shown below, I was able to fix the issue.
Hey Deepal,
Thanks for looking into the problem. It's interesting that this fixes
it. I wonder if it's the change from object-based fields (e.g. Integer)
to native language typed
I believe I found the bug in the
org.apache.axis2.transport.http.HTTPTransportUtils class. The following if
condition lacks a set of parentheses:
if ((msgContext.getEnvelope() == null) soapVersion !=
VERSION_SOAP11) {
msgContext.setEnvelope(new
yes That worked ..thanks for the suggestion Deepal
I thini I've found a bug with messageReceiver spec in the
\src\modules\samples\userguide\example\META-INF\services.xml
messageReceiver for WsaMappingTest service
serviceGroup
service name=WsaMappingTest
description
Sample
Jack Sprat wrote:
I believe I found the bug in the
org.apache.axis2.transport.http.HTTPTransportUtils class. The
following if condition lacks a set of parentheses:
if ((msgContext.getEnvelope() == null) soapVersion !=
VERSION_SOAP11) {
msgContext.setEnvelope(new
Good Afternoon Eddiewhat happens when you request maven to specifically use
the devel classifier e.g.mvn compile -Dclassifier=dvel
?M--NB:feel free to email offline as this is pretty close to O/T to axis and
probably related more to mavenThis email message and any files transmitted
with it
Jeremy [EMAIL PROTECTED] wrote: Jack Sprat wrote:
I believe I found the bug in the
org.apache.axis2.transport.http.HTTPTransportUtils class. The
following if condition lacks a set of parentheses:
if ((msgContext.getEnvelope() == null) soapVersion !=
VERSION_SOAP11) {
It is addition of getters and setters which fix the problem,
Thanks
Deepal
Jeremy wrote:
Deepal Jayasinghe wrote:
Hi Jeremy ,
by changing your SomeType as shown below, I was able to fix the issue.
Hey Deepal,
Thanks for looking into the problem. It's interesting that this fixes
Yes it is wrong , please create a JIRA
Thanks
Deepal
Martin Gainty wrote:
yes That worked ..thanks for the suggestion Deepal
I thini I've found a bug with messageReceiver spec in the
\src\modules\samples\userguide\example\META-INF\services.xml
messageReceiver for WsaMappingTest service
Jack Sprat wrote:
*/Jeremy [EMAIL PROTECTED]/* wrote:
Jack Sprat wrote:
I believe I found the bug in the
org.apache.axis2.transport.http.HTTPTransportUtils class. The
following if condition lacks a set of parentheses:
if ((msgContext.getEnvelope() == null)
I was using axis2-1.1.1,so I've downloaded the 1.2 version, installed and
set the MTOM enabled at axis2.xml.
Of course, I've recompiled the service and the client
application...,
Now the error messaging is (when running the client):
ERROR
Thilina,
I've disabled the MTOM at the axis2.xml, and, now the client worked fine
(even if at the client the MTOM kept enabled)!
The image file was saved, and it was ok!
How can you explain it
tks,
LuCa
At 07:30 8/5/2007, you
wrote:Hi Luca,
Looking at the message traces it seems
Hi,
I am trying to write a web service with attachment support.
The method signature is as follows:
String uploadFile(String userID, String fileName) {}
When the client invoke this uploadFile operation, he/she will upload a file
whose file name is fileName.
The implementation of uploadFile send
Ted Jones wrote:
I am using Sandesha2 with an asynch Axis2 client. Using the example
that comes with Sandesha2 (the asynch echo client), the onComplete()
method of my callback is never hit. It appears the response is not
returning.
Any ideas?
Did you try capturing message sequences with
Hi,
I want to use an enumerate type in my web service. I uses this web serice
from a .NET client. My problem is : when Visual Studio generate the client
stub, the enumerate type is converted in the following class :
[System.Xml.Serialization.XmlTypeAttribute(Namespace=http://mesfilesprovide
55 matches
Mail list logo