axis 1 « axis « Java Enterprise Q&A





1. Microsoft Reporting Services WebServices and Java    stackoverflow.com

Has anyone successfully implemented a Java based solution that uses Microsoft SQL Server 2005 Reporting Services? Reporting Services comes with a set of Web Services that allow you to control ...

2. Apache Axis ConfigurationException    stackoverflow.com

I am using Apache Axis to connect my Java app to a web server. I used wsdl2java to create the stubs for me, but when I try to use the stubs, ...

3. how do I find the angle of rotation of the major axis of an ellipse given its bounding rectangle?    stackoverflow.com

I have an ellipse centered at (0,0) and the bounding rectangle is x = [-5,5], y = [-6,6]. The ellipse intersects the rectangle at (-5,3),(-2.5,6),(2.5,-6),and (5,-3) I know nothing else about the ...

4. Don't understand how Axis works if I haven't installed it?    stackoverflow.com

Forgive my ignorance - still learning here. I am using Eclipse Ganymede (Java 1.5) and have been experimenting with web services - I have mangaged to get a simple web service up ...

5. XtraCharts Panes - Control Axis labels in code    stackoverflow.com

I am adding series and panes to a Developer's Express Chart Control in code on a windows form application. I would like to only show the x-axis labels for the ...

6. How can I automatically calculate axis scale and intervals?    stackoverflow.com

Does anyone know where I can find an algorithm that given a set of values (dates) for an axis I can calculate a reasonable scale and tick interval?

7. Patterns : Java class conversion from axis objects    stackoverflow.com

I use a axis to auto-generate webservice artifacts which I then convert into objects used within our application. Is there a sensible pattern for doing this ? We have written transform ...

8. undeclared identifier SO_EXCLUSIVEADDRUSE when building Apache Axis2/C    stackoverflow.com

I'm attempting to build Apache Axis2/C (actually I'm building the WSO2 WSF/C++ wrapper for it) and it keeps giving me an error when it comes across the symbol SO_EXCLUSIVEADDRUSE. It's ...

9. Implementation of WS-ReliableMessaging for Axis 1.4    stackoverflow.com

Do you know what implementation's of WS-ReliableMessaging for Axis 1.4 you have used?





10. Using XML 1.1 in Axis2    stackoverflow.com

I have a web service and client that are passing around strings containing character references such as  (0x1A). These are invalid in XML 1.0 but valid in XML 1.1. ...

11. Would you use Metro instead of Axis2?    stackoverflow.com

For a starting project, why would you use Metro instead of Axis2? What should be considred? Performace? Easiness? Tools/IDE/Plugins availability?

12. webservices and attribute types    stackoverflow.com

I'm currently working on a project which exposes some functions through webservices. Trouble is, some calls should return an array of "Attribute", which is a container class for a database cell. These ...

13. Given a set of points, how do I approximate the major axis of its shape?    stackoverflow.com

Given a "shape" drawn by the user, I would like to "normalize" it so they all have similar size and orientation. What we have is a set of points. I can ...

14. Dual Axis Graphs - Reporting Services 2005    stackoverflow.com

I have a need to output a graph in reporting services 2005 with 2 Y axises. It does not appear that this is possible in RS2005 and I have no ...

15. Java naming clash between method variable and package names    stackoverflow.com

I have some classes generated from WSDL files by the Axis Framework. In one of these classes, there is a generated method


public com.initechsystems.www.initech7.initechbo.Organization createOrganization(com.initechsystems.www.initech7.initechbo.Organization org) throws java.rmi.RemoteException {

//(... snip ...)
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
//(... ...

16. How to call a web service from within a webservice    stackoverflow.com

I am trying to create a web service which is a consumer to another webservice. Here is the layout.. I developed a java class and created a webservice out of it. Then i ...





17. Axis 1.2 web service problem with JDK 1.6.0    stackoverflow.com

We ate migrating one of our axis web service which was built using JDK 1.4 and axis 1.0. We are trying to migrate it to JDK 1.6.0 with axis 1.2, but I ...

18. Value on Y Axis of a Bar chart is too large    stackoverflow.com

I have A BAR chart in SSRS which has following vaues.. for 5 points on X-axis values are 100,120,130,123,8000 So the last value is too lagre due to which scale is geeting larger ...

19. illegal XML characters /Axis    stackoverflow.com

I've developped a web service and deployed it with Axis. All is running very well but I've a problem when I consume the service using a String containing a non printable character ...

20. How to Invoke Axis WebService through Donet Client    stackoverflow.com

I have a task to invoke & connect to a axis webservice in a dotnet web app. The weservice, first requires authentication of username & password , which should be sent ...

21. How can I get jcifs to play nicely with apache axis    stackoverflow.com

I need to connect Apache Axis 1.4 to a Webservice that uses NTLM authentication to restrict access to its operations. I'm expecting to use Samba Jcifs to handle the NTLM handshake. I found ...

22. Reporting Services Chart - Custom Axis Label    stackoverflow.com

I have a SQL Server Reporting Services (2008) chart (error chart). The X-axis has date intervals 1/1/2009, 2/1/2009, etc. The Y-axis has numeric intervals of 50. Values on the Y-axis are ...

23. A good place to put autogenerated code?    stackoverflow.com

We have bunch of autogenerated classes which are mostly Axis2 stubs, skeletons etc. For some complicated wsdls, Axis2 generates a TON of java-beans, stubs etc. And I am sure there are ...

24. axis - how to access it?    stackoverflow.com

Hi I have axis in webapp and I can access http://localhost:8080/oop/services/test2?wsdl correctly. I wrote client:


  import org.apache.axis.client.Call;
   import org.apache.axis.client.Service;
   import javax.xml.namespace.QName;

   public ...

25. Rotate normal vector onto axis plane    stackoverflow.com

I have a set of data points in 3D space which apparently all fall onto a specific plane. I use PCA to compute the plane parameters. The 3rd component of PCA ...

26. How to calculate a point on a rotated axis?    stackoverflow.com

How can I calculate a point (X,Y) a specified distance away, on a rotated axis? I know what angle I'd like the point "moving" along (in degrees).

27. Java web service client:    stackoverflow.com

I'm developing a web service client that needs to execute operation exposed on tomcat with axis2. The client has all the wsdl files that are needed. I can't import them statically ...

28. How to capture SoapRequest.xml and SoapResponse.xml    stackoverflow.com

I have created a Java Webservice(first .WSDL file,then wsdl2Java)using Axis2 stack sucessfully.If I'm using Axis2 stack,it'll creates all the Java beans stuff. I have written a Webservice Client using Stubs generated ...

29. Axis Web Service Keep Alive    stackoverflow.com

I have an axis web service running in Tomcat. Clients are making connections without sending a Connection: close header in HTTP 1.1 which means that the default is Keep-Alive. Unfortunately the ...

30. Axis2 Migration    stackoverflow.com

We had an application using axis2 1.0. We recently migrated to axis2 1.4. After migration we are facing the following error at runtime:

public static org.apache.axis2.context.ConfigurationContext org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(java.net.URL,java.net.URL) throws org.apache.axis2.AxisFault] threw exception; ...

31. How to tell when a web service client did not successfully receive payload    stackoverflow.com

I need to know if a client of my web service has successfully received a message. If the client does not receive the message (network goes down for the client ...

32. How to create a web wervice in java/Axis2 which should keep publishing data    stackoverflow.com

I am a new to Axis2 and SOAP. I recently working on a Axis2 SOAP project, I have create a SOAP server and SOAP client by using java and axis2 implementing ...

33. Should options in libraries or frameworks default to most commonly used value?    stackoverflow.com

With reference to Reusing HTTP client objects Why would you not build this as a default option vs. requiring to add code like options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, "true"); AXIS2 being a web service engine ...

34. How do I calculate mouse movements using a 3 axis accelerometer    stackoverflow.com

I have a 3 axis accelerometer(any mobile phone) but I can't find any good formulas to interpret the data that's coming from it. No matter what I do the movements are ...

35. Resolving axis2 and OC4J library conflicts    stackoverflow.com

I'm trying to deploy an Axis2 web service to an OC4J 10.1.3 app server. I was using axis 1.4 before and had just created my own shared library with all ...

36. Axis2 versus Sun Metro    stackoverflow.com

Could anyone please compare Axis2 and Sun metro web service based on following parameters?

  1. Speed
  2. Hot Deployment
  3. Flexibility
  4. Stability
  5. Composition and Extensibility
  6. Security
  7. Document availability and easy to use.

37. Set Axis Tick Labels in gnuplot    stackoverflow.com

My input to gnuplot looks something like this:

1:00am  1       10
1:00am  30      12
1:01am  60     ...

38. Starting an axis2 service programmatically    stackoverflow.com

I'm programmatically starting a service in Axis 2 (1.5), like this:

ConfigurationContext context = ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null);

AxisConfiguration cfg = context.getAxisConfiguration();
Map<String, MessageReceiver> mrMap = new HashMap<String, MessageReceiver>();
mrMap.put("http://www.w3.org/ns/wsdl/in-only", RPCInOnlyMessageReceiver.class.newInstance());
mrMap.put("http://www.w3.org/ns/wsdl/in-out", RPCMessageReceiver.class.newInstance());

AxisService service = AxisService.createService(MonitorWebService.class.getName(), cfg, mrMap, ...

39. What is the best way to return big chunks of binary data from a webservice?    stackoverflow.com

I am implementing a webservice that returns the content of binary files. The files are about 100MB big. The webservice and the client are build upon Axis2. What is the best joice ...

40. Axis2 implementing client side    stackoverflow.com

I need to create connection to web service with axis2. I would like to know how can I convert recieved xmls to Java objects. Is there any good tutorials to learn ...

41. Axis 2 WS-Interoperability Basic Profile 1.1    stackoverflow.com

Can anyone point me towards an example of how to configure an Axis 2 web service so it is WS-Interoperability Basic Profile 1.1 compliant?

42. How to invoke a web service from a stand alone Java client?    stackoverflow.com

I have an echo web service running on lets say http://localhost:8080/axis2/services/Service1. This service just echos back a string that is sent to it through the function echo(). Using the wsdl of ...

43. Treat axis as date/time (epoch)    stackoverflow.com

I'm generating a graph with gnuplot of activity over the last twenty four hours, but the time axis looks really bad because it's trying to fit the long number for every ...

44. Reporting services 2008 chart X axis interval as 3 but show the first category    stackoverflow.com

In X axis of a column Chart I have a Year (for ex, "2009") and Month (for ex, "Jan") category groupings, and I would like to show just the first month ...

45. Suitable marker distance along axis in plotter    stackoverflow.com

I'm writing a 2D plotter, and along the X- and Y-axis I have markers with printed values. Now my question is: how do I find suitable distances? My method (for a numeric ...

46. Bézier curve compute point from one axis    stackoverflow.com

I have a Cubic Bézier curve. But I have a problem when I need only one point. I have only value from the X-axis and want to find a value that ...

47. Are Axis2 generated stubs thread-safe?    stackoverflow.com

Are client stubs generated from WSDL by Axis2 thread-safe? Of course, "thread-safe" isn't necessary a rigorously defined term, so I'm at least interested in the following: Are different instances of the same stub ...

48. Matplotlib: Changing the color of an axis    stackoverflow.com

Is there a way to change the color of an axis (not the ticks) in matplotlib? I have been looking through the docs for Axes, Axis, and Artist, but no luck; ...

49. Unable to create AxisService from ServiceEndpointAddress    stackoverflow.com

I do some testing on WS. I create a wsdl with multiple method. But I only can execute the 1st method, others failed and give me error below:

javax.xml.ws.ProtocolException: CWWSS7200E: Unable to create ...

50. Web Services:BeanSerializer    stackoverflow.com

When an error like this will occur?

 <ERROR> <BeanSerializer> <serialize>  <Exception:>
java.io.IOException: Non nillable element 'standardHeader' is null.
        at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:215)
     ...

51. Which is better in this case - sync or async web service?    stackoverflow.com

I'm setting up a web service in Axis2 whose job it will be to take a bunch of XML and put it on to a queue to be processed later. ...

52. how can i construct the bezier curve if i only have points in x axis?    stackoverflow.com

how can i construct the bezier curve if i only have points in x axis?can i do this act or need points for x and y axes related to t parameter? i ...

53. Web service client code generation problem (with Axis 2 )    stackoverflow.com

Hello I need to generate a Java Client. I tried wsdl2java from Apache CXF Project, it returns "a Null pointer exception" when I give it an http link to a wsdl file. I ...

54. Changing Spreadsheetgear axis title orientation on a column chart    stackoverflow.com

I am using Spreadsheetgear to create charts in Excel. I create a column chart with an axis title on the y-axis.

chart.Axes[SpreadsheetGear.Charts.AxisType.Value].HasTitle = true;
chart.Axes[SpreadsheetGear.Charts.AxisType.Value].AxisTitle.Text = "Market Value";
However, the axis tile is in ...

55. How can I run intialization code during axis2 startup?    stackoverflow.com

I have a 3rd party library that I use in my webapp. I need to call an init method from this library during axis2 startup. I can't wait until the first ...

56. Can Axis2 expose a web service from a plain old Java program?    stackoverflow.com

I need to modify an existing Java SE process to expose a web service. I notice that ApacheCXF can expose web services from a Java SE process, but my company is ...

57. Apache Axis 1.x xml payload    stackoverflow.com

I'm using apache axis to consume a few SOAP operations. The web service I'm talking to takes XML as one of the payload inputs. I noticed that Axis is encoding the ...

58. AXIS2 How to set connection retry?    stackoverflow.com

It seems that the Axis admin client org.apache.axis2.client.ServiceClient is issuing org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry() and the retry is like 3 times by default. Is there a way to set to not do retries? My code:

 ...

59. Axis2 NTLM retrieve default credentials from client    stackoverflow.com

I am working on a J2EE client (1.4 JVM) that needs to consume a NTLM secured web service. We run our J2EE applications on Weblogic (8.1.4 in this case) on ...

60. How do I test a web service receiving multiple requests from its clients?    stackoverflow.com

I have an axis web service deployed on JBOSS. My web service is synchronous. So, how does a web service handle multiple requests? And how do I simulate/test that my code can ...

61. How to set Axis2 Web Service Client configuration using axis2.xml?    stackoverflow.com

The documentation for Axis2 mentions axis2.xml file for configuration transport settings. However I could not seem to set transport type from HTTP/1.1 to HTTP/1.0 without chunking. I have put axis2.xml file ...

62. Java and Axis cameras    stackoverflow.com

I am writing a Java applet to display live images from Axis cameras. Is there a good library I can download that abstracts camera image fetching using VAPIX? Thanks.

63. Web client for Apache Axis2 web service    stackoverflow.com

I have this application written in java to calculate pageranks. And the application takes in a file in specified format, parses it , generates the network graph and adjacency matrix, calculates ...

64. Sugar CRM Integration Using Java and Apache Axis    stackoverflow.com

I'm trying to integrate Sugar CRM with one of my projects. I'm using Apache Axis as my SOAP client. I got the initial setup from this

65. Getting Java Axis to work on Windows? NoClassDefFoundError    stackoverflow.com

I'm trying to consume an ASP.NET Webservice from a Java application. The java app is being built with Eclipse on a Windows box. I've installed the Webservice tools for Eclipse and ...

66. Axis2 embedded in my web app is not working    stackoverflow.com

OKay I lost alsmost the whole day on this. I have a webapp where I would like to add AXIS2 and start working. I added AxisServlets in the web.xml file like ...

67. [MATH]Project an axis to a plane    stackoverflow.com

how do i project the X axis to a plane if the plane is defined by three points? see pic here: http://129.25.16.135:2080/v6.5/books/usb/graphics/iconventions-local-surfaces.png The default local 1-direction is the projection of the ...

68. how to design asynchronous web services    stackoverflow.com

How to design asynchronous web services? That means each web service wait for the reply from another one asynchronously? Can anyone give me any clue?

69. How is joystick axis information formatted from a USB Joystick?    stackoverflow.com

I actually just have a rather small question, but I have had the HARDEST time finding information about it. For the application I am programming for, there will be a 3-axis joystick ...

70. How do I use WS-Addressing properly in an Axis2 client?    stackoverflow.com

All, I'm attempting to write a Junit test that calls a Web Service client in Axis2.1.5, and I've gotten confused about how to exactly to set it up to use ...

71. How can i get a quaternion through my 1 axis gyroscope?    stackoverflow.com

My problem is, i have a 1 axis gyroscope and a 3 axis acellerometer in my device. I managed to get the quaternion through the accelerometer but i cant figure out ...

72. Ws-Security headers using Metro    stackoverflow.com

I have a web service which implements WS-Security but does not define a policy in the WSDL. I am able to consume this web service successfully using Axis 2 as client. I ...

73. client-side synchronous service invocation    stackoverflow.com

I am talking about synchronous on the client side. That means, the service requester is blocking after sending a message to the service. my question is: is it related to the ...

74. Axis2 and OpenSAML    stackoverflow.com

I'm trying to add SAML assertions to a SOAP web service that is built on the axis2 engine. I'm having a little trouble wrapping my head around how the two ...

75. Steps in creating a web service using Axis2 - The client code    stackoverflow.com

I am trying to create a web service, my tools of trade are: **

Axis2, Eclipse, Tomcat, Ant
** I need to create a web service from Code, i.e. Write ...

76. Most Efficient Way of calling an external webservice in Java?    stackoverflow.com

In one of our applications we need to call the Yahoo Soap Webservice to Get Weather and other related info. I used the wsdl2java tool from axis1.4 and generated th required stubs ...

77. How to tell axis2 to use an existing object as a service?    stackoverflow.com

I am trying to expose some methods of a running application as a webservice. The core idea is to use an embedded web-server and send the soap messages to the apache ...

78. Flot not displaying x axis labels correctly    stackoverflow.com

I have to display a graph with date on the X axis and Amt on the Y axis. There will be 8 lines (series) each with n months data. When I ...

79. Apache Axis 1.4 problem with generics or composite datatypes    stackoverflow.com

I have a class XMLDataCarrier which has a map attribute Map (Integer, XMLDataListWrapper)catPriorityXMLDataMap. The class XMLDataListWrapper has just a list of strings private List (String) xmlString; All classes i.e. XMLDataCarrier,XMLDataListWrapper implement serializable ...

80. GNUPlot: change axis labels    stackoverflow.com

I have used the following statement to get the GNUPlot plot a grah for me:

plot "force.dat" using 1:2 title "Detroit" with lines, \
     "force.dat" u 1:3 t ...

81. Web service client receiving generic FaultException rather than FaultException    stackoverflow.com

I am connecting to a Java Axis2 web service using a .NET web service client. The client itself targets the .NET 3.5 framework. The application that wraps the client DLL is ...

82. JAX-WS client with Axis service    stackoverflow.com

I'm relatively new to web services, but I need to integrate a call to an existing service in my application. Ideally, I'd like to use JAX-WS because I'm looking for the ...

83. Perspective Rotation about Y axis    stackoverflow.com

I have a 2D image and I want to create a anaglyph image for this single 2D image. To do this I need to create Left and Right views. I will ...

84. Apache Axis2 tried books    stackoverflow.com

I am looking to get my hands wet in Java Web Services. Apache CXF and Axis2 seem to be in demand a lot. I googled a bit for finding ...

85. How to write web services in java    stackoverflow.com

Though this might appear as a duplicate of Java Web Services , I would like to know Where to start and to continue.In the past, I have invested so much ...

86. Axis web service can't be invoked from web application    stackoverflow.com

I have a simple axis 1.4 web service which I deployed successfully and can invoke it from main method of a Java class. This works fine but when I try to invoke ...

87. Axis Rotation Question    stackoverflow.com

By using left hand rule, I rotate one object left and right using y axis, and rotate up/down using x axis. After first object is rotated to the right, the up/down rotation ...

88. Core Plot- How can we change the x Axis class length without changing the data plot values    stackoverflow.com

Well i tried to manage this issue passing the NSTimeInterval(double) values. But let say X: May 01 2010 01:03:55 PM Y:32
X: May 05 2010 ...

89. pgf/tikz: String Symbols as Input Coordinates    stackoverflow.com

I'm new to pgf so i was trying out some examples from the pgfplot manual. One example is especially relevant for my current task but, alas, it would not compile. Here ...

90. SRP & "axis of change"?    stackoverflow.com

I'm reading Bob Martin's principles of OOD, specifically the SRP text, and I understand the spirit of what it's saying pretty well, but I don't quite understand a particular ...

91. How to use XPath to filter elements by TextContent? get parent by axis?    stackoverflow.com

I've found a similar question on SO, however, that seems not exactly what I wanna achieve: Say, this is a sample XML file:

<root>
    <item>
     ...

92. Unable to Create New Incidents in Dynamics CRM with Java and Axis2    stackoverflow.com

So I've been working on trying to figure this out, oddly when I ran it one machine I got a generic Axis Fault with no description, but now on another machine ...

93. How to reflect an angle across the Y axis    stackoverflow.com

I am no mathematician, but I somehow got into game development as a hobby. Having never studied anything beyond basic math, I have a lot of trouble figuring out how to reverse ...

94. Remote Web Services    stackoverflow.com

I am new to web services. I have a requirement in my project. I have to consume the web services of our vendor in my project. All he has shared with ...

95. Can I include both Apache Axis 1 and 2 libraries in the same project?    stackoverflow.com

If it sounds like a ridiculous idea then it is. The client only wants to have to install one project on their server. Our web service will be bridging ...

96. Given vector of one axis, how do I find vectors of other two axes?    stackoverflow.com

This is a maths problem I am not exactly sure how to do. The vector is not aligned to an axis, so just rotating 90 degrees around x, y or z ...

97. Axis2 not returning own objects    stackoverflow.com

I've written some webservices where some return a simple String (this ones work) and other returning a list of objects. No, axis2 (1.5.1) cannot handle collection types, so I changed my ...

98. Axis2 Timeout waiting for connection    stackoverflow.com

My code is consistently generating the following error:

org.apache.axis2.AxisFault: Timeout waiting for connection
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
    at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
    at ...

99. Axis2 and fastinfoset - cannot get content-type to change    stackoverflow.com

I've been trying to enable fastinfoset compression on my web services. However, I'm having a problem getting the content-type to change on the request from the client. At least, I think ...

100. Axis2 and Web-Service    stackoverflow.com

I have a web-service, I used Axis2-1.5.0 to access it, but I have two questions:

  1. It had generated most of classes ...