Folks,
We are deploying our Axis2 services on oc4j 1012 (simplest service
possible, based on /samples/quickstart [code first]).
Locally (even if we access from a different machine), the services work
pefectly, but the "dev" environment deployment is failing with the
following error (via Axis
Hi ,
>From the service client you can get the operation context , and once you
have the operation context you can get both message contexts.
Thanks
Deepal
juliocest wrote:
> Hi everybody!!!
>
> I have a client code that have 2 calls. One of them is blocking and other
> nonblocking.
>
> Part of my
> Hello,
>
> I am using Apache Axis 2 version 1.3 and JDK 1.5.0_13
>
> When I run wsdl2java, I encounter a NullPointerException in
> WSDL20ToAxisServiceBuilder
>
> Is this a known bug?
>
>
I think its a bug [not known] so please create a JIRA and attach your wsdl.
Thanks
Deepal
Hello,
I have a general question: Which version of WSDL (1.1/2.0) is
recommended to be used? Is WSDL 2.0 already stable and applicable in a
critical business applications?
Thanks,
Lg Simon
-
To unsubscribe, e-mail: [EMAIL PR
Hello,
We had a similar case. We were generating both sever side and client classes
from WSDL. We had a DataNode type which gets passed in the WebService
methods. But the client can also send a subtype like StructuredDataNode or
UnstructuredDataNode. We had the subtypes even defined in the sch
SOAPFactory soap11Factory = OMAbstractFactory.getSOAP11Factory();
SOAPEnvelope newEnvelope = soap11Factory.getDefaultEnvelope();
...
SOAPHeaderBlock newSOAPHeaderBlock = soap11Factory.createSOAPHeaderBlock(
localName, namespace);
...
newEnvelope.getHeader().addChild(newSOAPHeaderBlock);
...
ne
Please Post the WSDL
M-
- Original Message -
From: "tina--" <[EMAIL PROTECTED]>
To:
Sent: Monday, November 19, 2007 6:13 PM
Subject: how to define "invokeBlocking" to return you a byte[]??
>
> Hello again! I have a second question, in another code.
> There is a parameter ReturnTypes, in
Hi Julio,
Thanks for your reply.
I have managed to set socket timeout. Till now, I have tried the following.
1. Configure the following in axis2.xml TransportSender http and https:
6
6
Result: Failure. It doesn't take effect at all.
2. In client code, set options proper
Let's assume that I have a web service that has an operation
void fun(MyInterface if)
can I call it like
fun(mo); where mo is of type MyObject that implements MyInterface.
Does Axis 2 and web services in general support this i-e passing object of sub
class or implementing class for interface
Dear Xinjun,
First of all you have to import the packages below in the client code:
import org.apache.axis2.client.Options;
import org.apache.axis2.Constants;
After,
Options options = new Options();
options.setProperty(HTTPConstans.SO_TIMEOUT, new Integer(36); (timeout
of 5 minutes)
Tr
Hi,
I would like to know how can I do a SOAP envelope using axiom. I want to
construct the envelope with header and body. Many tutorials explain how to
create the soap body, but few explain how create the envelope from scratch.
Thanks for a possible help.
Julio
--
View this message in conte
Have you tried to use MTOM [1]?
Michele
[1] http://ws.apache.org/axis2/1_3/mtom-guide.html
On 19 Nov 2007, at 23:13, tina-- wrote:
Hello again! I have a second question, in another code.
There is a parameter ReturnTypes, in the invokeBlocking statement,
where, as
api says, determines th
You cannot send socket references across the network. Sockets - like
other resources like DB and JMS connections, are not serializable.
The serialization mechanism is described here [1].
Michele
[1] http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/
serialTOC.html
On 19 Nov 2007,
Hi,
I am trying to make an axis2/java web service to talk with an Axis2/C client.
First, I deployed the WeatherService in
/samples/pojoguide. I modified the class a bit by
adding in a simple getCount() method and changed the setWeather() to
return an int. Then I used the generated wsdl to gener
Hello again! I have a second question, in another code.
There is a parameter ReturnTypes, in the invokeBlocking statement, where, as
api says, determines the type of the response. This parameter is a
mplampla.class (e.g. String.class, INteger.class, other.class). As the api
says, the response w
hello!!
Can you please help me? I am facing a problem while calling(invoking) a web
service with a socket as its parameter. The exception is:
org.apache.axiom.om.OMException: java.lang.RuntimeException:
java.lang.IllegalAccessException: Class
org.apache.axis2.databinding.utils.BeanUtil can not ac
Hi There
I am kinda new to SOAP and may be its very basic question but I am having
hard time to find the answer:
how to extract/retrieve SOAP XML from am incoming HttpRequest. I want to
intercept the incoming SOAP call and do some processing. From the
HttpRequest header I know there is a SOAP call
Hello,
I am using Apache Axis 2 version 1.3 and JDK 1.5.0_13
When I run wsdl2java, I encounter a NullPointerException in
WSDL20ToAxisServiceBuilder
Is this a known bug?
Sean
c:\axis2-1.3\bin\wsdl2java -ss -wv 2.0 -p com.mycorp.foo -o src -uri
.\webservices\TmsServices.wsdl
Using AXIS2_HOME
Hi,
I am trying to use WSDL2C (from axis2-1.3) to generate client stubs
with xmlbeans databinding.
I started with the simple wsdl in
\samples\codegen\databinding\Calculator.wsdl.
$ ~/tools/axis2/axis2-1.3/bin/axis2.sh org.apache.axis2.wsdl.WSDL2C -uri Calcul
ator.wsdl -d xmlbeans
It created 2 d
Hi
I got the Axis2 /Userguide sample EchoBlockingDualClient to execute better,
but the client hangs after the shutdown of the LoggingModule.
In
C:\apache-tomcat-5.5.25\webapps\axis2\WEB-INF\samples\userguide\conf\conf\axis2.xml,
I uncommented the following:
!-- the non blocking
Hi everybody!!!
I have a client code that have 2 calls. One of them is blocking and other
nonblocking.
Part of my code is writing as follow:
synchronized (callback)
{
if (!ClienteServico.finish) {
I am trying to configure the default socket timeout configuration from 3
milliseconds to 6 milliseconds for my Axis2 client, following the
documentation (http://ws.apache.org/axis2/1_2/http-transport.html).
However, this configuration doesn't take effect. My client still receives
AxisFault
Hi
I have gotten all the Axis2 \Userguide samples to work except
EchoBlockingDualClient and EchoNonBlockingDualClient clients.
With options.setUseSeparateListener(true)
the request is sent to the service, the SOAPMonitor shows that the
request has been received and a response returned.
But the
Hi all,
Amila wrote:
On Nov 15, 2007 8:33 PM, Mauro Molinari <[EMAIL PROTECTED]> wrote:
[...]
> WSDL2Java generates (using -uw):
>
> public returnType myOperation(int a, int b);
>
> while I would expect:
>
> public returnType myOperation(Integer a, int b);
>
> because a could be null!!!
> The sam
Hi,
Can anyone please tell me the steps involved in creating a web service which
uses Axis and MQSeries JMS ?
--
View this message in context:
http://www.nabble.com/Help-Required---Soap-over-JMS-tf4834416.html#a13830566
Sent from the Axis - User mailing list archive at Nabble.com.
Amila Suriarachchi ha scritto:
As I remember there were some alternatives to this and this is what we did.
Idea was to keep the variable type as int since it is convenitent to use.
As you have told when it comes to boolean there is a problem.
In programming we use a boolean to keep two states. S
http://ws.apache.org/axis2/1_3/quickstartguide.html#clientadb
On Nov 19, 2007 12:40 PM, amardeep <[EMAIL PROTECTED]> wrote:
>
> yes this is the thing i got it axis 2 doesn't generate service locator.
> But what is the substitute to it how could i use the service Below is the
> code to access my
27 matches
Mail list logo