I'm implementing a SOAP client using Apache Axis 2. Since the SOAP client must handle heavy number of requests I am using a connection pool.
To do that I had to set a few transport layer configuration of my stub that was generated from a WSDL file:
stub._getServiceClient().getOptions().setProperty(HTTPConstants.REUSE_HTTP_CLIENT, Const...
I'm completely stuck and need your help... I've created a webservice stub with jaxb 2.x for a service that sends a binary file (base64 encoded jpg images) within a soap message. Everything worked fine and I was able to receive and display the images, until I tried to export the eclipse RCP app to a product, which caused imediatly Linkage...
Hello, this is a follow-up to my recent question. Skaffmans answer helped and I think I identified the problem. But again I need help to solve it...
Here's what I did so far:
Autogenerated a Service Stub using java2wsdl and axiom data binding (ADB)
The service's response message has an image attachment inlined in the xml body (base64 ...
Hi guys,
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 with netbeans or eclipse because the client needs to discover the wsdl at runtime (this has been already done) and then execute them in an fixed order...
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 from the WSDL in pure Java by creating Request Object ( in Java) and in the Response I got java object.
But my requirem...
hi All,
I looking for a simple , working sample mtom sample code (service + Client)
either using jax-ws RI or Axis 2 based.
I googled the world only to find snippets and codes that dont simply work !
Want to send PDF attachments to the requesting web service client..
Thanks
Sam-ant
...
I have an AXIS2/JAX-WS web service using a code first implementation (yes I know, that is bad). The web service is being consumed by a .NET based client.
Before we had Axis1, and when custom objects were passed between the client and the server, the client and the server code had to do their own serialization and de-serialization.
When...
We use Axis2 to generate web service response of which the body is a xml message that generated from a system using windows 1252 as encoding. Our Axis2 system, will wrapped this body inside a soap message using utf8. The message is then send to the caller. However, the caller keep reject the message with "Invalid byte 1 of 1-byte UTF-8...
We are using axis for webservice communication between different system in house. Every once in a while the axis calls fail with a:
[org.apache.axis2.deployment.util.Utils] - Created temporary file : C:\WINDOWS\TEMP\_axis2\axis248890addressing-1.41.mar
[org.apache.axis2.util.Loader] - java.lang.ClassNotFoundException: Class Not found : ...
Hi,
I'd like to know how to modify the server.xml file so all my webservices built on axis2 can talk to the DB using Connection Pooling. Each webservice has a different data source, one points to one instance of the DB and the other to another DB server. How do I specify the context that should be used by each service?
Thanks in advanc...
Hi,
I am currently working on Axis2 deployed on Resin 3.1.3. However, I got the below error during deployment:
org.apache.axis2.deployment.DeploymentException: The "Dispatch" phase is not found on the global "InFlow" phase of the axis2.xml file. Make sure the phase is within the axis2.xml file.
Any idea how to resolve this? Thanks in...
Hi,
I created an Axis2 client to test my axis2 webservice. However, i am getting the below error at runtime:
org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError: Could not initialize
class com.sample.LoginRequestDocument
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
ava:517)
at org.ap...
hi,
I got the below error when I tried calling an axis2 webservice:
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.axis...
Hello guys,
I am trying to learn how to implement Web Services using Axis2 and Tomcat, but i'm afraid that i'm not grasping some of the basics.
I was following this tutorial but when i attempted to use WSDL2Java i noticed that i do not have the tool anywhere. This happens due to the fact that i downloaded and installed the .war (web ar...
I need to customize the SSL handshaking when calling a JAX-WS API on top of Axis2.
I find no reference at all on how to do this. With Metro I can set a custom SSLSocketFactory, but that uses a non standard API.
How do I get access to the Axis engine so that I can reconfigure it before sending a soap request ?
...
Hi,
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.axi...
Hello guys,
i'm trying to develop a simple Hello World web service using Axis2 v1.5, Tomcat6 and Java 1.6, according to the following tutorial.
However, i'm getting an error in the client-side code compilation:
javac -extdirs C:\\axis2-1.5 org/apache/axis2/*.java -d temp/
returns
code\src\org\apache\ws\axis2\Client.java:13: cannot...
I'm consuming a web service that places an authentication token in the SOAP envelope header. It appears (through looking at the samples that came with the WS WSDL) that if the stub is generated in .NET, this header information is exposed through a member variable in the stub class. However, when I generate my Axis2 java stub using WSDL...
Scenario
The date format which is output as a response to the Web Service client by Axis2 is formatted as "2009-08-28+01:00". I would like to change this to show only the date without the timezone information (e.g.:"2009-08-28")
Configuration
Libraries
Axis 2 1.4.1
WSDL
<xsd:element name="StartDate" type="xsd:date" />;
Question
...
I am using axis2 to create a web service from a java class I created. Everything works well, but I'd like to be able to customize the wsdl and I cannot figure out how to do it. I tried using some JAXB annotations with my objects (using axis1) but it had no effect on the wsdl generation.
I'd like to be able to specify nillable=true f...