axis 8 « axis « Java Enterprise Q&A





1. Starting Axis2 1.4 - axis2.xml vs service.xml    coderanch.com

Folks, While going through the axis2 api, i realised that you need axis2.xml for the configuration of the service. where as i was looking at some other links which mentions about service.xml. I am not sure what is the difference between both of them. Wanted to clarify of what i understood is correct. axis2.xml - Is only one in the axis2 ...

2. Diff between Jax-ws and Axis2    coderanch.com

3. Axis - Applet performance issue    coderanch.com

4. webservice development using apache axis 2    coderanch.com

Hi all I have learnt how to use apache axis 2 to expose a application/method written in java using eclipse.Tried out few sample tutorials on how to use the eclipse plugin for wsdl generation,etc..I actually have a web application that is written in php,i want to expose this as webservice using java,how do i go about doing this.The project has to ...

5. Axis2 problem - OMException (WstxUnexpectedCharException)    coderanch.com

Dear forum-members, I hope you can help me with this problem. This is the situation. I use the Axis2 framework for accessing a WebService. When I use the generated Stub then everything works perfectly fine. However I want to obtain the actual message which is sent to and received from the WebService. This is for logging reasons. Here the problem starts. ...

9. Poligon with -13.8626494 62.6205398, -13.9355395 62.6800897, axis    coderanch.com

I need some help in coding. Actually i m working in Java Platform. using jsp,servlet,hibernate and postgresSQL as Database in my software.there is need of show area of land on graph in my software for visualize area with respect to world standard WGS. Coordinate of land area is in latitude n longitude degree(Geographical measurement(x,y)) having minor difference between their coordinates like ...





10. Webservices using JAX-RPC and AXIS2    coderanch.com

11. Axis 1.4 Attachments not working    coderanch.com

Hi all, i am experiencing a problem using attachments with axis1.4. i have da implement a webservice for a given wsdl. used wsdl2java to generate the java skeleton. when i am trying to add attachments to the response message, as shown in the coding below and testing the service form xmlspy, i always get the message, that the service returned an ...

12. Problem with Java Collections and Axis2    coderanch.com

14. Web Service, Axis 1.4, Array List.    coderanch.com

Hi Everybody, I am developing one web service. In that i am using List & Array Lists. I am using JDK 1.4, Tomcat 5 & Eclipse. When i tried to generate the Web service, I am getting warning that, "The service class does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function ...

15. Axis1 vs. Axis2 : service URL    coderanch.com

Hi, This is regarding the service URL difference between Axis1 and Axis2 implementation of web service. With Axis1, if one tries the service URL: http://host:port/deployed_application_name/service_name , then a message "Hi, there is a Axis service" is displayed. However, if one tries the service URL with Axis2, nothing is displayed. Can someone tell me the reason behind this. Actually, I have a ...





17. Axis 2 + DBCP    coderanch.com

18. Axis 2 + DBCP    coderanch.com

19. How to terminate inflow in axis2    coderanch.com

Hi, I have one custom module deployed in axis2 server side. when a request goes to that handler in an inflow, i want it should create one error resonse in that handler and send back to client without donig any further processing. and while sending the outFaultFlow it should not process any modules. Could any one says, how can we achieve ...

20. AXIS2C 1.6 & AXIS2 1.41 enums    coderanch.com

21. axis2 ServiceLifeCycle is not up running    coderanch.com

I am using Eclipse 3.4.2 and try Axis2 to build a web service. One class has implemented ServiceLifeCycle as below. public class MyAxisService implements ServiceLifeCycle { public static final String DB_CONNECTION = "dbconnection"; @Override public void startUp(ConfigurationContext configctx, AxisService service) { System.out.println("start up"); try { Class.forName("com.mysql.jdbc.Driver"); // Creating the DB connection for the sample DB Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/sss", "root", "password"); ...

22. How to integrate AXIS2 envirnoment into the current webapllication.    coderanch.com

Hi , I followed the same procedure as mentioned in the above link.I integrated the AXIS2 envirnoment to my existing web-application.I created the service folder inside the WEB-INF folder and tried accessing that service and i get the below error when clicked on the below link: http://localhost:6080/pricecomparator/services/RunCoreDais.jws i get this error: This XML file does not appear to have any style ...

23. Custom Handlers in axis 2    coderanch.com

How can I configure a Custom Handler in axis2. Is it mandatory for me to associate it with a phase or can I write a Handler directly. My requirement is to block a SOAP Request based on certain conditions using addressing. As including addressing.mar enables WS-Addressing in axis2. will writing a custom handler is sufficient or do i need to do ...

24. generating skeleton interfaces alone using axis    coderanch.com

All, I am using axis2 with JAXB. I am trying to generate the skeleton interfaces alone using the -ssi option in the wsdl2java tool. However I havent had any luck. I know at times we have to use certain combination of options. Is that the case with -ssi as well? Eagerly waiting for your reply. Thanks Preetham

25. APache Axis 1.3 and Apache Axis 1.4    coderanch.com

26. axis2 class loader    coderanch.com

27. The addressing-1.41.mar module, which is not valid, caused org.apache.axis2.handlers.addressing.Addr    coderanch.com

Hi, I am using Axis2 and configured addressing-1.41.mar JDK1.5._14 Deployed in weblogic10 server. Using Axis2 for webservice client to connect to remote server. Around 100 webservice calls are triggering per day from my client and only couple of times in a month is getting following excepiton. I couldnt find much details. [ERROR] [org.apache.axis2.deployment.ModuleDeployer deploy()] The addressing-1.41.mar module, which is not valid, ...

28. Why use Axis or Axis 2 when there is Metro etc?    coderanch.com

Hi! Of course I would not consider ripping Axis out of an existing system to replace it with Metro, Apache CXF or something else just for the sake of not using Axis. I take it that Axis2 is, or is on its way to become, legacy software and if one has a choice, the only motivation for using Axis2 is having ...

29. Existing java class as a web service using axis2    coderanch.com

I have java application in which a particular class has a method say "getInformation()", the argument to this method is a jabx generated java class. Now I want to expose this method as a Web service using axis2. I use the java2wsdl utility to get the wsdl. Next I use the wsdl2java to create the server side stubs which gives me ...

30. beginner questions regarding axis2    coderanch.com

Hi, I am in the process of learning web services using axis2. I have some confusion regarding wsgen, wsimport, java2wsdl and wsdl2java. Q1) If I have a wsdl I can use wsdl2java or wsimport to get the server side classes and then implement them, what is the difference between using wsgen and wsdl2java? I know wsgen uses the JAX WS programming ...

31. Can we use glass fish for AXIS web service    coderanch.com

Hi All, I have tried using JAX-WS for web services in glass fish. but now i am planning to move to axis and glass fish. can any one let me know how to install/use axis in Glass fish. and also help me with creating Axis webservice using netbeans or eclipse. Thank You All

32. Apache Axis 1.4    coderanch.com

33. Packing the webservice in axis    coderanch.com

Dear All, Currently i am using Oracle application server to deploy and execute webservices. To generate the ear file, we are using a Oracle server specific jar. The packWs.bat is written as below, cls @ echo off echo ***************** Trying to Pack CMA webservices into ear ***************** del cmaWebServices.ear echo " " @ echo on java -jar C:\Vijay\Software\oracle\product\10.1.0\db_1\oc4j\webservices\lib\WebServicesAssembler.jar -config config_sun.xml As ...

35. Polymorphic operations in AXIS 1    coderanch.com

4.5.3 Distinctive Operations Operation name overloading in a wsdl:portType is disallowed by the Profile. R2304 A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes. Note that this requirement applies only to the wsdl:operations within a given wsdl:portType. A wsdl:portType may have wsdl:operations with names that are the same as those found in other wsdl:portTypes.

36. Axis2 Questions    coderanch.com

Thanks for the help, it has been of great help to me. Just started off with the Axis2 wsdl2Java tool and now i have a few more questions to ask here: 1) I followed the link as given on the axis2 website, and it generates quite a number of classes, i assume the clientxxstub being generated is an example of client, ...

37. OT kind of. Axis2/C problem parsing CDATA    coderanch.com

I know this may be off topic, but I was curious if any fellow ranchers have come across this in their coding ventures. I'm working on a 'C' project changing an interface from a vendor api that only supports HP to a SOAP interface on Linux to access a web service. The response object has CDATA in the XML stream that ...

38. Invoking webservice from another webservice - Axis2    coderanch.com

Hello, Can someone please provide me some guidelines for invoking a webservice from another webservice. I am having a chain of services. Client calls Webservice A which in turn would call Webservice B. Return value of Webservice A would depend on result from Webservice B. Currently my client code invokes service using : import org.apache.axis2.client.OperationClient; import org.apache.axis2.client.Options; import org.apache.axis2.client.ServiceClient; Regards Raveesh ...

39. Apache Axis pretty print    coderanch.com

40. Help on Axis2 Webservice calls    coderanch.com

Hi, I am new to Axis2. I created a webservice and deployed it to Resin 3.1.9. However, when I tried to access it using the client code that i wrote, i got the following error: INFO: Deploying module: addressing-1.5 - file:/C:/com/sample/lib/axis2/axis2- 1.5.jar org.apache.axis2.AxisFault: java.lang.ExceptionInInitializerError at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j ava:517) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse( OutInAxisOperation.java:371) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO peration.java:417) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out InAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java: 165) at com.sample.SampleStub.login(SampleStub.java:4545) ...

41. Axis - NullPointerException    coderanch.com

42. Axis2-1.5 - Issue    coderanch.com

44. Axis2- Enabling Admin service    coderanch.com

46. purpose of org.apache.axis.client.Call.setMaintainSession()?    coderanch.com

Hello, What is the purpose of the org.apache.axis.client.Call.setMaintainSession() method? I created a Call object and used it throughout the application to call methods on our web service. During this time a call to Call.getMaintainSession() would return false (which is the default). So what type of different behavior would be expected if it were set to true? Thanks in advance. -Ravi

47. Axis - deploy/undeploy service at run time    coderanch.com

Hi, I am using Axis 1.4 and I need to undeploy/deploy a service based on a query parameter. I dont understand much about web services, so I would like someone could give me some guidance: To undeploy it, it is really easy: DeploymentAdministrator deploymentAdministrator = new DeploymentAdministrator(); if (!serviceEnabled) { deploymentAdministrator.undeployService("AuthenticationService"); //it does work! } else { // I want to ...

48. How to configure axis2 runtime in RAD 6.0?    coderanch.com

Hello All, Does anybody know how to configure axis2 run time in RAD 6.0?. I know RAD 6.0 has formal support for axis 1.x run time. But, I don't see the option to change axis to axis2 run time in RAD 6.0. Any help on this topic is greatly appreciated. Thanks, Kamal

49. webservice using axis    coderanch.com

50. Axis2 on oc4j problem    coderanch.com

I have developed axis2 webservices and deployed on oc4j 10.1.3. when i login to axis2 console and look for services ,I can see them The problem is these services work when I call thru client. On the Axis2 console when i click on the service , first time it opens the wsdl on the browser but after sometime when i try ...

51. Passing a custom object to axis web services    coderanch.com

Hi, I am using axis for web service development. Now what i want to do is to pass a custom object to my web service, say, an object of type Employee. When i run my app, it says: No serializer found for class Employee in registry org.apache.axis.encoding.TypeMappingDelegate@910040 How can i do that? what is the main reason for the problem? Is ...

52. Axis client with changing keystorefile    coderanch.com

Hi, I have a problem with axis2-client inside JAX-WS web service. This JAX-WS web service is inside Tomcat container. Keystorefile is retrieved dynamically from database. When I start Tomcat I can use ws-client normally and it works fine, but if i change the keystore it fails with stacktrace shown below. If I restart Tomcat it works fine. Does rampart or tomcat ...

53. Using WS-RM with Axis2 1.5?    coderanch.com

This has been giving me more problems then I anticipated... I have a WS-RM enabled web service up and running in JBoss, the code is as follows: package com.ieso.ws; import javax.jws.WebService; import org.jboss.ws.annotation.EndpointConfig; import org.jboss.ws.extensions.policy.annotation.Policy; import org.jboss.ws.extensions.policy.annotation.PolicyAttachment; import org.jboss.ws.extensions.policy.PolicyScopeLevel; @PolicyAttachment (@Policy (policyFileLocation = "META-INF/reliablePolicy.xml", scope = PolicyScopeLevel.WSDL_BINDING )) @EndpointConfig (configFile = "META-INF/wsrm-jaxws-endpoint-config.xml", configName = "Standard WSRM Endpoint" ) @WebService public class ...

55. Axis basics    coderanch.com

57. apache axis    coderanch.com

58. Axis2 Webservice example issues    coderanch.com

Hi, I am working on following example http://wso2.org/library/1719. I did until step 2. But i am struck at step 3 which says 3. After successfully building the project, we will create the service archive using the Axis2 Eclipse Service Archiver Plugin. On the File menu, click New and then click Other to access the Axis2 wizards. Else, you can press Ctrl+N. ...

59. Axis 1.3 webservice to Axis 1.4    coderanch.com

Hi All, I am new to webservices. I have an Axis 1.3 web service. I need to migrate it to Axis 1.4. So do I need to create the webservice code using Axis 1.4 from the wsdl again or only replacing the Axis 1.3 jars with the Axis 1.4 jars will suffice..? Thanks in advance.

60. Axis incompatibility with java 1.5    coderanch.com

I have a webservice class named ReceiveServicePortStub.java. In this stub, I make a new OperationDesc and set some variables. Two of those are setStyle and setUse. My program used to be on 1.4, now it's on 1.6. Thus, it's giving me compatibility warnings for the old packages that have enum in the title. As a result, it's giving me a NoSuchField: ...

61. Problem calling Axis SWA web service    coderanch.com

Hello I have a simple web service that uses axis 1.4.1. This web service returns a SOAPMessage when invoqued by a little java client I developped. Everything works fine when the soapMessage returned by the webservice don't have any attachment. When I add an attachment to the soapmessage returned by the webservice, the following error occurs: javax.xml.soap.SOAPException: Mime parts not found. ...

62. Axis2: Timeout when using setUseSeparateListener(true)    coderanch.com

Hi, I'd written an asynchronous client with axis2.4.1 . Since I want to execute a long task on the server side I added the following lines: stub._getServiceClient().engageModule("addressing"); stub._getServiceClient().getOptions().setUseSeparateListener(true); Which as far as I understand use WS_ADDRESSING to create a "true" callback from the server side and avoid connection timeouts. Surprisely I'm still getting timeout after the default time defined in conf\axis2.xml ...

63. Problem in creating webservices with axis    coderanch.com

I am new to webservices and i started following WebServices. But i am facing problem when i use the following command java org.apache.axis.wsdl.Java2WSDL -o fib.wsdl -l"http://localhost:8080/axis services/fibonacci" -n urn:fibonacci -p"fibonacci" urn:fibonacci fibonacci.Fibo acci Its giving me the following error Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/encodin g/TypeMappingRegistry at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at ...

64. Axis samples    coderanch.com

Hi Anjali, Seems to be a broken link...just copy the class body and paste it into your Java IDE/Editor: 1 import org.apache.axis.client.Call; 2 import org.apache.axis.client.Service; 3 import javax.xml.namespace.QName; 4 5 public class TestClient { 6 public static void main(String [] args) { 7 try { 8 String endpoint = 9 "http://ws.apache.org:5049/axis/services/echo"; 10 11 Service service = new Service(); 12 Call call ...

65. Axis2 ParseError    coderanch.com

I'm connecting a Java Web Service client to a .NET-based web service using Axis2 (WSDL2Java generated code) and I'm getting a parse exception on reading the response: org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[...,...] Message: Character reference "" is an invalid XML character. Obviously, the server is trying to send a character that Axis2 believes should be escaped. Without re-writing Axis 2, though, ...

66. ClassNotFoundException: org.apache.axis2.transport.SimpleAxis2Server    coderanch.com

Hi All: I download Axis 2 versin 1.5.1. I unzipped to the following directory:C:\axis2-1.5.1 I set AXIS2_HOME -->C:\axis2-1.5.1 I am using windows 2000 server, with jdk 16_17. I setted JAVA_HOME -->C:\Java\jdk16_17 I ran C:\axis2-1.5.1\bin>axis2.bat Than I ran C:\axis2-1.5.1\bin>axis2server.bat Using JAVA_HOME C:\Java\jdk16_17 Using AXIS2_HOME C:\axis2-1.5.1 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/transport/SimpleAxis2Server Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.SimpleAxis2Server at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) ...

67. Nested beans in Axis web service    coderanch.com

68. Problem with Axis    coderanch.com

Hey! When I try to execute the web service method the console comes up with this message: AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (404)Not Found faultActor: faultNode: faultDetail: {}:return code: 404 Apache Tomcat/6.0.18 - Error report

HTTP Status 404 - /gruppos/services/GroupManager


69. Axis2 contract first code    coderanch.com

I am using contract first approach to write services using Axis2 in Java. I have written a WSDL and then using Eclipse I generated the skeleton for for this service. The skeleton code looks like public class ResumeServiceSkeleton implements ResumeServiceSkeletonInterface { public org.apache.axiom.om.OMElement updateResume(org.apache.axiom.om.OMElement employee0) { //TODO : fill this with the necessary business logic throw new java.lang.UnsupportedOperationException("Please implement " + ...

70. AXIS2 1.3    coderanch.com

72. About Axis2    coderanch.com

va.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap at org.apache.axis2.description.AxisDescription.(AxisDescription.java:78) at org.apache.axis2.engine.AxisConfiguration.(AxisConfiguration.java:148) at org.apache.axis2.context.ConfigurationContextFactory.createBasicConfigurationContext(ConfigurationContextFactory.java:315) at org.apache.axis2.context.ConfigurationContextFactory.createDefaultConfigurationContext(ConfigurationContextFactory.java:304) at org.apache.ws.java2wsdl.Java2WSDLBuilder.(Java2WSDLBuilder.java:101) at org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.(Java2WSDLCodegenEngine.java:51) at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$2.execute(CodeGenWizard.java:434) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944) at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishJava2WSDL(CodeGenWizard.java:449) at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:174) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:253) at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at ...

73. AXIS 2 : Developing a help page for a Web service created    coderanch.com

Hi, I would like to know how to create a documentation page for a webservice I created using axis 2. For example, I would like to give the webservice user a guide about the details of my service, how to use it, what parameters to be passed etc. Can any one please help me in this regards ?. Any thoughts ? ...

74. getting java.lang.reflect.InvocationTargetException in Axis2 code Generater Wizard    coderanch.com

I am facing one problem in one of the last step of Axis2 code Generater Wizard. So when I click under the Finish Button to complete the generation this error message appears :"An error occured while completing process -java.lang.reflect.InvocationTargetException". I will be very thankful if you help resolving this problem as soon as possible

75. Axis2, client handler not getting called    coderanch.com

I have developed a webservice in Axis2 1.5 which will be called by a Java client. The client needs to pass username and password in SOAP Header. For this I am using Rampart 1.5. Till now I have followed these steps 1. Copy rampart-1.5.mar and rahas-1.5.mar in modules directory of both client and service. 2. Copy Rampart jars in the lib ...

76. Axis2 WebService service.xml    coderanch.com

77. Axis2 and JAXWS    coderanch.com

78. Calling a web service from another using Axis2 and Java    coderanch.com

Hi, Is it possible to call a web service from another web service using Apache Axis2 and Java? My problem is when I call the Web Service (say A) from a client it works fine but when I try to call the same Web Service (A) from another Web Service (say B) it fails. I am wondering if anybody had faced ...

79. is CFX an alternative to AXIS    coderanch.com

81. Help needed: Why do we have to place the service classes in axis.war/soap.war etc...    coderanch.com

Hi, I'm a newbie in developing webservices. However, I kept trying from two months mastering it. and read through books. surfed through a lot of good sites. Practiced and developed simple services using different API's includes: SOAP 2.3.1, AXIS 1.4 ( latest ones ) However, started from XML RPC as well. App Server: JBoss. JDK 1.5 And I always had a ...

82. Want to start Axis Webservice    coderanch.com

83. Creating webservice using Axis2    coderanch.com

I am learning web services.I want to know if I am understanding the concept correctly.Please tell if this is correct. Using Axis2 to generate a webservice and server is Apache Tomcat To create a web service starting from WSDL: 1. First we create a WSDL document. 2. Then create a service skleleton using wsdl2java in cmd.Add our details to the skeleton ...

84. Axis 2 Client    coderanch.com

HI, I am creating client using Axis2/eclipse. My Code for calling client is as follows: InventoryStub inventoryStub = new InventoryStub(); Authentication authentication = new Authentication(); authentication.setUserName("XYZ"); authentication.setPassword("XYZ"); authentication.setClientInitials("XYZ"); authentication.setApplication("XYZ"); GetMarkets getMarkets = new GetMarkets(); getMarkets.setAuthentication(authentication); InventoryStub.GetMarkets request = new InventoryStub.GetMarkets(); InventoryStub.GetMarketsResponse resp = inventoryStub.getMarkets(request); System.out.println("Response. .. "+ resp.get_return()); But while I am trying to run this file I am getting following ...

85. NPE while trying to verify digital signature (AXIS and WSS4J)    coderanch.com

Hi, I'm getting the following error on client side while trying to verify the response signature, I'm using AXIS 1.4 and WSS4J 1.5.8. I've included some debug lines before the exception. Jun 20 16:38:50 2010: 135922 [Thread-9] DEBUG org.apache.xml.security.signature.Manifest - verify 1 References Jun 20 16:38:50 2010: 135922 [Thread-9] DEBUG org.apache.xml.security.signature.Manifest - I am not requested to follow nested Manifests Jun ...

87. axis2. xsi:type object mapping does not work    coderanch.com

I have a following setup Two objects: ObjectB extends ObjectA A webservice with a method: getObject(ObjectA obj) In wsdl these objects defined like: From the client ...

88. NoSuchMethodError when Call.invoke is invoked in Axis2    coderanch.com

HI, Thanks for your speedy reply We are currently using axis 1.2 We are not facing this issue when we use SUN JRE 1.4 We are facing this issue in UAT an PROD because in those environment we have IBM JRE 1.4. IBM JRE 1.4 has a jar file named xml.jar which has Element.class which doesnt have this getTextContent() method. But ...

89. Axis2 Generate without Warnings    coderanch.com

I noticed Axis2's wsdl2java generates with a ton of compiler warnings. Many of them are generic issues (using the raw type), but others are 'dumber' like creating local variables, private variables and private methods that never get referenced. Since I'm reluctant to ever modify generated code directly, is there a command line option or feature of Axis2 that will eliminate or ...

90. Axis2 -> Top-down approach -> MessageReceiverInOut class and CallBackHandler classes ?    coderanch.com

Stub class is only to be used by the client. Skeleton is only to be used to develop the service. MessageReceiverInOut is used to act as a bridge between the Axis2 engine and the service skeleton instance. In terms of Axis2 message processing details, Axis2 core engine assumes that a message is processed to conclusion when a message receiver is invoked. ...

91. How to deploye Axis 2 web service in web logic .    coderanch.com

I am trying to migrate Axis 1.4 web services to Axis 2 platform. My web service code is bundle with the my war file and it get automatically deployed to web logic with server-config.wsdd file . With Axis 2 how can I deploy web service which is bundle with my WAR file to Weblogic ?

92. Problem in Authenticating using Axis2    coderanch.com

93. axis and axis 2    coderanch.com

94. XML Catalog with Axis2    coderanch.com

Hi All I have a wsdl which has some reference to external locations (URLs). Whenever I run the wsdl2java utility , it gives me error like - an error occured trying to resolve schema referenced at ...... - reffering to the external url. This is because the enviorenment on which I am working doesnt have network connectivity. I checked it on ...

95. How to pass Java vector to a web service using Apache AXIS    coderanch.com

I've got a similar problem. - - This is given in the WSDL file. Now, I have to call a method which is given as follows - - -

98. Purpose of MessageReceiverInOut (generated by Axis code generator)    coderanch.com

Hi, I have tried generating Java code from WSDL file. Some java classes are generated including the MessageReceiverInOut file. When I try to change the return type of one the created method and compile, a type mismatch error occurred in the MessageReceiverInOut file. Can anyone help me how to get rid of the error in the MessageReceiverInOut file. I really need ...

99. ConnectionPoolTimeOutException from Axis2 1.5.1    coderanch.com

Hi I am using Axis2 1.5.1 for webservice calls. After making a few successful calls, I am getting the below exception. Could you please help resolving this issue? Caused by: org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:497) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199) ... 45 more Thanks

100. Need to change the context root from axis to a different name in axis1    coderanch.com

Hello friends, I am trying to figure out how to change the context root of the webservices which I expose in apache axis 1 from /axis/services/.....?wsdl to somename/services/.....?wsdl. I am deploying the webservices by compiling and archiving in the axis.war file. The web.xml file used in this war is the same which comes with the axis1 installation. Application server used is ...