Hi,
I am having problem while calling POJO Web Service method -
I have my Data classes defined as
---
public class Message{
protected String msgId;
//getter/setter method
}
public class SubMessage{
private String msgDescription;
//getter/setter method
}
My Web
On 4/18/07, Dennis Sosnoski [EMAIL PROTECTED] wrote:
Hi Amila,
When I try running the 1.2RC2 WSDL2Java with -d jaxbri I get:
[java] Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Done:
https://issues.apache.org/jira/browse/AXIS2-2559
Cheers,
Patrick.
Deepal Jayasinghe wrote:
Hi Patrick ;
Please create a JIRA and attach
- wsdl
- service aar
-client code
Thanks
Deepal
Hi all,
I generated the server side code with AXIS2-1.2-RC2 (with xmlbeans)
from my
I am trying to use axis2 to dispatch all requests to a particular service.
This service also has a registered receiver which executes the appropriate
business logic (essentially calling other external services). All logic is
currently within the receiver and there is not much to be done in the
Hello Shantanu,
In the axis2 conf axis2.xml right after axisconfig name=AxisJava2.0 the
entry module ref=addressing / is added.b The axis2Location contains a
modules subdir containing the addressing module.
In code i refer to this config file:
ConfigurationContext ctx =
Hello again!
Same as me though I use Tomcat 5.5
I just wanted to let you know that it finally worked. As you said I had to
change the name of the service name=myService in services.xml and the
wsdl. How weird isn't that. The generated name was also correct in both
files but somehow it didn't
Hi all,
When I try to deploy a sample deploy.wsdd file I am getting this error.
For this do I need to include something in my classpath
Or do I need to make a jar file of my sample code and put it in
C:\Tomcat5.5\webapps\axis\WEB-INF\lib
Or path to some class files of this code in CLAPPATH
Hello.
Ive tried to do things with the MS WSE 3.0. Not so easy when you have no
experience with a technology !!!
Im not sure Ive followed the right process. Ive removed my web reference
based on the pure .net 2.0, and generated a new one using the WSE WSEWSDL
tool. But it seems the
Hi Soactive;
I am trying to use axis2 to dispatch all requests to a particular
service. This service also has a registered receiver which executes
the appropriate business logic (essentially calling other external
services).
I think you are talking abt a Message receiver .
All logic is
Hi,
In the MTOM tutorial unfortunately there are only parts of code (I
cannot find a complete example in axis2-1.1.1 - the mtom sample is not
based on AXIOM)
You can find a rather complicated deprecated MTOM Sample based on
Axiom in here[1].
options.set(Constants.Configuration.ENABLE_MTOM,
Hi
can any one help me out.
Webservice client code is not able to contact server with IP address.
It is working fine if I use 'localhost'. I tried addressbook sample
shipped with axis-2.1.1.1
EndpointReference targetEPR = new EndpointReference(
Thank you, please read the comments below:
On 4/19/07, Thilina Gunarathne [EMAIL PROTECTED] wrote:
Hi,
In the MTOM tutorial unfortunately there are only parts of code (I
cannot find a complete example in axis2-1.1.1 - the mtom sample is not
based on AXIOM)
You can find a rather complicated
Dear all,
Threads are keep on hunging in my websphere6.1 server , after I get
the response from Webservice. Any idea why this is happening or any setting
needs to be done with regards to web service in websphere ?
The hund messages are like
[4/12/07 10:17:44:890 CEST] 004b
Hello,
I am getting an error when I am trying to invoke the service.
Error: org.apache.axis2.AxisFault: Transport out has not been set
Any help would be appreciated.
--
THANK YOU,
ASHWINI KUMAR JEKSANI
commons-logging-1.1.jar file may be missing in the classpath
From: Yogender Singh01 [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 1:27 PM
To: axis-user@ws.apache.org
Subject: Problem in deploying a sample deploy.wsdd
Hi all,
When I try to
Hi !
I have to write some webservices (client and server) and want to use Axis2
so I wrote some test classes:
Data classes:
public class Data1
{
ListData2 array = new ArrayListData2();
public ListData2 getArray() {
return array;
}
public void setArray(ListData2 array) {
Hi,
Thanks
I have included common-loggin.jar in CLASSPATH.
Now the logger problem is solved.
But still I am getting this error. I am not sure which jar file is to be
included for this
C:\axis\samples\stockjava -cp %AXISCLASSPATH%
org.apache.axis.client.AdminClient
It would seem that the solution is several days of desperately debugging
client code and tweaking the namespaces followed by upgrade to Xfire 1.2.5
and some serious restarting did the trick.
ojojoj wrote:
Is there a way around this?
--
View this message in context:
Hi all,
i have to store messagecontexts. I check Sandesha2 source to see how it
do it and i try to do as follow:
public String save(String key, MessageContext messageContext){
if(key==null)
key = SandeshaUtil.getUUID();
try {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
Ok, it is setProperty()
Now I managed to transfer a file from the service to the client, but
if I try to transfer a file 23963 Bytes, the file is cut.
Should I make some adjustments in axis2.xml, or in Tomcat configuration?
I tried to enable caching both at the server side and at the client
Any box with JDK1.4+ is ok. We don't use any native code.
-- dims
On 4/19/07, Hitesh Raghav [EMAIL PROTECTED] wrote:
Dear All,
Is there any platform limitations for AXIS 2, especially for AIX and
HP-Unix?
Cud you pl share good pointers regarding same.
Thanks,
Hitesh
--
Davanum
Janos Mucsi wrote:
Thanks for the tip. Which port do I specify for local port and remote port?
Does soap go over 80? I do see the request in the list but I do not see
any request or response content.
For instance, you can:
1. Configure Tomcat (or whichever server you are using) to listen on
Hello Mr. Wachs,
I have encountered exactly the same error - HTTP Transport error : '400' -
'Bad Request - when trying to run a VB.NET Webservice with Axis2. I have
also used the Axis Tooling (WSDL2JAVA) to generate the stubs, but so far
failed to fix the problem. I have tried the following
Florian
The best way to debug this is to trace it with TCPMON. You need to set
your Proxy up and start TCPMON in proxy mode on say port 8001.
ProxyProperties pp = new ProxyProperties();
pp.setProxyName(localhost);
pp.setProxyPort(8001);
Hi Dennis,
You are right .I am attaching the other wsdl too now..
As you can see there is a xsd schema in the xxx_interface.wsdl also.
I tried to export xsd:xshema part from the wsdl and run xsd2java again
on it also..I am attaching it also named : bindings.xml
After that I combined all generated
Hi Dennis,
You are right .I am attaching the other wsdl too now..
(Ps: I had to send files as rar archieve bec. Of quota)
As you can see there is a xsd schema in the xxx_interface.wsdl also.
I tried to export xsd:xshema part from the wsdl and run xsd2java again
on it also..I am attaching it
Axis2-1.1.1
Thanks, Valerie
-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 12:43 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] IllegalStateException from
axis2-web/Error/error500.jsp
Hi Masin,
What is the Axis2 version ?
A colleague had this problem (when using Sun's webserver) and fixed it by
setting this on the client.
stub._getServiceClient().getOptions().setProperty(
HTTPConstants.CHUNKED, Constants.VALUE_FALSE);
I don't know if there is a way to say the same
Hi
I have the Axis2 configured with rampart1.1, we are using it to digitally
sign and encrypt the messages.
Now this is happening at the server side. It works perfectly if we have the
same setup at the client side (as specified on ws02).
I hope it is not mandatory that we need to have
Hi all,
I have tried to generate an RPC style WSDL by the following command:
Java2WSDL.bat -cn com.sns.pay.wiz.ejb.WIZEpaymentCLCreditCardProcessor -sn
EPaymentService -st rpc -u literal -o ..\wsdl
First observation:
I have a method *public int add(int a, int b) throws RemoteException* in
the
Amila,
I am having the same issue using the RC2 version.
With WSDL approach where I generate the service and client stubs, it works
quite well.
The problem is with the POJO approach.
I noticed that xsi:type is missing in the xml with this approach.
Thanks,
Sathija.
Amila Suriarachchi [EMAIL
Hi
I have a web service created using Axis2 and now i try to perform the load
test by sending approximately 4 records in a single request.
I observe that i get a Axis2 client time out error!!
How can we set the time out parameter of the axis client?
Thanks
Vibhor
Hi
I get the following error when i try to load the web service with lot of
requests
14:53:03,592 INFO [STDOUT] 2007-04-19 14:53:03,592 INFO
org.apache.axis2.transport.http.AxisServlet - org.apache.axis2.AxisFault: null;
nested exception is:
com.ctc.wstx.exc.WstxIOException: null
Is
If you are using ServiceClient, try calling org.apache.axis2.client.Options.
http://ws.apache.org/axis2/1_1/api/org/apache/axis2/client/Options.html#set
TimeOutInMilliSeconds(long) setTimeOutInMilliSeconds(.) on the Options you
pass to it.
_
From: Vibhor_Sharma [mailto:[EMAIL
thanks Ryan
I have geneated the stubs out of the wsdl file.
and then my client consumes the stub to send the request to the web service
i tried searching the time out parameter in the stub but could not find it.
Thanks
Vibhor
From: Ryan Nelsestuen
The following is a pom.xml I just made based on the libraries provided in the
axis2 download.
There are 2 things to note,
1) I couldn't find woden, so I added it to my own local repository
2) axiom 1.2.3 has different behaviour to 1.2.2, I don't know if it's a new
bug or if it's a bug fix, but
anyone???
On 4/18/07, craig wickesser [EMAIL PROTECTED] wrote:
Hi...I have a client which I am using to access a web service The
code I have is...
MyStub stub = new MyStub();
HelloWorldDocument reqDoc =
HellWorldDocument.Factory.newInstance();
I just encountered an oddity which I couldn't find any information on so I
figured I'd post this so other people would know.
I'm using xfire 1.2.5 as the server and I'm using axis2 1.1.1 as the client.
When I was making my pom.xml I used axiom 1.2.3 (since it was the newest one)
intead of the
I managed to get a working deployment of Axis2 in a preexisting web
application. It took a bizarre stack of directories to get Axis to recognize
my service though.
Im wondering why it is when I deploy under the 'Axis2' webapp it doesn't
appear to use my 'services.xml' file whereas when I deploy
AFAIK you have to modify the stub code and get headers from there. In
Axis2 1.2 there is an operation in the generated stub to get the last
operation context (and so the envelope object) but it didn't work for
me.
On 4/19/07, craig wickesser [EMAIL PROTECTED] wrote:
anyone???
On 4/18/07,
These are the changes I did to get Response SOAP header.
1) Save header in the message context in the skeleton implementation.
MessageContext inMsgContext = MessageContext.getCurrentMessageContext();
OperationContext operationContext =
My customer gets an error returned when they call my service. The error
is generated by Axis because they passed a soap message that does not
conform to the schema. But I don't see any errors in my logs. If I turn
up the logging level to show Debug messages then I see the message that
the customer
Kamaljeet,
Step #2 is a good enchancement request. we should be generating code
with that snippet. Can you please log a jira request?
Amila,
Can you please review this?
thanks,
dims
On 4/19/07, Kang, Kamaljeet K. [EMAIL PROTECTED] wrote:
These are the changes I did to get Response SOAP
Hi,
I have set REUSE_HTTP_CLIENT to 'true' in my stub but I still see from
netstat that new HTTP Connections are being created. I see connections
being reused sometimes but after 2-3 requests it creates new
connections. Do we need to do something else for persistent HTTP
connection?
Thanks
Please log an enchancement request with specific location/stack trace.
thanks,
dims
On 4/19/07, Masin, Valerie [EMAIL PROTECTED] wrote:
My customer gets an error returned when they call my service. The error is
generated by Axis because they passed a soap message that does not conform
to the
I call that the inner build.xml file, created after you run wsdl2java.
For me, I end up using two build.xml files, one I create and that
autogenerated one.
-- The one I create (outer build.xml, at the project root) is just to
run WSDL2Java (Step #4 of [1]) (I envy those who can remember all the
I am unsure why this is happening--the classloader should be picking up
that class. One possible option for you is to place the JAR file within
your service archive (line 174 of here[1]) instead of the Axis2 web
directory to see if that fixes the problem, but again, placing it in
web-inf/lib
Kamal,
My understanding of apache's HTTPClient is that it closes HTTP
connections after each response. REUSE_HTTP_CLIENT means reusing the
client object that is performing the request/response, not necessarily
the underlying connection.
If you're trying to maintain some sort of state, such as a
Done. AXIS2-2566
Thanks
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 4:42 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Why are errors on server logged at level Debug
Please log an enchancement request with specific
Hi
I am trying to use an Axis2 client to connect to a .NET web service. The
axis2 client is connecting to the web service but it is not able to maintain
session information, i did read through the article
http://www.developer.com/services/article.php/3620661, and i am still unable
to connect to
I'm trying to access the serviceGroupId from a web-service call.
My client snippet looks like this:
ServiceClient sender = new ServiceClient();
sender.engageModule(new QName(addressing));
OperationClient opClient =
sender.createClient(ServiceClient.ANON_OUT_IN_OP);
Dennis,
thanks very much for the info..this is really helpful and i am more clear
now..I did go through the documentation in apache but couldnt get the info
clearly.
One small question:
a) do you mean that we cant use complex types for unwrapped code generation.
In my case, can i still use
Starting with step one I tried to get the message context
MyStub stub = new MyStub();
HelloWorldDocument reqDoc = HellWorldDocument.Factory.newInstance();
reqDoc.setName(bob);
HelloWorldResponseDocumnet resp = stub.SayHello(reqDoc);
MessageContext mc =
Hi Steven,
Looks like we will have to do this after 1.2 since it might need a bit of
refractoring (Too late to go into the 1.2 release). Currently the wsaAction
is set to the axisOperation but it should be going into axisBindingOperation
instead as the wsaAction is a binding specific property.
Hi all,
I have deployed the sample deploy.wsdd but these warnings come during
testing
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
What can be the possible cause of this?
Hi Arnold ;
Axis2 java2wsld is based on JDK 1.4 not JDK 1.5, so it does not identify
the object type of the list and it will treat the list as just
java.util.List . That is why you are getting xs:anyType for the return
value. To overcome the issue , the only workaround is to return Object
array
Hmm , please check whether all the required jar files are there in the
class path? specially http jars.
If you have all the jars and you are still getting the error then pls
create a JIRA and attach what ever necessary to re-create the issue
Thanks
Deepal
Hello,
I am getting an error when I
Hi Hitesh;
AFAIK there is no such a limitation (since Axis2 is implemented using
Java) , did you encounter any issue?
Thanks
Deepal
Dear All,
Is there any platform limitations for AXIS 2, especially for AIX and
HP-Unix?
Cud you pl share good pointers regarding same.
Thanks,
Hi amit ;
are you getting anything when you type
http://10.222.87.171:8080/axis2/services/AddressBookService in the browser ?
Thanks
Deepal*
*
Hi
can any one help me out.
Webservice client code is not able to contact server with IP address.
It is working fine if I use 'localhost'. I
Hi david2 ;
Pls post the wsdl.
Thanks
Deepal
I am building an Axis2 web service whose WSDL defines a single message with
only a single input. When I run the WSDL2Java ant task, I get the following
error message:
cannot find symbol
[javac] symbol : method
Hi Deepal !
What else could I do ? Is there any type mapping possibility or what will
happen if I just change the generated wsdl manually and deploy it with my
webservice ? Will axis2 recognize that this is not anyType but an Instance
of my Object ?
yours
Arnold
On 4/19/07, Deepal
Hi Deepal
Yes I am able yo see the wsdl in the browser. Both with localhost and IP
address it's displaying wsdl but when I call it through client code using IP it
gives me exception. With localhost/127.0.0.1 it is working fine in client code.
Thanks
amit
Deepal Jayasinghe [EMAIL
Hi Friends,
got solution,
we can take the help of userguide sample code examples provided by axis2.
There we have loggingmodule example where we can create our own log file with
SOAP messages.
Thanks for your help, friends.
With best regards
From
Vikas R. Khengare
- Original Message
Hi guys!
I am unable to modify the root context of the services made available by the
stand-alone version of the SimpleAxis2Server of the standard distribution of
axis2 version 1.1.1.
Basically the default path of the services are:
http://localhost:8080/axis2/services. I would like to change
64 matches
Mail list logo