Hi,
I am looking for a solution of integration of Axis C++ based webservice
client with
existing java coded custom security handlers on client side. Is any way to
accomplish
(configure) that java handler class will be invoked inside C++ AxisEngine?
I have already tried to point AxisEngine to
There is no way.
Nadir K. Amra
javaval [EMAIL PROTECTED] wrote on 04/23/2007 09:19:33 AM:
Hi,
I am looking for a solution of integration of Axis C++ based webservice
client with
existing java coded custom security handlers on client side. Is any way
to
accomplish
(configure) that
Hi All;
Since we are planing Axis2 1.2 release this week , I think it is time to
call for code freeze in the branch. So please do not do major changes to
the branch , specially no new features. We can only commit if we found
any issues with the release.
I am not in a position to do another RC
This is not doc/wrapped anymore if I do it like this :-/ this is more
like rpc/encoded .
/philipp
Martin Gainty schrieb:
Good Evening Phillip-
try this in your wsdl..
message name=sampleMessage
part name=first type=xsd:string
part name=second type=xsd:string
part name=third type=xsd:string
Yes, I used the POJO approach to create my test service. Anyway, the
client that I am currently writing should be able to communicate with
all kinds of doc/wrapped services (Axis as well as .NET, etc), so I
should not rely on any specifics of the Axis2 message receiver anyway.
OK, so in the
On 20/04/07, Steven E. Harris [EMAIL PROTECTED] wrote:
David Illsley [EMAIL PROTECTED] writes:
If you look at the now-defunct WS-A WSDL binding spec [1] or its
replacement the WS-A Metadata spec [2], the wsa:Action is specified
at the abstract level, not the binding level.
Just to make sure
Hi all,
I try to use the wsdl2code maven2 plugin but I have the following error :
E:\projects\ideo-sforce-api\trunkmvn clean axis2-wsdl2code:wsdl2code -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'axis2-wsdl2code'.
Deepal,
are you going to fix AXIS2-2328 for the 1.2 release?
Thanks,
Michele
On Mon, 2007-04-23 at 11:48 +0530, Deepal Jayasinghe wrote:
Hi All;
Since we are planing Axis2 1.2 release this week , I think it is time to
call for code freeze in the branch. So please do not do major changes
Sorry, I don't know what you mean.
Regards,
Jorge Fernández
Martin Gainty [EMAIL PROTECTED] escribió: Jorge
I cannot display the url for your first namespace
http://external.communication_data_model.medici_link/xsd
M--
This email message and any files transmitted with it contain
Glen - thanks for the info and the link. I've amended my wsdl accordingly.
It's not the source of the current problem but I'm sure it would have
tripped my up next.
Amila - thanks also to you for taking the time to run thru the code. I
downloaded the nightly snapshot from last night, re-ran
Dear Geir Amdal,
Thank you for reply. I have one query regarding Basic Authentication. I
Axis 1.X, when we use Call.setUserName() or call.setPassword(), the details
are encoded and sent to the server as HTTP Headers and which can be seen
through TCP monitor. The username and password can be
Shaoguang,
MessageContext does not have a getSoapEnvelope method, in fact the
only getter method it has is getCurrentMessageContext (at least for Axis2).
Any other ideas? I think I might switch to XFire to do what I need. I
posted over there and it sounds like in the next day or so there
Hi craig ;
Shaoguang,
MessageContext does not have a getSoapEnvelope method, in fact
the only getter method it has is getCurrentMessageContext (at least
for Axis2).
Are you talking about org.apache.axis2.context.MessageContext , if that
is the case it has more than 40 getter methods
aassif wrote:
I have one query regarding Basic Authentication. I Axis 1.X, when we use
Call.setUserName() or call.setPassword(), the details are encoded and sent
to the server as HTTP Headers and which can be seen through TCP monitor.
The username and password can be retrieved in the Web
Hi,
Thank you for your reply. I will try again today, but yesterday when I
tried with different set of options the HTTP Header remained the same for
each Web Service call. I assume that I must be missing something.
Thank you for the help.
Cheers
Asif
--
View this message in context:
Dear Geir,
If no Authorization header is present among the HTTP headers, I'd
suspect the ServiceClient used by the stub was not configured correctly...
One stupid question, do I need to manually configure ServiceClient to
use Basic Authorization.
Cheers
Asif
--
View this
Ajay,
Please use latest Axis2 1.2 Release Candidates / Nightly. 1.0 is very
old and definitely does not support polymorphism. If you run into
problems, please log a JIRA.
thanks,
dims
On 4/23/07, Ajay Kumar Gour [EMAIL PROTECTED] wrote:
Hi Amila,
Few days back, Sathija asked the question
You get this with:
MessageContext.getCurrentMessageContext().getEnvelope()
But remember, you cannot make this in your client code. You have to
make it in the Stub code and then give the headers to your client code
by other means (for example, returning a custom class instead of the
generated
Ruchith,
I'm not using any EJBs... what I want to do is is integrate into the
container's JAAS authentication framework. This is what J2EE web service
stacks do. So, when a security header is received and ws-security credentials
are required, the container's webservice stack will parse the
Refer to the earlier mail from Kamal Kang...
OperationContext oprCtxt = stub._getServiceClient().getLastOperationContext();
MessageContext inMsgContext =
oprCtxt.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
SOAPHeader header = inMsgContext.getEnvelope().getHeader();
Do the above
I will try that out later, thanks for all the help!
On 4/23/07, Thilina Gunarathne [EMAIL PROTECTED] wrote:
Refer to the earlier mail from Kamal Kang...
OperationContext oprCtxt =
stub._getServiceClient().getLastOperationContext();
MessageContext inMsgContext =
Yes. I was speaking on the client side.
-Shaoguang
Martin Gainty [EMAIL PROTECTED] wrote:
I didnt see any ability to run any of the axis operations on the
server asychronously.. I assume you're speaking on the client side???
M-
This email message and any files
Here is the form/function of my WSDL:
?xml version=1.0 encoding=UTF-8?
wsdl:definitions targetNamespace=http://company.com/project/services;
xmlns:svc=http://company.com/project/services;
xmlns:persist=http://company.com/project/data;
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
aassif wrote:
[...] do I need to manually configure ServiceClient to use Basic
Authorization.
I might be missing the mark here, but are you asking whether you have to
instanciate a new ServiceClient or whether you can configure one retrieved
from the stub? If so, take a look at Belunek
Dear all,
I tried to run through the QuickstartGuide of Axis2 and in saying ant
generate.service in the directory samples/quickstartadb the following
error occured:
BUILD FAILED
/usr/local/axis2-1.1.1/samples/quickstartadb/build.xml:56:
java.lang.NoSuchMethodError:
On 4/23/07, Angel Todorov [EMAIL PROTECTED] wrote:
Hi all,
Is it possible to associate policies for each individual operation ,
in a service definition in services.xml, for example WS-SecurityPolicy
?
Yes. It is possible to associate policies even at message level using
services.xml.
As
http://wso2.org/library/165
HTH,
Michele
On Mon, 2007-04-23 at 10:28 -0400, Jake Goulding wrote:
Hey all:
I use axis to connect to a Windows Sharepoint server. Recently, an
installation of our code started returning these errors:
java.net.BindException: Address already in use: connect;
Hi Sanka,
I already checked and it seems to work (having security policies on
the operation level). Rampart in its default samples only applies
policies on the service level. Thanks.
Regards,
Angel
On 4/23/07, Sanka Samaranayake [EMAIL PROTECTED] wrote:
On 4/23/07, Angel Todorov [EMAIL
Good Morning Dennis
are you currently running any other tomcat webapps?
If not then you can may want to look at embedding entire tomcat as in this
example
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
HTH
Martin--
This email message and any files transmitted with it contain
Hey all:
I use axis to connect to a Windows Sharepoint server. Recently, an
installation of our code started returning these errors:
java.net.BindException: Address already in use: connect; nested
exception is:
org.apache.axis2.AxisFault: Address already in use: connect; nested
exception
Hi,
I'm using Java client having Apache AXIS API to invoke multi-platform
Java, .NET and WSE2.0 webservices.
The SOAP requests generated are having xsi:type attribute present except
for String datatype.
My question is how to remove this xsi:type attribute from the request?
The Call object
Hi Thilina ,
I cannot find the method getLastOperationContext() in ServiceClient in
Axis2.1.1.1. Should it be already in the released version since I was told it
is in nightly build back in December last year?
Craig,
Sorry for the confusion - I wasn't with the code in hand
Hi,
I'm seeking some suggestions and pointers to material that can help me
embed axis2 in a server.
I need to expose a webservice that is defined by one or more java
interface(s).
A servlet of mine will start axis2 and initialize it with the interface.
HTTP requests for certain URL's are
It's on the 1.2 code. Also, that operation always returns null for me
when I was testing the Axis2 1.2RC2.
On 4/23/07, Shaoguang Cong [EMAIL PROTECTED] wrote:
Hi Thilina ,
I cannot find the method getLastOperationContext() in ServiceClient in
Axis2.1.1.1. Should it be already in the released
Thanks Michele!
That did help, but left me with 2.5 questions:
1/ Why does the client need to spawn a web server at all?
1b/ Is it possible to disable this server completely?
2/ If I create a ConfigurationContext, how do I set what I need to set,
and then how do I use it?
Thanks!
Michele
On Mon, 2007-04-23 at 11:29 -0400, Jake Goulding wrote:
Thanks Michele!
That did help, but left me with 2.5 questions:
1/ Why does the client need to spawn a web server at all?
Because it uses two separate channels.
1b/ Is it possible to disable this server completely?
Yes, disable the
Martin Gainty wrote:
Good Morning Dennis
are you currently running any other tomcat webapps?
If not then you can may want to look at embedding entire tomcat as in
this example
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
That's not really a good option since this will actually
Awesome, thanks for all the good information. It seems that wso2.org is
a lot better than the last time I tried to use it. I'll try to actually
check there first from now on :-)
Back to the point at hand: My generated code uses the -s switch to
wsdl2java. Is that not sufficient to use a
Hello All,
I am a bit confused about proxy authentication in Axis2. (I'm using
1.1.1.)
In my code I have created a HttpTransportProperties.ProxyProperties
object and set the options with it. See below.
HttpTransportProperties.ProxyProperties pp
= new
Anne - thanks for that. My list of notes is steadily growing :)
Amila - thanks again. I was not confident of my WSDL and was focusing on it
as the source of the problem. I removed the 'unwrap'/'synconly' options
from my Ant build and now it builds fine.
I'm heading off now to read:
The instructions for setting up a module with handlers says to edit the
services.xml file. However, this is a generated file that gets
overwritten each time you run wsdl2java. Although it is true that I can
squirrel away the file I have edited, if I change my wsdl I will want to
regenerate the
Axis2: Proxy Credentials and
Authentication?http://marc.info/?l=axis-userm=115952880103441w=2
associate AuthPolicy.NTLM into the collection of authenticationPreferences
then set the parameters of the httpClient to use your new
authenticationPrefereences collection
M--
This email message and any
FWIW, I received this error when I forgot to set the content type of my
Base64Binary element.
From my prototype code
FileDataSource fds = new FileDataSource( new
File(F:\\ACME.zip) );
DataHandler dh = new DataHandler( fds );
Base64Binary data = new
Apologies for the second reply, but this may be a bit more of a
important question surrounding this issue. I have a multi-threaded
application, with each thread creating and using various Stubs
(sometimes multiple stubs to access various parts of the webservice). If
each Stub is creating its
On Mon, 2007-04-23 at 13:19 -0400, Jake Goulding wrote:
Apologies for the second reply, but this may be a bit more of a
important question surrounding this issue. I have a multi-threaded
application, with each thread creating and using various Stubs
(sometimes multiple stubs to access
Michele Mazzucco wrote:
On Mon, 2007-04-23 at 13:19 -0400, Jake Goulding wrote:
Apologies for the second reply, but this may be a bit more of a
important question surrounding this issue. I have a multi-threaded
application, with each thread creating and using various Stubs
(sometimes
Dear Geir,
Thank you for your help. I was doing exactly the same what was mentioned
in the Thread and what you suggested today but yesterday I failed to notice
the HTTP headers regarding Authorization: Basic. But today when I executed
the client without any change it was working as required.
Dear Geir,
Thank you for your help. I was doing exactly the same what was mentioned
in the Thread and what you suggested today but yesterday I failed to notice
the HTTP headers regarding Authorization: Basic. But today when I executed
the client without any change it was working as required.
Hi
Is there any way we can manage sessions manually using Axis2, my non java
web service maintains session using cookies. Is there a way my Axis2 client
can read the soap/http header to extract the session information and use the
extracted infromation for further web service calls, example
Hi all,
I am using axis2 installed on a JBoss 4.0.2 application server and a 1.5JDK.
I'm using axis 2 to generate both server and client distributions to my
application.
server distribution is intended to be a simulator for a third-party
provider. This webservice gererated client side stubs are
Can't help cookies. You could however try doing what I've done using ejb
stateful session beans - generate the id and then return it as a parameter,
not in the header. I've also done this generating my own uuid via java 5 and
later java.util.UUID. I've never quite been able to get cookies to work
I'm using Axis 1.4 on server side and implemented a handler extending
javax.xml.rpc.handler.GenericHandler.
I extended the method handleFault(MessageContext) to do some logging - but
the method is never invoked. All exceptions inclusive details are returned
to clients, but the method
Thanks Rudolph
Interestingly the request goes through
but this error occurs when the response is being created at the server side
and that too when the size of the response is really huge.
From: Rudolph, Troy [mailto:[EMAIL PROTECTED]
Sent: Mon 4/23/2007
We currently use Tomcat 3.x in our product and looking for a suitable
SOAP implementation to use as RPC in uor distributed environment. I read
in Axis documentation that Tomcat 4.x is highly recommended. Is it hard
to deploy with Tomcat 3.x or not possible at all. If anybody has dealt
with this
Hi,
I understand that axis-src_1_4.zip contains mailapi_1_3_1.jar and version
1.0.2 of activation.jar. I would like to find out if mailapi version 1.4
and activation v1.1 would be supported by Axis 1.4 as well. We would like
to use those version since they are the open sourced and available
Hi,
When I use Axis Admin to ask the AxisEngine to process a deploy.wsdd, is
there a way I could programmatically update the classpath or change the
class loader for the AxisEngine? I need to do pass the classpath of the
Axis servlet I am targetting to the AxisEngine I am creating because
I've successfully retrieved and returned http session cookies.
Here's a snippet for reading a cookie from an axis2 client:
String incomingCookie = (String)
inMsgCtx.getServiceContext().getProperty(HTTPConstants.COOKIE_STRING);
Here's one for writing a cookie.
appears to be a known bug when you attempt to write attribute consisting of
bytes
0x00 - 0x1f, except for tab, cr, lf; and 0xFFFE, 0x
http://jira.codehaus.org/browse/WSTX-106
(easily reproducible if you write a CTL-C into a line which contains
information to be written to XML attribute)
Has the WS-A WSDL binding spec already been deprecated? If that is true we
should not be using wsaw:xxx elements any more in the WSDL?
What is the status of for the WS-A Metadata spec that you have mentioned - do
all major vendors support this now?
Thanks.
Shantanu Sen
- Original Message
David Illsley [EMAIL PROTECTED] writes:
Yes, that's my understanding.
In my testing over the weekend, I found that if I manually set the
Action to something like urn:myMethodName, I could get my client
requests to reach the proper skeleton on the server:
,[ Adjustment to generated stub
Hi
The problem that i am having is
MessageContext inMsgCtx = MessageContext.getCurrentMessageContext();
is returning me a null, is inMsgCtx a predefined class or an object, when
should i call MessageContext.getCurrentMessageContext(), i called it after
i got the response. I am using the stub
Anil,
Below is the client side code that produces a valid response
(MessageContext) from the server:
ServiceClient sender = new ServiceClient();
OperationClient opClient =
sender.createClient(ServiceClient.ANON_OUT_IN_OP);
MessageContext
I am getting the following error while running an apache axis client. I
appreciate your help!
Prasad
Exception in thread main java.lang.ExceptionInInitializerError
[Loaded java.lang.StackTraceElement from C:\Program
Files\Java\j2re1.4.2_14\lib\
rt.jar]
at
Hi.
I had an example in Axis2 1.0 with RPCMessageReceiver.
I've installed Axis2 1.1.1 and that same example doesn't work, giving the
error:
org.apache.axis2.AxisFault: namespace mismatch require
http://travel.ws.gt.com/xsd
found http://GtTravel.travel.ws.gt.com/types
(the impl class is in
Jay
Thank you for the help, documentation is weak at best. Can you tell me
which jar contains the SOAPEnvolope class. I included the jars in the lib
directory of th axis2 install. If this works i would be tempted to write an
article on interoperability of .NET and Java with session handling
Hi!
I got the following exceptions when try to generate the skeleton using
the WSDL2Java utility:
Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:114)
at
Ok, I put code into my Stub class so I could get the _returnMessageContext.
Now that I have access to the org.apache.axiom.soap.SOAPHeader it gives me
the XML, is there a way to get the actual JavaBean objects based on the
header(s)? For example if my header looks like...
Was this UserInfo class generated by WSDL2Java/ADB?
-- dims
On 4/23/07, craig wickesser [EMAIL PROTECTED] wrote:
Ok, I put code into my Stub class so I could get the _returnMessageContext.
Now that I have access to the
org.apache.axiom.soap.SOAPHeader it gives me the XML, is
there a way to get
yes
On 4/23/07, Davanum Srinivas [EMAIL PROTECTED] wrote:
Was this UserInfo class generated by WSDL2Java/ADB?
-- dims
On 4/23/07, craig wickesser [EMAIL PROTECTED] wrote:
Ok, I put code into my Stub class so I could get the
_returnMessageContext.
Now that I have access to the
there is UserInfoImpl and UserInfoDocumentImpl.
On 4/23/07, craig wickesser [EMAIL PROTECTED] wrote:
yes
On 4/23/07, Davanum Srinivas [EMAIL PROTECTED] wrote:
Was this UserInfo class generated by WSDL2Java/ADB?
-- dims
On 4/23/07, craig wickesser [EMAIL PROTECTED] wrote:
Ok, I put
look for parse method in those classes. The parse method takes in a
XMLStreamReader. If you see it it means you are using ADB based code.
Next step is to use the AXIOM API to get the OMElement corresponding
to your UserInfo element in the soap header. basically call
getChildren on the header and
which class should have parse method?
On 4/23/07, Davanum Srinivas [EMAIL PROTECTED] wrote:
look for parse method in those classes. The parse method takes in a
XMLStreamReader. If you see it it means you are using ADB based code.
Next step is to use the AXIOM API to get the OMElement
Hi Javier ,
As I can see there is a bug in the code , any way you have two option
- Check with latest nightly builds
- Send the req with http://travel.ws.gt.com/xsd namespace.
Thanks
Deepal
Hi.
I had an example in Axis2 1.0 with RPCMessageReceiver.
I've installed Axis2 1.1.1 and that
Some jar file is missing. I got the same error in Axis2 and it was
resolved by adding the jsr173.jar file in the classpath.
Try out and let us know.
Ashwin
-Original Message-
From: Prasad Viswatmula [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 24, 2007 5:05 AM
To:
Hi Anil,
Anil Chukkapalli wrote:
Hi
The problem that i am having is
MessageContext inMsgCtx = MessageContext.getCurrentMessageContext();
Yes , at the client side this method return null, and it only work
inside the server side.
To set the cookie try to do smt like below, (I never tried
75 matches
Mail list logo