May be this is too stupid, but I am learning... Axis can be used to implement both client and server. My question is that both client and server have to use Axis. Can I use Axis to implement a client and access web service by .NET, and vice versa? Thank you for your answer at advance. Moreover, do you have any ... |
|
Hi All, I was trying to use Castor as AXIS 1.2 RC2 (De)Serializers and was following the tutorials http://www-106.ibm.com/developerworks/webservices/library/ws-castor/#getcastor. When I register my service using below lines in server-config.wsdd, the service is not deployed properly and I get below exception. I am struck with this error from past 5 days and no matter how do I debug I am making no ... |
Hello all. I need to write a custom serializer/deserializer. Unfortunately, the Axis documentation on this subject is a little sparse ("go look at the code"). I find that the code can be a little daunting, especially if the serializer I need can be simple. So, does anybody know of a guide that can step me though this process? A document with ... |
Hello All, In my project, I am at a point of developing Web Service clients to invoke two different web services. One takes a custom object as method parameter (returns a custom object) and another takes a string argument (returns a string). Now, I looked at various technologies to design my client viz Apache Axis, JAXM, JAX-RPC, WebLogic's Web service's supporting ... |
Hi All, I am using AXIS 1.2 RC2 and trying to expose an EJB as web service with below wsdl which is somewhat handcrafted to support java collections using my custom AXIS (De)Serialzers. |
I've been looking into implementing a web service client using Apache Axis 1.1. However from what I see this is pretty much based on the JAX-RPC libraries. Its unclear to me what the incentive would be to use something like Apache Axis rather that the Sun JAX-RPC libraries. Can someone help explain? |
|
|
Hi all, I'm having problems accessing a soap server running on my machine using Axis. I get a ClassCastException at runtime error whenever I use the service stub to invoke a method, the same problem also occurs when I try to invoke methods that return void. I'm not too sure whether the problem is with the soap server or with my ... |
Hello, I want to use the use=literal with my wsdd I tried adding use=literal in the wsdd and I get this from axis when I try to load the wsdl in the browser: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://api.ptf.bl.webapp.pds.reuters.com'. Namespace prefixes must be set on ... |
I've installed Axis under TomCat. I've added xerces.jar into axis\WEB-INF\lib. I tried to run the simplest example from tutorial - Calculator.jws public class Calculator { public int add(int i1, int i2) { return i1 + i2; } public int subtract(int i1, int i2) { return i1 - i2; } } If I try to call this service from browser http://localhost:8080/axis/Calculator.jws?method=add&i1=1&i2=2 all ... |
|
|
Hi All, I am using AXIS 1.2 RC2 both on server and client. Can anyone please tell me how to write a custom serializer and deserializer in axis in order to consume below soap request message from AXIS Client. My WSDL has also been included in this mail. Please redirect me to any docs/tutorials/code samples. Please suggest .... Request Soap Message ... |
Hi, Does AXIS supports Choice entries defined in XSD? I have defined following entries in xsd : I am only setting ElementB in the request but at runtime i am getting error saying both the requests can't be set at the same time. Any advice on this will be highly ... |
i am trying to make a simple web service using axis on tomcat 5 Here the Calculator.jws file public class Calculator { public int add(int i1, int i2) { return i1 + i2; } public int subtract(int i1, int i2) { return i1 - i2; } } Here is CalcClient.java client file package com; import org.apache.axis.client.Call; import org.apache.axis.client.Service; import org.apache.axis.encoding.XMLType; import ... |
|
Hello Guys ..... This is driving me Nuts totally... I am using Axis client to invoke a remotely hosted web-service at XMethods. I've been sitting on this problem for the past 10 days .....still no clue on it.... ================================================================================ Here is my classpath setting: C:\Soap>set classpath=.;D:\Tomcat\webapps\axis\WEB-INF\lib\axis.jar;D:\Tomcat\we bapps\axis\WEB-INF\lib\commons-discovery.jar;D:\Tomcat\webapps\axis\WEB-INF\lib\ commons-logging.jar;D:\Tomcat\webapps\axis\WEB-INF\lib\jaxrpc.jar;D:\Tomcat\weba pps\axis\WEB-INF\lib\saaj.jar;D:\Tomcat\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar ;C:\activation.jar;C:\mail.jar; ================================================================================ Here is my code: import org.apache.axis.client.Call; import javax.xml.namespace.QName; public class ... |
|
With Tomcat 5.0.28 and Axis 1.2RC3, I try to send document-literal XML message to a web service but get the following error message: No such operation. The XML message sent is: add 8 The service Endpoint contains the following method: public String myMethod(String x, int y) It seems that ... |
Hi all, I'm trying to build a web service that has a complex XML document as input. In that XML document I have some elements referencing each other, something like this for example: (...) I defined these references in my WSDL file using key and keyref elements. I would have ... |
|
|
I am trying to port an application that originally used Axis 1.1 to Axis 1.2. However, the generated code doesn't compile. It looks like some of the code is assigning primatives to wrapper objects. With Java 5.0, this is not a problem with autoboxing. Unfortunately, I am using Java 1.4.2. Question. Does Axis 1.2 require Java 5.0? And if it doesn't, ... |
hi, after the installation you must copy the directory YourAXIS-Home/webapps/axis into (by example!!) C:\Programme\Tomcat5.0\webapps (axis runs as wepapps!!) yue need an application server (T:-)Cat)? if you are working with resin: into C:\Programme\resin-3.0.12\webapps On the box: this is my batch file to start tomcat and axis: rem begin of file setJava.bat @echo off @rem ----------------------------------------- @rem setJava.bat @rem @rem Sets up the ... |
Amit, I don't have a link, but I have confirmed it. And its pretty logical stuff to do, coz ur webservice can be anywhere in world, and can be accessed from anywhere, so obviously it can't assume what timezone is used rather than using something standard. If its not doing that, then the webservice has a bug. Ashutosh |
Hi All, I am trying to use attachment support with axis and I have activation.jar and mail.jar in my WEB-INF\lib directory. I am using AXIS 1.2 Final and Tomcat and I have below service registered in server-config.wsdd file : Now when I ... |
Hi I have written a very simple web service on my local machine. Am using Tomcat w/Apache Axis to implement the same. I coded a very simple *.jws file in the Tomcat webapp directory. The file has two very simple public methods. With Tomcat & Axis, I was able to see the wsdl of the web service on my browser. That ... |
|
|
thanks for your reply. I was thinking that a server container was needed because of the clientsecuritydeploy.wsdd file provide by axis security sample. I have to authenticate the sender of a message and the integrity of the message so I try to use apache axis with XML-security. On the server side, there is a handler wich intercept the message and verify ... |
|
Hi All, I am now successfully able to use Axis with my own SocketFactory class to make external SOAP webservice call. But having a little problem. I am currently making 3 SOAP call to 3 different URL and for I have stored keystore for all 3 websites in same file. This runs fine but I was wondering whether it is possible ... |
|
I'm curious about folks' experiences with Apache Axis. I just created a small simple web service. One class, deployed as a .jws file, and the client just calls instance methods of the class. No session/persistence. No objects. Just remote function calls. Using Axis this way seems pretty simple. Writing a client looks to be pretty simple too, but I haven't had ... |
Hi All, Is it possible to generate Client Stud's in WSAD 5.1 and call Web Service deployed in Apache Axis? Assumin that I have WSDL file for the Web Serice deployed in Apache Axis and I am working on WSAD and WAS and Apache Axis is running on another machine. Thanks in Advance. Kamalakar B. [ August 11, 2005: Message edited ... |
Hi All, I am using axis 1.0 to invoke a web service deployed on web logic server 8.1. I have generated the client side Java Classes and Stubs using WSDL2Java tool of axis. When I try to invoke the remote method, I was getting the following exception. I am not always getting this exception. Sometimes I could hit the remote service ... |
I have a web service deployed in WAS on one machine and I have used the WSDL file to generate Axis 1.1 client classes using the Axis WSDL2Java tool. I want to run a client app from another machine where the client will be a servlet running in Tomcat or possibly JRun. The generated code includes the usual *ServiceLocator and *ServiceBindingStub ... |
|
|
Hello, I am trying to integrate axis1.1 with weblogic 6.1. i have created war file of axis web components containing all required jars. The same war i have deployed on weblogic6.1. The problem is that when i invoke axis from browser, happyaxis jsp is selecting saxparser from weblogic.jar XML Parser weblogic.xml.jaxp.RegistrySAXParser XML ParserLocation C:\bea\wlserver6.1\lib\weblogic.jar instead of XML Parser org.apache.xerces.jaxp.SAXParserImpl XML ParserLocation ... |
|
|
|
|
Hello, I have a java program, written by someone else, that uses Axis generated stubs to invoke methods on a web service. The problem is that there is a large loop, and a method gets invoked with each iteration, creating a new connection each time. Is there a way to make subsequent iterations reuse the same connection? Here is the general ... |
i want to pass events from a client to a server via a web service interface such as: public void accept(Event e); now Event is actually an interface (or abstract class) with specialisations defined for each concrete event type (e.g. AddUserEvent, UpdateUserEvent, etc..). So, how do i do it. Does SOAP handle inheritance, or if not can i overload the service: ... |
|
The happyaxis page works fine. I did deploy the service and it doesn't show up on that page. I did get my client to return a SOAP message so the service I created works. Now I am getting a error on the PWCallback.java page. xisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: WSHandler: cannot load password callback class: PWCallback; nested exception is: java.lang.ClassNotFoundException: PWCallback; ... |
|
We're using axis to generate Java stubs from our WSDL, but when we generate a message and send it, it includes elements without values as which causes the server side to reject the request. The other strange issue is that these nil elements are even included in the request when it is a choice, that is all of ... |
|
Hi friends: I am developing WebService with axis. I want to publish a webservice in server.So Iwrite a method: public List getPeople(User user){ ArrayListlist=new ArrayList(); list.add(user); return list; } See the above code ,the User Object! After publish this method to web, when client invoke this method,Axis will serialize the User object and deserialize the User object for us. I don't ... |
Hello, I am presently working with JAX-RPC to implement web services and i am a beginner. I just want to know which one is the best to implement web services. I am referring the book MONSON-HAEFEL for web services. Which one do i choose? 1. JAX-RPC 2. Apache Axis 3. Apache Soap 4. JAX-WS and any other I need to have ... |
Hi, this is my first post, and also my first use of webservices. I have 3 issues, all of which seem to be common, but the solutions don't work for me. In general this WS: uses document/literal , uses only int[],String[],int and String and uses attachments, the adminclient works, the happy page is happy First of all I noticed that all ... |
hi, please let me know how to install Axis in tomcat 4.1 .. I tried to follow the steps which was mentioned at the Apace website.. but it wasnt clear. I downloaded the Axis 1.3 from apache website and I already have tomcat4.1 installed. i unzipped the Axis 1.3, I found the folders docs, lib, samples, webapp xmls, license file,readme file,release-notes ... |
Morning all, Quick question. I'm trying to install Axis on iPlanet 6.0 so that it works (please don't ask me why I'm using iPlanet 6.0, I know it's out of date and all that), but I'm having no luck. I've been successful installing Axis on Tomcat with no problem. I have put Axis on iPlanet so that it looks like it's ... |
<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%-- --%> <%-- <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%> index.jsp Welcome to Reptest System See Service Definition WSDL here: http://localhost:8080/ReptestSystem/services/ReptestService?wsdl Test Service Below get a rep zip update a rep zip <%@page contentType="text/html"%> ... |
Hello there! I've my WS configured My wsdd looks like this: |
Well, you seem to have more than version of the axis.jar file. So check all of them, and make sure they are identical. In particular, make sure that the one you develop against is the same version as the one you run against. [ February 01, 2006: Message edited by: Ulf Dittmer ] |
Hi, I'm trying to use Axis BeanSerializer in a stand-alone application (converting between java objects & xml). Example (assuming you have a "Customer" bean): Customer cust=new Customer("john", "ibm"); BeanSerializer ser=new BeanSerializer(Customer.class, null); SerializationContext ctx=new SerializationContext(new FileWriter("cust.xml")); ser.serialize(someQName, null, cust, ctx); My question: Can I *customize* this BeanSerializer, so as to control the XML output ? For example: - Configure xml namespaces ... |
|
Hi I have missed the xmlsec-1.2.1.jar . When I have done that I am getting the following exception - - - ns1:Server.NoService The AXIS engine could not find a target service to invoke! targetService is EchoHeaders.jws - pc-svraman-in The following are the parameters getting ... |
Hi , i am started learning web service using apache axis . i deploy the Axis Stock Quote Example. in my tomcat web server . can any one explain how i can execute the service with browser . i would like to see the answer. any give the idea . because i am very new to the web services. if possible ... |
|
Hi- Does anyone have experience with the BSFProvider in Axis 1? There seems to be no information available on how to invoke it, not even on the Axis mailing list. I found an age-old WSDD file that demonstrates the server side, but can't figure out what kind of SOAP request it accepts. Actually, at this point, I'd be grateful for any ... |
Hi all! I have problems invoking a Web Service with AXIS. When I call a web service which is on localhost, the process freezes when invoke() is called. SOAPEnvelope response = createCall(serverURI).invoke(request); After trying a few times I opened TCP Monitor to check communication. The whole traffic is very well, I see the request which seems correct. I see the response ... |
|
Hi all, I call method and get the following error: AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (405)Method Not Allowed faultActor: faultNode: faultDetail: {}:return code: 405 Must use GET {http://xml.apache.org/axis/}HttpErrorCode:405 (405)Method Not Allowed at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) Can you tell me what this error means? ... |
We used Axis to automatically generate request and response types from our beans and it worked wonderfully. But now they want a little change, and I have no idea how to do that. So I hope you guys can get me going. We had an original response message which looks like this (simplified version): class Response { getStatus(){..} setStatus(){..} addRecord(final Record ... |
Hi all, Could you help me out with this prob, i will put down the steps what i am trying to do : - Input is a WSDL file.(I have only wsdl file as the starting point.. ) ==================== 1.Using Axis1.2 (WSDL2Java commandline utility) I generate java stubs, as in : java org.apache.axis.wsdl.WSDL2Java -o. -d Session -s -p fibonacci.ws fib.wsdl 2.The ... |
|
|
Hi Ben/Ulf Thanks for your sugesstion regarding display name.Hope its fine now.Comming back to the wsdl thing ive already palced the axis from axis distribution to the webapps folder of tomcat.then i tried running the axis example(happyaxis) from java ranch n its running perfectly fine.The problem arises whenever i try to run HelloClient.java program.It give Noclassdefinition found error.Later i imported all ... |
Hey everyone, I'm having problems with invoking a service request in Axis. I have built a basic CRUD style service and all I want to do is get a list of all the objects in a table. The request takes no parameters. When I make the request, the server hangs while eating up my processor. Originally I was also getting java.lang.OutOfMemory ... |
Hi Friends, I am getting below mentioned exception when i tried to execute java ranch sample program. Please help me out asap... Badly I am running short of time... Exception in thread "main" AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (404)/axis/Hello.jws faultActor: faultNode: faultDetail: {}:return code: 404 Apache Tomcat/5.0.28 - Error report |