I have done a quick fix to the svn trunc to prevent the failure on the
large file signal.
Whoever, switching to another file in case of a large file is yet to be
handled.
Samisa...
Samisa Abeysinghe wrote:
Raghavendra SM wrote:
Hi All,
Please find below the GDB back trace of the core dump
Hi Divakar,
You don't have to set a userName parameter for https transport to
work. If you have encrypted the server key using a password it
should be given in the SSL_PASSPHRASE parameter.
In addition, AFAIK, userName and password parameters are not at
all used in axis2/c.
HTH
-Dumindu.
Hi All,
I am facing some problems with invoking a https based .Net
webservice using the axis2c client. I am getting Error code 2. It is
giving error cannot find the password for user
pbsgridworks\\administrator. How can i set the password to this.
I am sending axis.xml ,my .c file
Hi,
I commented user name from client_policy.xml . I is giving user
name token notspcified error in log. I have one doubt why it is
accessing service.xml from
/usr/local/axis2c/services/sec_echo/service.xml. should it need for client.
Thanks
Divakar
Dumindu Pallewela wrote:
Hi Divakar,
Hi,
You don't need to engage Ramprat to provide transport level security.
This is why you get above error. Please remove the line module
ref=rampart/ from the axis2.xml.
If you are not planning for a message level protection, you don't need
to have security polices in the services.xml or in
Hi,
I would really appreciate some feedback on how a project I am working
has been set up - I suspect badly. I have recently taken over the
project and can make major changes if necessary.
- We currently run a Jetty6 web server standalone.
- We build our axis2 based webservice using maven2,
Ad. 1: HTTP 1.1.
Ad. 2: Ok, interesting!
On this project we use SOAP 1.1 and the code is based on .NET 1.1.
But I'm still curious about how to add the XML declaration. It seems that it
should still be possible somehow using SOAPMessage.WRITE_XML_DECLARATION,
but I don't know how to trigger it.
Thanks Anne
I am still new to SOAP, so I just use org.apache.axis.wsdl.WSDL2Java
to auto-generate my proxy.
Is there a switch for WSDL2Java that makes it use SOAP 1.2
Constants to enable SOAP 1.2 support?
-Kasper
On 17/10/2007, at 14.23, Anne Thomas Manes wrote:
Axis 1.4 supports SOAP
Hi,
Thanks for the reply.
It was a coding problem in the .NET side. Now it's rectified.
Rgds,
Raghavan.V.
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 6:02 PM
To: axis-user@ws.apache.org
Subject: Re: Unable to Pass values of
For reference.
Solution for supporting only SOAP 1.1 requests using Apache Synapse. This is
a sample configuration file which will work with Synapse nightly build or
1.1.
definitions xmlns=http://ws.apache.org/ns/synapse;
in
switch source=get-property('MESSAGE_FORMAT')
case
Hi,
I am using Axis2 1.2 as a web service client.
I have some question regarding the configContextTimeout. I am going to set
the socket timeout value to 60 seconds instead of the default 30 as the
service provider sometimes return response in 40 seconds.
Inside axis2.xml, I added the parameter
Hi all,
i'm trying to add handlers to a service... i tryied with:
@HandlerChain(file=handlerChain.xml)
@ServiceMode(value=Mode.MESSAGE)
@WebServiceProvider
public class handlerChainService implements ProviderSOAPMessage{
public SOAPMessage invoke(SOAPMessage request){
...
You have to specify a SOAP 1.2 binding in your WSDL. The specification
for the SOAP 1.2 WSDL binding can be found at [1]. Here's a summary of
the changes you need to make to your WSDL:
Add a WSDL SOAP 1.2 namespace declaration to the definitions element:
Hi,
Couple of days back I had the same problem but I could not make it using
rampart but solved the problem. Find below the working code. I have created
the stub using wsdl with Eclipse IDE.
URL endPointURL = new URL(http:// );
EngineConfiguration config = new
In both of the emails you sent containing the WSDL, I am unable to
find a schema element in the types section. What I'm seeing is this:
wsdl:types
xs:complexType name=StompCredentials
xs:sequence
xs:element name=orgnaizationId nillable=false
I apologize.
I re-read your post below, and it seems that the HTTP POST request is
not allowed. The list allowed by them seems to be: OPTIONS, TRACE, GET
and HEAD. (I was working from the assumption that the actual method on
the interface was turned off. You can do this in Axis and probably in
If you put the jars in axis lib directory (/axis2/WEB-INF/lib) it will work
fine.
Antonio.
2007/10/17, Upul Godage [EMAIL PROTECTED]:
Put the connector/j jar in the aar archive's lib folder.
In the service class,
ClassLoader classLoader = getClass().getClassLoader();
Hello,
Is there a possibility to NOT generate inner types in the client stub? I would
need explicit, normal class files, since I have to distribute the types among
different systems...
Can anyone help?
Thanks a lot!
Simon
-
To
Hi,
I am new to web services and axis. I have a webservice in .NET that is into
production. I need to make a java client from the wsdl of that web
service.can anyone help me how to automaticaly generate a java client from
the wsdl.I am using axis 1.4 and Tomcat 5.0
Thanx in advance.
I meant 1.x. With upgrade to axis2 rampart is necessary for client
certificates.
_
From: Senthivel U S [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 4:08 PM
To: axis-user@ws.apache.org
Subject: RE: Rampart signature
Actually I am using Axis/1.3 but I have used this for
Hi Tirtza,
It seems something like this would will work for you. You have to
specify what should be signed within the
sp:SignedParts/sp:SignedParts.
wsp:Policy wsu:Id=MutualCertificate10Sign_IPingService_policy
xmlns:wsu=
I have a wsdl that uses an xsd:any in a complexType.
When I submit request via SoapUI I get Unexpected subelement value. I am
using adb as my databinding.
Here is my WSDL snippet.
xsd:complexType name=QueryTerm
xsd:sequence
xsd:element maxOccurs=1 minOccurs=1
Actually I am using Axis/1.3 but I have used this for signing since I could
not make it with rampart.
_
From: Tirtza Bernstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 6:02 PM
To: axis-user@ws.apache.org
Subject: RE: Rampart signature
It look slike you are using
It look slike you are using axis1. I need a solution for axis2.
I have Rampart set up properly I just need a policy.xml which will allow me
to send a client certificate. (no encryption and no timestamp)
Does anyone have a policy.xml that defines this?
_
From: Senthivel U S
I am using axis2-1.2, rampart is necessary
_
From: Tirtza Bernstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 6:14 PM
To: axis-user@ws.apache.org
Subject: RE: Rampart signature
I meant 1.x. With upgrade to axis2 rampart is necessary for client
certificates.
In Axis1 1.4 the command to use is:
%java org.apache.axis.wsdl.WSDl2Java --server-side --skeletonDeploy
true web_service_name.wsdl
This command will generate two sets of Java classes that are mingled
together (pity that), the stub, locator and interface classes needed by
clients, and the
Hi,
I have to set client username and password programmatically,
but I don't know how to set password type to digest
using RampartConfig
private static Policy loadPolicy(String xmlPath) throws Exception {
StAXOMBuilder builder = new StAXOMBuilder(xmlPath);
Policy policy =
Hi everyone,
I think I've finished writing my web service, I even use validation with
an .xsd through xerces.
My question is how can I load the .xsd file through the web server?
Currently I do it using
new File(absolute_path...). Is there a way I can load the file from
the web server, without
Thank you very much. I need the header signed. When I change it to
sp:SignedParts
xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;
sp:Header/
/sp:SignedParts
I get a NullPointerException because I need a namespace included.
What namespace should I add?
I'm trying to tune the code generation and our WSDL for service methods
with no parameters, which seems to be a fairly ill-documented process.
I've been all over the place, and I see that there are some bugs in
connection with this (AXIS-3199) which I've started watching, but I
hoped that
Hi,
I'm sorry to double-post, but I've had no responses and I'm really under
the gun. Does anybody have any ideas about how to get rid of this
exception? Is this some kind of a configuration issue?
Thanks,
Geoff
From: WALKER-GEOFF
Sent: Wednesday,
Geoff,
I think I see a // instead of a / after localhost.
That is not allowed and may force the protocol to be stripped off?
-jeff
_
From: WALKER-GEOFF [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 1:35 PM
To: axis-user@ws.apache.org
Subject: RE: MalformedURLException with
First of all, Jeff, I like your name. Secondly, that was a typo on my
part (that's what I get for not cutting-and-pasting). The URL looks ok
in the Locator.
- Geoff
From: Walker, Jeff [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 1:47 PM
To:
Cool.
Can you post the exact line from the Locator class, as well as the
entire last section of the wsdl, that is, the part from
wsdl:service name=..
to..
/wsdl:service
Also, do you know the port number that the .NET service uses?
(The other part that is intriguing is the session number in the
Hello all,
I'm having trouble using my own schemas in WSDL. Part of it may be related
to the Axis2 code generation.
So, I've made my own HelloWorld example. Here's my process:
1) Make WSDL file (attached)
2) Process with Axis2 code generation to build client/server code. Fill in
a
Service section from the wsdl:
wsdl:service name=Service1
wsdl:port name=Service1Soap binding=tns:Service1Soap
soap:address
location=http://localhost/MyWebService/Service1.asmx; /
/wsdl:port
wsdl:port name=Service1Soap12
Well,
I'm afraid I don't know the answer.
I have used .NET clients in the past talking to a Java hosted web
service. We did not use cookies and did not maintain state, so it was
about as simple as it gets. (Although I wrote the .NET client I found
C# difficult and was fortunate to have Visual
Try looking MTOM sample in axis. replace your wsdl here.
!-- Generate Client --
target name=generate.client
java classname=org.apache.axis2.wsdl.WSDL2Java
arg value=-uri /
arg value=resources/MTOMSample.wsdl /
I need to do some further testing and tracing into the Axis source just
so I can understand exactly where this is happening. At any rate,
thanks for giving it a look.
- Geoff
From: Walker, Jeff [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 4:16
Forget the Policy road.
Look at the basic samples. Way simpler way to achieve what you want.
tirtza wrote:
I am using Axis2-1.3 and Rampart 1.3.
I am the client and my requests need to be signed.
My axis.client.xml includes the following
module ref=rampart /
parameter
Hi Tirtza,
What is the header you need to sign ? You should provide the name and
the namespace of the header you want to sign.
eg.
sp:SignedParts xmlns:sp=
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;
sp:Header sp:Name=Action sp:Namespace=
Hi guys,
Apologies to u guys first.
After reading some of your post, I found that it would be very unlikely
for the vendor to have POST turn off (although the return messages
suggested this) thus i went on to check the URL that i called, and it
seems that it is the URL problem! After
Is the basic method deprecated and the policy method the
generally-accepted way to go now?
I ask since I have a need to implement a user name token with
Rampart. It works now with the basic method but I'd rather use a
method that is not deprecated.
Any input is appreciated.
At 06:09 PM
Hi,
The generated stub uses the end point reference (URL) given in the WSDL.
Check whether it is the required one in the generated stub code. The stub
uses that EPR when you create a stub instance. If it is not the correct one,
there is a stub class constructor which takes a given EPR.
Also if
We're using axis2-1.3 and our generated stub is not connection to any remote
services. We are able to get our stub to connect to a local web service, but
not a remote webservice.
SoapUI is able to connect to the remote webservice using the exact same wsdl
file.
Is there a setting that we
your double-checked your WSDL is doc/lit/wrapped style ?
(If unsure then post WSDL to group)
M--
- Original Message -
From: foo shyn [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Thursday, October 18, 2007 8:53 PM
Subject: Re: Axis 1.4 - (405) Method Not Allowed
Hi guys,
Thanx yogesh. I will try out this
Thanks Best Regards,
Sudhir Sharma
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 3:01 AM
To: axis-user@ws.apache.org
Subject: Re: java client from wsdl
Try looking MTOM sample in axis. replace your wsdl
47 matches
Mail list logo