Folks,
I am trying to test http authentication in a web services client. Is it
possible to test HTTP basic (or digest) authentication on axis2c http
server that is part of axis2c package?
Thanks,
Raghu
On Fri, 2008-09-26 at 13:54 -0400, Raghu Udupa wrote:
Folks,
I am trying to test http authentication in a web services client. Is
it possible to test HTTP basic (or digest) authentication on axis2c
http server that is part of axis2c package?
No axis2c_http_server does not support HTTP
Hi,
I am doing Bottom Up approach procee what u provided in
http://wso2.org/library/1719#Part1
But i am giving the class file path as
D:\Axis2\latestaxis1.2\WORKSPACE\TemperatureWebService\build\classes but
when i go to next page but i an getting
Class not
Hi All,
I have a Axis web service deployed at Tomcat 6.0 and working file, I decided
to do add the load balancing, So I used Apache for request routing and
Clustering work with 2 Tomcat. The problem I facing was each time I need to
deploy in 2 places when i made a change in MySample.aar file.
Hi,
i found a lot of mails in this ml about the proxy authentication problem i am
having.
Its best described at the end of this mail
http://www.mail-archive.com/axis-user@ws.apache.org/msg41921.html
Im connecting to a debian squid proxy.
Is there a solution to this problem or should i file a
Hi
I'm having some difficulty with using the ANON_OUT_IN_OP MEP when the
status code of the response is not 200 ok. I'm implementing a
specification that takes a request and returns a response on the same
connection, but with a status code of 202. Since the request and
response are on the same
HI
I run Axis 1.4 on Tomcat.
My problem is that the server do not send cookies on the response.
My client will not work with soap headers so I must use http cookies.
What do I need to configure on the server so it will use cookies.
I did not find any handler to do that. Should I code one ?
Hi,
Try deploying your service in transport scope. This can be done by adding an
attribute such as shown below to your services.xml.
service name=foo scope= transportsession
..
/service
You could refer this article [1] for more details.
Thanks,
Keith
[1] http://wso2.org/library/231
Thanks for your response,
I am using Axis 1.4 so I assume Axis2 features will not help me.
By now I managed to create sessions on the server explicitly:
HttpServletRequest req = (HttpServletRequest)
MessageContext.getCurrentContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
Here is the HTTP Post Request
Any Ideas why Proxy-Authorization looks so strange and Credentials: is empty?
I tried System.setProperty(http
and HttpTransportProperties.ProxyProperties
it switches proxy usage, but credentials arent set.
POST http://x HTTP/1.0\r\n
Hi Gordon,
why do you need to use status code 202? It's only for HTTP-Responses
without payload, isn't it?
I guess Axis2 transport mechanism drops the connection without getting
the InputStream in case of status code 202.
Thanks,
Markus
Gordon Rogers schrieb:
Hi
I’m having some
Hi,
I'm attempting to pass either a java ArrayList or some simple array as a web
method param. I've created a test web service with the following 2 methods:
public String testListStringArg(ListString list) {
return List + list.toString();
}
public String
From my understanding status code 202 means that the service has
accepted the response and may process it. The HTTP spec does say that
the response should contain an indication of the request's current state
which I take it can mean that a payload is allowed.
The service I'm trying to build
Hi,
i get always the same fantastic error:
org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized.
I think the problem is :
Java Networking Properties for proxy override HttpTransportProperties and
clear authentication information
https://issues.apache.org/jira/browse/AXIS2-3839
Sorry, I was wrong. HTTP allows a response, and at least SOAP 1.2 allows
a response with 202, but not specifies the behaviour. [1]
In Axis2, as I see, the org.apache.axis2.transport.http.HTTPSender
sender ignores the response and just drops the InputStream, in case of
status code 202 [2].
Yes,but axis is not standalone server,tomcat is,and it recognizes axis as
some sort of servlet.
I am deploying my service on axis using wsdd.My service is simply a java
class(+ a client for another service) ,not a servlet.I can deploy it on
tomcat as war,but it wont work,because its not a servlet
Can anyone help me with this?
Janne
2008/9/23 Janne Rantala [EMAIL PROTECTED]
Hi,
This part is the one which causes problems:
complexType name=ArrayOf_tns4_Product
complexContent
restriction base=soapenc:Array
attribute ref=soapenc:arrayType wsdl:arrayType=tns4:Product[] /
In the code don't consider the line
java.net.Authenticator.setDefault(new MyAuthenticator());
because it was a just an old test to try the java.net.Authenticator
Davide79 wrote:
Hi,
i get always the same fantastic error:
org.apache.axis2.AxisFault: Transport error: 401 Error:
I hope this might help you.
http://blogs.deepal.org/2008/02/starting-axis2-using-wso2-registry.html
Thank you!
Deepal
Hi All,
I have a Axis web service deployed at Tomcat 6.0 and working file, I decided
to do add the load balancing, So I used Apache for request routing and
Clustering work
Here is what I found:
1.) When I used Axis2 Eclipse Codegen plugins (Generate Java source code
from WSDL file) to generate code from this WSDL, it didn't allow me.
It kept throwing me an error -
An error occurred while completing the process -
This WSDL looks invalid. As you have said when a message part refers to a
type directly it is RPC whereas when it refers to an element its known as
document. Now the messages parts of your WSDL is RPC but your binsind says
that its document. I feel that the WSDL is incorrect and hence Axis2 is
Hi Jaane,
Is there any particular reason you tried to generate the code using
xmlbeans? ADB which is the default databinding in Axis2 gives you much
better performance than xmlbeans.
Thanks,
Keith.
On Mon, Sep 22, 2008 at 1:16 PM, Janne Rantala [EMAIL PROTECTED]wrote:
Hi,
I'm having trouble
Thanks Keith. That's good to hear that Axis2 is more strict and reliable.
Here is my dumb question now:
If I modify this WSDL and correct it and generate client stubs and access
the service, will I be able to succeed?
Thanks.
Keithgchapman wrote:
This WSDL looks invalid. As you have
Hello,
What do you mean by every time tomcat is restarted and This doesnt happen
when i restart my local tomcat ?
I am guessing that local tomcat is a tomcat instance installed manually in
your home and there is another instance installed by portage/emerge ?
On Friday 26 September 2008
I've had some experience with this kind of date-issues, I would recommend
changing the wsdl or xsd using xs:dateTime as the type for this data. This way
you could use a Calendar. Calendars manage the timezone easily and correctly.
On Friday 26 September 2008 01:04:23 Eugeny Bakun wrote:
I've never seen a payload sent with 202. Tried googling for it with no luck.
Thanks,
Keith.
On Fri, Sep 26, 2008 at 5:21 PM, Markus Tost [EMAIL PROTECTED] wrote:
Sorry, I was wrong. HTTP allows a response, and at least SOAP 1.2 allows a
response with 202, but not specifies the behaviour. [1]
I'm sorry,I should have been more concise.I mean I have tested my service on
the tomcat instance which is on my own computer and it works fine.when I
stop and then start the tomcat,my service's wsdl is still visible on the
http://localhost:8080/axis/servlet/AxisServlet url. This is not the case
It depends. When RPC style is used the request should contain a wrapper
element with the name of the operation. When document style is used it all
depends o the schema that defines the elements (no magic elements). I wonder
what your service really expects and editing the WSDL will have to make
Hi all,
RESTful Web Services with Apache Axis2 is powered by the WSDL 2.0
HTTPBinding http://www.w3.org/TR/wsdl20-adjuncts/#http-binding, hence as
of now (1.4.1 release of Axis2) users need to deploy there services using
WSDL 2.0 to write truly RESTfull services in Axis2. I agree that there
have you built the mex module?
$AXIS2_HOME\modules\mex
mvn -e install
and engaged the mex module on your service?
also do you have a client stub compiled and referening the service with the
engaged mex module
?
Martin
__
Disclaimer and
Ok then...
I know two ways of deploying a service with wsdd
1. Deploying the axis war with your ws classes and then using the admin
servlet to deploy the servlet using the wsdd. This modifies the deployed
server-config.wsdd
2. Using org.apache.axis.utils.Admin in order to create and update a
Hi,
I created a Jira [1] for this
Its a blocker for me, because there is no other solution for this problem.
hope someone might take a look or report that she/he is running axis2 client
through a proxy with
authentication.
thanx in advance
Stefan
[1]
Thank you David, you are the KING:)))
it was the f**n server-config.wsdd filethe remote tomcat for some
reason doesnt create it at all.so i just made my own one and placed it in
tomcat-6\webapps\axis\WEB-INF folder and it worked perfectly!!
thank you soo much,youve saved me a tone of
David-
assuming you redeployed AxisServlet to the remote server (copy and unwar to
axis folder in webapps)
did you recycle axis on the remote server?
did you verify the servlet has been redeployed?
can you display the service entry from the wsdd so we can ensure the parameters
are correct?
The example I'm working on is to handle an ebXML acknowledgement, so the
response comes back with an HTTP 202 status code and looks something
like:
soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
Hello,
Can somebody please tell me how to engage/enable WS-addressing in Axis 1.4?
Thanks
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
Hi All,
Ok I was successful in sending Attachment using MTOM from client to server. I
needed to add OMElement in the my method signature. So the wsdl changes.
I have two things remaining to be resolved though:
1.Can I send in attachment(s) to webservice without change in the method
not available in Axis 1.x
can you upgrade to 2.x
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does
I can.
I am trying to access a web service and the service expects wsa:action in the
request and my code does not create that. So will migrating to 2.0 and engaging
WS-addressing help with this problem?
How can I enable WS-addressing in Axis 2?
Thanks for replying.
From: [EMAIL
Actually, WS-addressing is available under Axis 1 - see: java\samples\wsa
thanks
-Doug
__
STSM | Web Services Architect | IBM Software Group
(919) 254-6905 | IBM T/L 444-6905 | [EMAIL PROTECTED]
Martin Gainty [EMAIL PROTECTED]
how does he engage WS-Addressing as a module?
(..TRYING to get the op to upgrade..)
thx
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of
Hi,
I have a question about Asynchronous web services.
Can a Web Service client use asynchronous style when the Web
Service server is using synchronous style?
Here's an example:
I have a Web Service that is
Hello all,
If you think about using WS-ADDRESSING using Axis2 ServiceClient Api, you have
to engage the module using a ConfigurationContext:
=
ConfigurationContext context =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(
PATH_OF_YOUR_REPOSITORY,
Hi,
1.Can I send in attachment(s) to webservice without change in the method
signature and can I still access the attachments using the
MessgeContext.getCurrentMessageContext().getAttachmentMap() ?? If so how do
I do that?
You can send SwA type attachments without changing the methode
Hello Stefan,
I don't know if yu are in the same situation than i was a few months ago.
I had to use http proxy authentification for web services and others http
requests.
I detected a bugg in the handling of authentification. It was because i used
Java Network configuration proxy and
thanks for the pointer on org.apache.axis2.client.Options and setAction method
for some reason I cannot locate the java\samples\wsa folder
?
Merci/thx,
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments
The Axis (1) web site has nightly build links that are broken. I would
like to get hold of a bug fix that was made over a year ago.
(AXIS-2442) Is there no way to get this other than building from source?
-
To unsubscribe,
Steve,
Nightly builds have not been performed on this project since Axis 1.4
was released in 2006. The change Tom describes in that issue was made
in February 2007. This means that yes, unfortunately the only way to
get this fix is to build from source at the present time.
I have been
Yes you can do it that way.
Thanks,
Keith.
On Sat, Sep 27, 2008 at 2:20 AM, Raghu Upadhyayula
[EMAIL PROTECTED] wrote:
Hi,
I have a question about Asynchronous web services.
Can a Web Service client use asynchronous style when the Web
Service server is using
Hi,
I am doing Bottom Up approach procee what u provided in
http://wso2.org/library/1719#Part1
But i am giving the class file path as
D:\Axis2\latestaxis1.2\WORKSPACE\TemperatureWebService\build\classes but
when i go to next page but i an getting
Class not
50 matches
Mail list logo