Problem while using invoking web service method with Superclass argument

2007-04-19 Thread Ajay Kumar Gour
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

Re: Data binding frameworks that allow backwards compatible schema changes?

2007-04-19 Thread Amila Suriarachchi
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

Re: [AXIS2-1.2-RC2] Data Binding Error

2007-04-19 Thread Patrick Houbaux
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

Axis2 dispatcher and receiver

2007-04-19 Thread Soactive Inc
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

RE: setting wsa:messageId in a Axis2 1.1.1 service

2007-04-19 Thread Erwin Reinhoud
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 =

Re: Using wsdl with XMLbeans

2007-04-19 Thread Johannes . Kjellgren
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

Problem in deploying a sample deploy.wsdd

2007-04-19 Thread Yogender Singh01
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

RE: [Axis2] Attachment on client using generated stub

2007-04-19 Thread Ephemeris Lappis
Hello. I’ve tried to do things with the MS WSE 3.0. Not so easy when you have no experience with a technology !!! I’m not sure I’ve followed the right process. I’ve 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

Re: Axis2 dispatcher and receiver

2007-04-19 Thread Deepal Jayasinghe
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

Re: using MTOM in a AXIOM-based WS

2007-04-19 Thread Thilina Gunarathne
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,

Webservice client can't access service with IP address

2007-04-19 Thread amit kumar
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(

Re: using MTOM in a AXIOM-based WS

2007-04-19 Thread Michele Amoretti
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

Threads hunging in websphere after web service time out

2007-04-19 Thread Srinivas Nannapaneni
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

problem while invoking a service in Axis2

2007-04-19 Thread ashwin jeksani
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

RE: Problem in deploying a sample deploy.wsdd

2007-04-19 Thread Krishnamoorthy J (HCL Financial Services)
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

[Axis2] Some questions about Axis2

2007-04-19 Thread Arnold Maderthaner
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) {

RE: Problem in deploying a sample deploy.wsdd

2007-04-19 Thread Yogender Singh01
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

Re: Axis 1.4 + Xfire serializer trouble

2007-04-19 Thread ojojoj
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:

Save MessageContext and java.io.NotSerializableException

2007-04-19 Thread Lorenzo
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();

Re: using MTOM in a AXIOM-based WS

2007-04-19 Thread Michele Amoretti
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

Re: is there any platform limitations for AXIS 2.0?

2007-04-19 Thread Davanum Srinivas
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

Re: how to view request message

2007-04-19 Thread Ognjen Blagojevic
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

Re: [Axis2] Problems with .NET Service and Axis2 Client

2007-04-19 Thread EDGE
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

Re: [Axis2] Problems with .NET Service and Axis2 Client

2007-04-19 Thread Paul Fremantle
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);

RE: [jibx-users] wsdl2java jibx codeGeneration Exception

2007-04-19 Thread Serkan Sunel
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

RE: [jibx-users] wsdl2java jibx codeGeneration Exception

2007-04-19 Thread Serkan Sunel
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

RE: [Axis2] IllegalStateException from axis2-web/Error/error500.jsp

2007-04-19 Thread Masin, Valerie
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 ?

RE: using MTOM in a AXIOM-based WS

2007-04-19 Thread Masin, Valerie
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

Axis2 using Rampart and DOT Net compatibility

2007-04-19 Thread Vibhor_Sharma
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

Re: [Axis2] Eclipse Plugin for Code Gen

2007-04-19 Thread Xinjun Chen
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

Re: Axis2 and polymorphism

2007-04-19 Thread Meghna Rao
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

How to increase the time out of the Axis2 client

2007-04-19 Thread Vibhor_Sharma
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

getting com.ctc.wstx.exc.WstxIOException: null exception

2007-04-19 Thread Vibhor_Sharma
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

RE: How to increase the time out of the Axis2 client

2007-04-19 Thread Ryan Nelsestuen
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

RE: How to increase the time out of the Axis2 client

2007-04-19 Thread Vibhor_Sharma
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

RE: Axis2 and Maven

2007-04-19 Thread Ted Leung
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

Re: Apache Axis 2: how to get header? Options

2007-04-19 Thread craig wickesser
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();

axis2 client + xfire server + axiom

2007-04-19 Thread Tedman Leung
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

directory structure to use Axis2 in my .war file

2007-04-19 Thread jony
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

Re: Apache Axis 2: how to get header? Options

2007-04-19 Thread José Antonio Sánchez
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,

RE: Apache Axis 2: how to get header? Options

2007-04-19 Thread Kang, Kamaljeet K.
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 =

[Axis2] Why are errors on server logged at level Debug

2007-04-19 Thread Masin, Valerie
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

Re: Apache Axis 2: how to get header? Options

2007-04-19 Thread Davanum Srinivas
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

REUSE_HTTP_CLIENT

2007-04-19 Thread Kang, Kamaljeet K.
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

Re: [Axis2] Why are errors on server logged at level Debug

2007-04-19 Thread Davanum Srinivas
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

Re: sample code quickstartadb auto generated build.xml file

2007-04-19 Thread Glen Mazza
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

Re: org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError:org/apache/commons/codec/DecoderException

2007-04-19 Thread Glen Mazza
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

RE: REUSE_HTTP_CLIENT

2007-04-19 Thread James Arbo
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

RE: [Axis2] Why are errors on server logged at level Debug

2007-04-19 Thread Masin, Valerie
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

.NET Web Service and Axis2 Client. Session management issues.

2007-04-19 Thread Anil Chukkapalli
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

soapsession client question

2007-04-19 Thread James Arbo
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);

Re: Strange behaviour of WSDL2Java - axis2 - Jibx

2007-04-19 Thread yugandhar
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

Re: Apache Axis 2: how to get header? Options

2007-04-19 Thread craig wickesser
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 =

Re: wsa:Action header emitted from client with value

2007-04-19 Thread keith chapman
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.

Warning During deploying and testing the sample deploy.wsdd.

2007-04-19 Thread Yogender Singh01
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?

Re: [Axis2] Some questions about Axis2

2007-04-19 Thread Deepal Jayasinghe
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

Re: problem while invoking a service in Axis2

2007-04-19 Thread Deepal Jayasinghe
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

Re: is there any platform limitations for AXIS 2.0?

2007-04-19 Thread Deepal Jayasinghe
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,

Re: Webservice client can't access service with IP address

2007-04-19 Thread Deepal Jayasinghe
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

Re: Cannot Find Symbol receiveResultpublishElint()

2007-04-19 Thread Deepal Jayasinghe
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

Re: [Axis2] Some questions about Axis2

2007-04-19 Thread Arnold Maderthaner
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

Re: Webservice client can't access service with IP address

2007-04-19 Thread amit kumar
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

Re: Can we create log of SOAP request response in log file?

2007-04-19 Thread Vikas
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

[axis2] Help with StandAlone SimpleAxis2Server

2007-04-19 Thread Charles Ambrose
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