ahesh Buddhika [mailto:thilin...@gmail.com]
Sent: Wednesday, December 09, 2009 10:28 AM
To: axis-user@ws.apache.org
Subject: Re: Creating Web Service client using HTTPS from wsdl files
AFAIK these configuration needs to be happen at the transport level and it
depends on the app server you are usin
na Mahesh Buddhika [mailto:thilin...@gmail.com]
> *Sent:* Wednesday, December 09, 2009 5:13 AM
>
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Creating Web Service client using HTTPS from wsdl files
>
> hi,
>
> Some of the properties you mentioned, like two-way authentication h
Thank you Thhilina.
What about the rest of it - protocol and cipher?
Thanks
Vadim.
From: Thilina Mahesh Buddhika [mailto:thilin...@gmail.com]
Sent: Wednesday, December 09, 2009 5:13 AM
To: axis-user@ws.apache.org
Subject: Re: Creating Web Service client using
hi,
Some of the properties you mentioned, like two-way authentication has to be
enabled in the SSL settings in the app-server where the Axis2 is deployed.
For example, in Tomcat following configuration segment available in
server.xml holds some of these parameters.
It depends on the app serve
I am trying to configure my client auto-generated from WSDL to use SSL.
I have read already the recommendations to set these:
System.setProperty("javax.net.ssl.trustStore", "/path/to/.keystore");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
Unfortunately this is not all I ne
one generated for the server side, but I suppose it is not the
best way.
Jaime Hablutzel | 9-8964-0369
(tildes omitidas intencionalmente)
> Date: Mon, 16 Nov 2009 16:24:45 -0500
> From: suma.subraman...@thomsonreuters.com
> Subject: RE: Creating Web Service client using HTTPS
-user@ws.apache.org
Subject: Re: Creating Web Service client using HTTPS from wsdl files
Can you please attach your client code ?
Thanks& regards.
-Prabath
suma.subraman...@thomsonreuters.com wrote:
>
> Hi
>
> I need to invoke a set of web services through HTTPS. The WSDL files
&g
Can you please attach your client code ?
Thanks& regards.
-Prabath
suma.subraman...@thomsonreuters.com wrote:
Hi
I need to invoke a set of web services through HTTPS. The WSDL files
and the XSD files are provided. I was able to get the token from the
client with the Authentication web servi
Hi
I need to invoke a set of web services through HTTPS. The WSDL files and
the XSD files are provided. I was able to get the token from the client
with the Authentication web service. But when I invoke the other web
service I get a SocketException: Connection Reset. As I'm new to Java
and web se
Hi,
I have written a web service client using Axis. the input parameters for the
web service client in an XML file.
I have a schema and wsdl. I have generated the stubs in eclipse using Axis
1.4. While generating the stubs the required java class files are created in
the following path
HiI have an web service client consuming web service, is it possible to
check http header and http code in the web service client?
--
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com
On Wed, Sep 30, 2009 at 9:53 PM, Ashish Kulkarni <
ashish.kulkarn...@gmail.com> wrote:
> HiHow does a web service client know that it has received complete
> response from web service, for example all data in between web service and
> web service client flows in http packets, how d
1:34 PM, Bauer Horscht wrote:
>>
>>> In a custom handler, you can directly set it on the MessageContext object
>>> (mc):
>>>
>>> mc.setTimeout(120*1000); //120 seconds
>>>
>>>
>>>
>>> Ashish Kulkarni schrieb:
>>>
>>>> H
:34 PM, Bauer Horscht wrote:
>
>> In a custom handler, you can directly set it on the MessageContext object
>> (mc):
>>
>> mc.setTimeout(120*1000); //120 seconds
>>
>>
>>
>> Ashish Kulkarni schrieb:
>>
>>> Hi
>>> How do we
wrote:
> In a custom handler, you can directly set it on the MessageContext object
> (mc):
>
> mc.setTimeout(120*1000); //120 seconds
>
>
>
> Ashish Kulkarni schrieb:
>
>> Hi
>> How do we set connection timeout in axis 1.4 web service client, i think
>>
In a custom handler, you can directly set it on the MessageContext
object (mc):
mc.setTimeout(120*1000); //120 seconds
Ashish Kulkarni schrieb:
Hi
How do we set connection timeout in axis 1.4 web service client, i
think default is 10 minutes,
I want to timeout if web service does not
HiHow do we set connection timeout in axis 1.4 web service client, i think
default is 10 minutes,
I want to timeout if web service does not respond in 2 minutes, how can i do
so
--
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com
HiHow does a web service client know that it has received complete response
from web service, for example all data in between web service and web
service client flows in http packets, how does web service client will know
this is the last packet, or this is a correct packet, is there http code
Dear All,
I just wanted to know how can i use AXIS2 for C++ code on
linux.Right now, I have used it for C code to expose web methods on Linux
box.
My usage is very simple.I will only use SOAP, WSDL and HTTP. No rocket
science is required. Thanks.
Regards,
M Owais Khan.
Hi ,
You can specify socket time out using following lines of code in your
client..
ServiceClient client = stub._getServiceClient();
Options opt = client.getOptions();
opt.setTimeOutInMilliSeconds(60);
client.setOptions(opt);
Thanks
Amardeep SI
Look at the Option (or it might be Options) class. It has a method
something like setTimeout().
On Tue, Jun 23, 2009 at 2:40 PM, Ashish Kulkarni <
ashish.kulkarn...@gmail.com> wrote:
> HiHow to specify socket timeout when calling web service using apache axis
> client, i believe default time is
HiHow to specify socket timeout when calling web service using apache axis
client, i believe default time is 10 minutes.
Is it possible to set this time with some run time parameter, or do we need
some programming change to do so
Ashish
You can try following url:
http://ws.apache.org/axis2/1_4_1/userguide-buildingservices.html#createscratch
You can try following code to call your service:
Options options = new Options();
Object[] invokedArgs = new Object[0];
Class[] returnType = new Class[]{Boolean
Hi every one,
I have created and deployed web service using axis2.
Would you please tell me how to write a simple client to call an axis2 web
service method (especially without parameter).
Kindly try to provide code snippet.
Thanks in advance.
Vaibhav Kumar Arya
===
I'm a web services newbie - please help
I'm trying to create a .NET web client to a Java (Ajax2) web service. This is
just a test page, so see if I can do it, before I continue adding more code.
But when I build my client web app I get the error: Unable to import binding
'SimpleServiceSOAP' f
Hello all,
My name is Takashi.
I need to execute Web Service Client on JBOSS Server not on my
localmachine.
Web Service and Web Service Client are deployed on same server.
I created server side Unit Test for executing the Web Service Client.
Then I got this error
Hello all, My name is Takashi
I faced some problem with communication between .NET based Web Service
and Java based Web Service Client.
My current environment is
OS: Windows XP Pro
Web Server: IIS v5.1
(Also ASP.NET server is working on Port 2526)
Java: jdk1.5.0_15
Axis2: axis2-1.14
I
I am using Axis 1.4 to generate Axis web service clients against an
externally defined Web Service which has both elementFormDefault and
attributeFormDefault set to qualified. However, in the SOAP message that
the generated web service clients sends to the web service, neither the
elements nor
On Wed, May 7, 2008 at 6:55 AM, Samisa Abeysinghe <
[EMAIL PROTECTED]> wrote:
> danclemson wrote:
>
>> Hi,
>>
>> I am new to both web service and axis2, and I have a few questions after
>> reading the manual and examples.
>> There are diffenernt ways to build web service using axis2. for example
danclemson wrote:
Hi,
I am new to both web service and axis2, and I have a few questions after
reading the manual and examples.
There are diffenernt ways to build web service using axis2. for example
using pojo, axiom, or databinding. My question is if I choose to build my
web service using a
forces the client to rely on axiom as
well?
Another question is that if the I choose to use rampart for user
authentication, does this require the client to use rampart as well?
thanks /dan
--
View this message in context:
http://www.nabble.com/Axis2-web-service-client-compatibility
Hello,
I am trying to apply procedures in the link below
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
to Create Bottom Up Web Service via Apache Axis2. My question is what is the
difference between the following port names: SOAP12port_http and Http
quot;
> User-Agent: Axis/1.4
> Host: 127.0.0.1:9876
> Transfer-Encoding: chunked
>
>
> 8d8
>
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi=&q
mlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0">
XXX
XX
ARSystem
en_US
GMT
ht
without much difficulty.
>
>
>
Cool,
> At first, I tested my services by using the Web Services Explorer within
> Eclipse.
>
>
>
> Now, I'd like to build my own client to access the web services sitting in
> my Tomcat6/Axis2 server. Looking over the "Web Ser
client to access the web services sitting in
my Tomcat6/Axis2 server. Looking over the "Web Service Client" wizard's
documentation, it appears that this wizard should be able to automatically
generate JSP as a test-client. Unfortunately, I can't seem to access this
function
On 10/30/07, Evgeniy Vyborov <[EMAIL PROTECTED]> wrote:
>
> Hi folks.
>
> I'm new to Axis 2.
> Now I'm trying to implement wsdl-based generic web service client.
> The logic of this client is simple: user loads *.wsdl file from somewhere,
> chooses service,
folks.
>
> I'm new to Axis 2.
> Now I'm trying to implement wsdl-based generic web service client.
> The logic of this client is simple: user loads *.wsdl file from
> somewhere, chooses service, port, operation, sets input parameter
> values. Then user can invoke th
Evgeniy Vyborov wrote:
Hi folks.
I'm new to Axis 2.
Now I'm trying to implement wsdl-based generic web service client.
The logic of this client is simple: user loads *.wsdl file from
somewhere, chooses service, port, operation, sets input parameter
values. Then user can invoke th
Hi folks.
I'm new to Axis 2.
Now I'm trying to implement wsdl-based generic web service client.
The logic of this client is simple: user loads *.wsdl file from somewhere,
chooses service, port, operation, sets input parameter values. Then user can
invoke this service w
You must set the SOAPAction value:
call.setSoapAction("http://tempuri.org/ValoresActuais_GetTemperatura";);
Anne
On 10/26/07, Paulo Cristo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My name is Paulo, and i'm from Portugal.
> I need to make a client to a web service, but i'm still fresh with SOAP/WSDL
Hi,
My name is Paulo, and i'm from Portugal.
I need to make a client to a web service, but i'm still fresh with SOAP/WSDL
and Axis.
I would appreciate any hel on this.
I'm trying to access the services under
http://meteo.estg.ipleiria.pt/webservice/service1.asmx
The following is a sample SOAP 1.
Hi,
I am trying to create an axis2 web service client to access a
ssl-enabled web service (https://..). I got the following error. I
think that the problem is caused by the server certificate on the web
service side.
Probably if I import that server certificate and root certificate into
Hi,
Rampart 1.3 available here[1] has sample code inside the samples folder.
Regards,
Dimuthu
[1]http://ws.apache.org/axis2/modules/index.html
On Sun, 2007-09-23 at 06:10 -0700, vittal nangunoori wrote:
> hi All,
> Can any one help me out in how to send binary security
> token information in th
hi Martin,
I have to implement security in client code by
outflowsecurity parameter.
I have to send binary security element data in
security along with my client request to web service.
Please suggest what i should do send this information.
Thanks,
Vittal
--- vittal nangunoori <[EMAIL PROTECTED]>
9:10 AM
Subject: [Rampart]How to implement security in web service client
> hi All,
> Can any one help me out in how to send binary security
> token information in the soap message header.
>
> I have generated client stub code using axis2 1.2
> version from wsdl file. Now I have
hi All,
Can any one help me out in how to send binary security
token information in the soap message header.
I have generated client stub code using axis2 1.2
version from wsdl file. Now I have send security
information in the message header.
Please provide if there is any sample code already
imp
for example as programming language. You probably will need MS
> visual studio as IDE
> There you will use the command wsdl.exe (for java wsdl2java, use eclipse
> with ant).
>
> Hope this little introduction was helpfull.
>
> José Ferreiro
>
>
>
>
> On 4/27/07, Ashish K
will use the command wsdl.exe (for java wsdl2java, use eclipse
with ant).
Hope this little introduction was helpfull.
José Ferreiro
On 4/27/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> Hi
> I recently got a WSDL file, and i am expected to write a web service
> client
l.exe (for java wsdl2java, use eclipse
with ant).
Hope this little introduction was helpfull.
José Ferreiro
On 4/27/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
Hi
I recently got a WSDL file, and i am expected to write a web service
client to access this web service,
Can some one give some
Hi
I recently got a WSDL file, and i am expected to write a web service client
to access this web service,
Can some one give some pointers, and code or example or tutorial to do so.
What are the steps, do i have to used WSDL2JAVA to create some thing.
Ashish
Thanks Jarek,
The key line I was missing was:
auth.setPreemptiveAuthentication(true);
It wasn't necessary for me to use auth.setAuthSchemes() because Axis
determined that it needed to use basic authentication on its own.
Thanks for your help,
Derek
On 16/02/07, Jarek Kucypera <[EMAIL PROTECTE
Derek Weeks wrote:
This constant does not appear to exist in Axis2 version 1.1 or 1.1.1.
Should the
constant be one of these?
Following is how it works for me with axis2 1.1.1
HttpTransportProperties.Authenticator auth = new
HttpTransportProperties.Authenticator();
auth.setPreemptiveAuthe
Hi Axis2 users,
I'm writing a web service client that needs to authenticate against
the HTTP server.
The example of how to do this in the Transports section of the
documentation says to add an HttpTransportProperties.Authenticator
object to the Options object using the key
org.apache.
Hi.
I'm developing a cdc web service client app but I have some problems.
First I've used the j2me wireless toolkit to build the stub from the wsdl
file and when i try to run the app, i have this error:
Exception in thread "main" java.lang.SecurityException: Package name
not
Hi Thilina,
Thank you very much for your reply.
>> > If the DATATYPE for the variable attachment1 in the class
>> Method1Response is >OMElement, it seems the binary data is sending by
>> value, not by reference when I >traced the SOAP message using TCPMonitor.
>> Please make sure to
Hi,
If the DATATYPE for the variable attachment1 in the class Method1Response is
>OMElement, it seems the binary data is sending by value, not by reference when I
>traced the SOAP message using TCPMonitor.
Please make sure to set the optimize flag to "true" in the OMText
child of that attachme
Hi Thilina,
Thank you very much for reply.
>> > When we look at the WSDL generated from the source code, the data type
>> of >method1Response is anyType.
>> That's correct.. Axis2 couldn't figure out the actual schema when the
>> parameters are OMElements. An OMElement can contain
See my comments in line..
Hi, it seems I can return complex data structure and attachment together to web
service >client only using AXIOM, for example,
Yes.. You can You need to use the RawXMLMessageReceivers for that...
When we look at the WSDL generated from the source code, the d
Hi, it seems I can return complex data structure and attachment together to web
service client only using AXIOM, for example,
public class Service1
{
public OMElement method1()
{
OMElement result = NULL;
//create corresponded node for each
Indeed it worked!!!..
Now any pointer to soem wsdl2java example ?
I'mm looking my self as well ..
thankyou very much anyway.
On 8/24/06, HHDirecto. Net <[EMAIL PROTECTED]> wrote:
I'm new in the web service world, so need a little help in building a c# web service clie
I'm new in the web service world, so need a little help in building a c# web service client. I read abt a utility called wsdl2java that does that, but the problem is that i dont have a wsdl file for that c# web service. So how can I build a *java* client without wsdl file is my first que
I'm new in the web service world, so need a little help in building a c# web service client. I read abt a utility called wsdl2java that does that, but the problem is that i dont have a wsdl file for that c# web service. So how can I build a *java* client without wsdl file is my first que
Hi,
I am developing a Java web service client using Apache Axis 1.4. The
client will connect to a .Net version 1.1 + WSE 2 SP3 web service.
The .Net web service requires X.509 based authentication and
signature.
I have created the Java stubs for the web service using WSDL2Java.
The
Thanks for the response. I´m sorry if I send some mails, but my mail doesn´t work ok.
I try this solution. I hope I will not have any questions.
Thanks a lot, Kemmotar
On 4/17/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
Kemmotar,Your J2ME client tool supports a limited set of SOAP functi
Kemmotar,Your J2ME client tool supports a limited set of SOAP functions -- as defined by the WS-I Basic Profile. Axis generates rpc/encoded style services by default, which isn't allowed by the WS-I Basic Profile.
I assume that you are starting with Java code. In order to generate a WS-I compliant
,
please notifythe sender immediately by telephone or email and destroy the
originalmessage without making a copy. Thank you.
- Original Message -
From:
Gorka López
To: axis-user@ws.apache.org
Sent: Monday, April 17, 2006 5:22
AM
Subject: Axis andJ2ME web service
Hello,
I´m principiant with this tecnologies. I did a normal application that uses a simple web service, but when I try to use with j2me client, when I try to generate the stubs, the error is:
wsdl is not WS-I compliant ( Style is not document/literal).
I don´t know what I have to do. Could a
Does
Axis web service client uses socket pooling?
If
so, how can I configure the pool?
If
not, I imagine I’ll have to create my own DefaultSocketFactory class.
Does
anybody know of an existing socket pooling framework I can use?
All,
I'm running into an XML parsing problem while migrating a web service client
based on AXIS and WSIF from WAS 4 to WAS 5.
The error-message I get is: (the stacktrace is below)
Provider null could not be instantiated: java.lang.NullPointerExce
I always get 407 Authorization required error.
If anyone knows the solution please help me on this.
--
Regards,
Liu yehui
Hansen, Geir wrote:
Try this one Håkon:
Prøv denne Håkon:
System.setProperty("axis.socketSecureFactory",
"org.apache.axis.components.net.SunFakeTrustSocketFactory");
Add this line before the code that instantiates the service object.
WARNING: this code should not be used in a production envi
1:11
To: axis-user@ws.apache.org
Subject: Re: Web service client: need help
Håkon T Sønderland wrote:
> Thanks a lot, I need to take a look at the next exception in the log
> then, because it certainly isn't working ;) I was assuming this was
> the problem since it is the first e
Håkon T Sønderland wrote:
Thanks a lot, I need to take a look at the next exception in the log then,
because it certainly isn't working ;)
I was assuming this was the problem since it is the first exception that
is cast. I thought the rest was just follow-ons from this one and thus
ignored them.
Ron Reynolds wrote:
i see this "error" (notice it's logged at the DEBUG level) even when things
are running normally. do you get any exceptions thrown in your client code
when you try to use the stub?
the reason this is logged is because this code (AxisEngine:308):
public SOAPService getSer
on to be a bit
concerned by an exception showing up in your logs...
> Hi,
>
> I'm trying to develop a web service client to consume an existing web
> service using Axis 1.3/Java 1.4.
>
> I generate the stub code using wsdl2java (classes are "InfoXMLStub"
> etc).
Hi,
I'm trying to develop a web service client to consume an existing web
service using Axis 1.3/Java 1.4.
I generate the stub code using wsdl2java (classes are "InfoXMLStub"
etc).
When I try to call the web service using this code:
Header header
= new Header(user,pass
See Wes's response below.
-Original Message-From: Wesley MacDonald [mailto:[EMAIL PROTECTED]Sent: Monday, December 5, 2005 03:30 PMTo: axis-user@ws.apache.orgSubject: RE: web service client ip address
import org.apache.axis.Constants;import org.apache.axis.MessageCo
: December 5, 2005 3:02 PMTo:
axis-user@ws.apache.orgSubject: web service client ip
address
Is there a way to get a clients ip inside a web service call? If I
use a handler how could I pass the ip on to the service
method?
Is there a way to get a clients ip inside a web service call? If I use
a handler how could I pass the ip on to the service method?
Hello
Does anyone have an example of a web service client that creates a custom
soap header and a server-sdie web service retruns a values to that client ws
header?
Or something similar theya could share with me
Many thanks
_
Be
81 matches
Mail list logo