Hi Yair,
Axis
C/C++ is still being developed and there will be a new release (1.6) available
soon. There is still a nightly build that is available from the website
and the code is in SVN.
Regards,
Fred Preston.
Yair Zaslavsky
[EMAIL PROTECTED]
21/05/2006 16:56
Please respond to
Hi Sahan,Thanks for the reply. I've been putting my built dll into a directory called $AXIS2_HOME/services/EchoWebService with the dll name as EchoWebService.dll and the services.xml file containing the following:
service name=EchoWebService parameter name=ServiceClass
Deepal,
Thanks for your answer.
I understand that I can't overwrite WSDL by using RPCMessageReceiver.
There are 3 ways to create web service via axis2.
1. from java code with using RPCMessageReceiver.
- writing java codes and archive them with services.xml, then deploy.
- data binding will be
Hi,
is it possible to generate the WSDL file from Java code?
I found only a tool which creates server/client stubs from a WSDL file.
Cheers,
Ingo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Easily possible; deploy your java file into axis2 (version 1) repositorywith jws extension.call http://hostname/axis/yourjava.jws from your browser and here is the WSDL !
On 5/22/06, Ingo Siebert [EMAIL PROTECTED] wrote:
Hi,is it possible to generate the WSDL file from Java code?I found only a
Hi
I have deployed a Stock Quoter Service with Axis 1.3 whose operation "getSymbols" returns an array of strings. According to the generated
WSDL
the array elements should be named "item". But in the SOAP response the array elements have the name "getSymbolsReturn".
Does anybody have an
Ingo,
With Axis2, how about using Code Generator Wizard - eclipse Plug-in.
http://ws.apache.org/axis2/tools/1_0/eclipse/wsdl2java-plugin.html
You can generate WSDL from java code.
Or, deploying service using RPCMessageReceiver, Axis2 will generates
WSDL automatically.
You can see WSDL via url,
I have developped a web service using AXIS 2 version1, everythings work fine with a jsp client and SOAPUI 1.5 but when i call the service with php nuSOAP i have this SOAP response:Array
([faultcode] = soapenv:Client[faultstring] = null; nested exception is: java.lang.NullPointerException
Hi Thilina,
The fix you did to OMTextImpl seemed to fix the problem I'm seeing, so
thanks
very much for that. :) The only problem is that the fix was committed to
AXIS2-753 (Setting SOAP Version URI to type 1.2 creates invalid Content-Type
that fails during parsing) which seems to be a different
Hello,I use axis 1.3 to call a service that is implemented in an uknown language (probably .NET but not Java). I have generated the classes with the wsdl2Java tool from the service's WSDL and i called normally the service with a static stub. In the SOAP monitor i can see the respone with the
Ruchith, Werner.
Werner was right! I have switched off MTOM
optimization in the services.xml (service-client
message), and it works without problems. I did leave
MTOM optimization on the client Axis2 repository
configuration (client-service), this is also not a
problem (the client-service
Hi
I am not sure if this is the right place to address this, but i'd
appreciate some feedback if possible, because i already made lots of
queries on the internet about this issue with no success.
My problem is the following:
- i am using WSDL to Java ant task to generate classes against a
Hi,
the option Generate WSDL form Java source file isn't selectable(grey).
Cheers,
Ingo
Kinichiro Inoguchi schrieb:
Ingo,
With Axis2, how about using Code Generator Wizard - eclipse Plug-in.
http://ws.apache.org/axis2/tools/1_0/eclipse/wsdl2java-plugin.html
You can generate WSDL from java
hi.
You are probably having an old version of the plugin. Download the latest from
http://ws.apache.org/axis2/tools/index.html
Ajith
On 5/22/06, Ingo Siebert [EMAIL PROTECTED] wrote:
Hi,
the option Generate WSDL form Java source file isn't selectable(grey).
Cheers,
Ingo
Kinichiro Inoguchi
This is an Axis 1 solution. There is no such object as Call in Axis2.
So I repeat my question: how can you specify username and password with Axis2??
On 5/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On 5/3/06, Kees de Kooter [EMAIL PROTECTED] wrote:
In Axis 1 I specified
Hi Roy,
Thanks a lot for the feedback ... seems like a bug in MTOM with
_large_ base64 text.
I'm trying to reproduce your scenario ... I just checked the security
sample with the similar configuration (added wsa headers as parts to
be signed) and it worked with out a problem _with_ MTOM
Good Morning Ken
Who(m)ever is supplying the WSDL to you is responsible for specifying request
and response for all methods along with specifying
parameters to those methods.
Who(m)ever is changing the schema needs to re-gen and re-publish the WSDL
A situation arose where my webservice is now
Axis does not provide this type of configuration option. Either construct the message programmatically using JAXP or insert an intermediary into your message path to transform the message. Anne
On 5/22/06, Razvan Dani [EMAIL PROTECTED] wrote:
HiI am not sure if this is the right place to address
Or -- customize Axis. On 5/22/06, Anne Thomas Manes [EMAIL PROTECTED] wrote:
Axis does not provide this type of configuration option. Either construct the message programmatically using JAXP or insert an intermediary into your message path to transform the message.
Anne
On 5/22/06, Razvan Dani
Ken,I agree with Martin -- your service provider should supply you with a new WSDL. Have you tried just doing a GET on the service URL appended with ?wsdl?. In the meantime, you can use a handler to validate the message. Java provides native support for validation in the
javax.xml.validation
Kees de Kooter wrote:
How can I set the SOAPAction??
option.setAction(soapaction);
This is the stacktrace:
org.apache.axis2.AxisFault: Server did not recognize the value of HTTP
Header SOAPAction: .
at
Hi,
i've installed 1.2 (1.1 before) and it's not grey anymore. But if i
select it and press next, nothing happens (Eclipse 3.1.2).
Ingo
Ajith Ranabahu schrieb:
hi.
You are probably having an old version of the plugin. Download the
latest from
http://ws.apache.org/axis2/tools/index.html
options.setActionOn 5/22/06, Kees de Kooter [EMAIL PROTECTED] wrote:
How can I set the SOAPAction??This is the stacktrace:org.apache.axis2.AxisFault: Server did not recognize the value of HTTPHeader SOAPAction: .at org.apache.axis2.description.OutInAxisOperationClient.execute
Compare the return message to the expected schema as defined by the WSDL. It's likely that the service is returning a message that doesn't conform to the schema. If so, you should report the error to the service provider. If they won't fix the error, then you may need to modify the WSDL so that it
The SOAPAction value is a URI. The WSDL should specify the required SOAPAction value. AnneOn 5/22/06, Kees de Kooter
[EMAIL PROTECTED] wrote:Thanks Deepal,That works. What kind of value is expected anyway?
On 5/22/06, Deepal Jayasinghe [EMAIL PROTECTED] wrote: Kees de Kooter wrote: How can I set
It's a bug. Upgrade to Axis 1.4.On 5/22/06, Stephan Fischli [EMAIL PROTECTED] wrote:
Hi
I have deployed a Stock Quoter Service with Axis 1.3 whose operation getSymbols returns an array of strings. According to the generated
WSDL
the array elements should be named item. But in the SOAP response
Try capturing the input message and comparing it to input messages submitted by your jsp client. See what's different.AnneOn 5/22/06, A A
[EMAIL PROTECTED] wrote:I have developped a web service using AXIS 2 version1, everythings work fine with a jsp client and SOAPUI
1.5 but when i call the
Axis2 does not yet support automatic unwrapping of parameters (e.g., wrapped doc/literal).Wait for the next release. In the meantime, you must wrap your parameters into a bean.Anne
On 5/21/06, Ahmed Ashour [EMAIL PROTECTED] wrote:
Dear Martin,Thanks for your feedback.However, I am asking
Thanks Anne!
On 5/22/06, Anne Thomas Manes [EMAIL PROTECTED] wrote:
The SOAPAction value is a URI. The WSDL should specify the required
SOAPAction value.
Anne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
No -- you just have to use a bean to wrap your parameters. AnneOn 5/20/06, Scott McCoy [EMAIL PROTECTED] wrote:
I see, so I'm basically married to axis 1.3 for the time being.
- ScottOn 5/20/06, Anne Thomas Manes
[EMAIL PROTECTED]
wrote:Axis 2 does not yet support automatic unwrapping of wrapped
Found it:
HttpTransportProperties.BasicAuthentication
basicAuthentication = new HttpTransportProperties().
new BasicAuthentication();
basicAuthentication.setUsername(userName);
basicAuthentication.setPassword(password);
Thank you for your fast response.I compared the wsdl to the returned message and it seems ok(I checked the response objects and have the same names and structures to the ones i get in the response). Is there any other way to check the response i should get ? Can i use a custom deserialiser for the
Hi,Do you have any guidelines or documents, which explain what are the directories and the files generated by WSDL2Java tool provided by Axis2 and their use?Thanking you in advance.Regards,Merieme
Hi Deepal,
Thanks for the reply. I had already created a JIRA issue:
http://issues.apache.org/jira/browse/AXIS2-741
Regards,
Ali Sadik Kumlali
--- Deepal Jayasinghe [EMAIL PROTECTED] wrote:
create a JIRA
Ali Sadik Kumlali wrote:
Hi all,
When I use EchoBlockingDualClient to invoke
Lakshmi Chaparala wrote:
Hi,
We are using axis2.1.0. Does this version still need client repository
specified ?
ServiceClient client = new ServiceClient(configcontext, null);
Nope, you can call,
ServiceClient client = new ServiceClient();
-- EC
Lakshmi
Hi Deepal,
Thank you for spending your time with my problem. Should I open a JIRA
for this?
Regards,
Ali Sadik Kumlali
--- Deepal Jayasinghe [EMAIL PROTECTED] wrote:
Hi Ali
Ali Sadik Kumlali wrote:
Hi all,
What I want is:
- Make a request to a service which uses
hmmm..
I guess this is probably related to the fact that you had the previous
version of the plugin installed. Try doing this
goto the .metadata - .plugins folder and find the folder relevant to
the plugin (Axis2_Codegen_Wizard) and delete it. this erases the
settings related to the earlier
In Axis 1.x there was a tool Java2Wsdl.
I downloaded the Axis2 1.0 release and the IntelliJ IDEA plugin, but
cannot find the same tool in there, only WSDL2Java.
Is this tool available in some way?
Geir Hansen
-
To unsubscribe,
Hi Anne
Thank you for your suggestions. However as a person that only found
Axis few days ago, i am not sure how would i go about inserting and
intermediary into my message path to transform the message (i.e.
replace occurences of soapenv with soap-env).
I would appreciate a lot if could
Hi,
i create a system of authentication with client/side
structure, i want to deploy it as Web Service, so i
choose Axix + Tomcat to do it. I have some questions:
A) i have my own class that construct SOAP messages,
so it is possible to disable in the wsdll file the
serialization and
easier would be to edit axiom source
(http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/soap/SOAPConstants.java)
and build a jar for your own use.
-- dims
On 5/22/06, Razvan Dani [EMAIL PROTECTED] wrote:
Hi Anne
Thank you for your suggestions.
Thank you,
i deleted the dir and the wizard starts now.
I've get at the end of the wizard an TargetInvocationException, but my
app build process isn't complete so it's possible that's why it isn't
working. But the classpath-check was successful...
Cheers,
Ingo
Ajith Ranabahu schrieb:
Hi
thank you for your suggestion. if i reach desperation i will certainly
customize axis for my own use, but i'd certainly like to stick to the
standard axis if at all possible. otherwise when i want to switch to a
new version of axis latter on, i would be loosing by custom changes.
what i
Hello,Does anyone know how I can add Non-English character support to my Axis web services? Should I add the encoding information to my wsdd file or somethig else?Appreciate on help.Thanks.
Hi,
Which jar file is the org.apache.axis2.saaj.util
package in? I'm trying to compile a project that uses SAAJUtil and can't
find the class in any of the $AXIS2_WAR/WEB-INF/lib or $STANDARD_DISTRIBUTION/lib
archives. I see the code in SVN, I'm just not sure where it's packaged.
Thanks,
Dan
Dear Anne
Thank you for the quick answer. I migrated my server installation to Axis 1.4 but unfortunately the problem remains.
Regards, Stephan
View this message in context: Re: Inconsistent Array Elements
Sent from the Axis - User forum at Nabble.com.
Hi Razvan,
What I can think of is to insert a Handler in the request flow. Inside the Handler, you can modify the message. If you are using Axis2, you can write a module or a handler to do that. I believe this will be much easier than customize Axis or Axis2.
Axis gurus, please correct me if I
Is axis 1.2 considered as SOA?
Move AXIS2 to make remove JAX-RPC and become SOA compliant?
-Venky
Hi Xinjun
Thank you very much for your useful intervention.
Could either you or otherwise another Axis guru maybe present me a
brief example of how a Handler can be inserted in the request flow
(which translates into: i don't know how that could be done).
Again i would like to remind that
Hi,
- error
descriptionUnable to generate WSDL for this service/description
reasonEither user has not dropped the wsdl into META-INF or operations
use message receivers other than RPC./reason
/error
Get every time this error message! Doesn't matter if I use the give examples
or my own
Hi Dear Axis Users.
I Have tested the sample given in AXIS 2 rel 1.0 : MTOMService /
imagetransfer
- the client let us select a file, name it and post to the server.
- the server is a MTOM implementation.
It works perfectly.
So, I modified a bit the Server Sample to handles in SOAP with
Not sure which axis version you are using, but both axis 1.x and axis2
show a simple LogHandler in their respective user guides. That would be
a good place to start. Also, the axis2 migration guide shows an Axis
1.x handler and how to migrate that to Axis2.
HTH,
Robert
See my comments below...
On 5/22/06, Laurent CELLA [EMAIL PROTECTED] wrote:
This sample is supposed to return us an instance of class Attachmentslinking to attachments retrieved on mime.
The result is null.When i log the OMElement received by the method, it looks like it is theMTOM way( my
The issue is that you can only get the wsdl to display under two scenarios:
1) You are using RPC, such as RPCInOutMessageReceiver, as your message receiver in your services.xml .
2) You have your own WSDL that you use for databinding, and you put it under the META-INF directory in your war.
hi, i am brazilian student and speak english very well. :D
my doubt is:
i want show only xxxReturn in the aplication..
my client is generated by wsdl2..
i obtain xml response using:
---
java.io.ByteArrayOutputStream baos = new
I don't think the term SOA-compliant applies to a development tool. Both Axis1 and Axis2 are tools that you can use to implement services, but that doesn't make them SOA-compliant.SOA is a style of design in which the fundamental unit of design is a service. An application system is SOA-compliant
Anne:
Could you suggest any good articles on SOA.
Thanks,
Ravi
Anne Thomas Manes wrote:
I don't think the term SOA-compliant applies to a development tool.
Both Axis1 and Axis2 are tools that you can use to implement services,
but that doesn't make them SOA-compliant.
SOA is a style of
When dealing with
raw xml data that needs to be passed through web services (the XML schemas are
complicated and big enough that we are not including the types in the WSDL
explicitly), is it better to:
a. Pass the XML in a
doc-literal web service through a string
or
b. Use SOAP with
Hi Jeffrey,
Followings are the first steps that come to my mind:
1) Find yourself a tool that ease your work. portecle[1] is my
favorite. Other tools such as OpenSSL[2] and keytool[3] are very
popular, though.
2) You need to create a keystore file for both client and the server.
Later you will
I am doing a proof of concept on WS-Security. We use websphere appserver v
6.0 to develop our webservices.
RAD 6.0 supports the WS-Security 1.0.
I was able to create a secured webservice on RAD 6.0.
I can also use a RAD web client to send and receive messages from the
secured webservice.
Now my
Use WSDL2Java to generate the client stub and use the Rampart module to secure it.AnneOn 5/22/06, sagar kar
[EMAIL PROTECTED] wrote:I am doing a proof of concept on WS-Security. We use websphere appserver v
6.0 to develop our webservices.RAD 6.0 supports the WS-Security 1.0.I was able to create a
Assuming you have a 'xxxReturn' as a node in your soap message - take a
look at tcpmon or the soap applet, etc, if you need to...
I think what you want is to get a node and show just that - I think
axis 1.x allows you to get the Document from Message Context directly,
but anyways:
Why don't you import the schema into the WSDL?It's always better to pass the XML within the SOAP envelope than to send it as a string or as an attachment.AnneOn 5/22/06,
Hoda Nadeem [EMAIL PROTECTED] wrote:
When dealing with
raw xml data that needs to be passed through web services (the
Hi Sagar,
You may start from the security sample that comes with axis2
distribution. Then, you may create the stub of the secure service by
using WSDL2Java. Using client_repo folder as found in security sample
along with your stub will let you do what you want.
Regards,
Ali Sadik Kumlali
---
Thanks Anne.
Anne Thomas Manes wrote:
See http://www.google.com/search?q=soa+design+practices
On 5/22/06, Ravi Krishnamurthy [EMAIL PROTECTED] wrote:
Anne:
Could you suggest any good articles on SOA.
Thanks,
Ravi
Anne Thomas Manes wrote:
I don't think the term
Hallo Hoda,
you can use both of them but the better is the first (a)
Regards
Muthana Al-Temimi
M.Sc.in Information and Communication Systems
Hamburg Germany
Original-Nachricht
Betreff: Passing XML Best Practice
Datum: Mon, 22 May 2006 16:35:35 -0400
Von: Hoda Nadeem [EMAIL
Good suggestion, but unfortunately, the schema, and the
schemas it depends on make it impractical to include in the WSDL.
It took XMLBeans 15+ mins and modification (to the schema)
to generate the data binding jars. So, for the sake of sanity, and handling the
XML cleanly, we decided it
Then I suggest using the Messaging API (Axis1) or the RawXMLMessageProvider (Axis2) and don't attempt to bind the schema to Java objects. But it's still better to send the XML within the SOAP envelope.
On 5/22/06, Hoda Nadeem [EMAIL PROTECTED] wrote:
Good suggestion, but unfortunately, the
Anne, thanks for the suggestion.
Both yourself and Muthana suggested sending XML in the SOAP
body instead of SOAP with attachments.
Is there a reason for this preference?
Thanks for the help.
Nadeem
From: Anne Thomas Manes
[mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 4:57
well,
I am beginning and I did not understand very well.
you can detail as you show the result? for example,
System.out.println().
I want to show in my java aplication for example, only:
helloReturn xsi:type=xsd:stringHELLO TESTING/helloReturn
thanks!
--
View this message in
Hi,
We consume a web service using axis 1.1. Whenever the
webservice goes
down or is slow to respond, it appears like our
appservers keep
creating new threads for subsequent requests and the
web service client
thread is never released as the service is not
responding. This causes
the web
I am writing an applet which accesses a web client to send information
to a web service. However, I am getting the following exception:
java.lang.NoClassDefFoundError: javax/xml/rpc/Service
I believe I have all of the axis jars in my classpath and the
application compiles correctly, so this
Hi, As of now I have been declaring my axis webservices in a servlet container via server-config.wsdd in the WEB-INF folder. However ideally I want to be able to declare services in runtime during startup. Does anyone know what API I can use to do this? I'm hoping its not that hard.
Sneak
Thank you very much
-Jeff
-Original Message-
From: Ali Sadik Kumlali [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 1:37 PM
To: axis-user@ws.apache.org
Subject: Re: Adding Digital Signatures to all outgoing SOAP envelopes
Hi Jeffrey,
Followings are the first steps that come to
nevermind. I hadn't realized I needed to add the axis jar files to my
servlet lib directory.
tom mccarthy wrote:
I am writing an applet which accesses a web client to send information
to a web service. However, I am getting the following exception:
java.lang.NoClassDefFoundError:
Attachments are problematic if you need cross-platform interoperability. Encoding the document as a string can also be problematic if you have embedded or characters in the XML content or if you have encoded characters,
e.g., gt; in the content or if you have CDATA in the document.Also if you
hello,i am newbie. I have some code that generates xml. i want to make this xml available as a web service in doc literal fashion. would using axis help me do this? what would i have to do with axis to get this done? do i implement a handler? or what else? does axis have a way such that i
Hello Razvan,
I have not looked at the user guides Robert pointed out to you, but I
previously posted the following about registering handlers:
Refer to the JAX-RPC1.1 spec to see how to use a client handler in a
portable way. I believe it goes something like this:
sf =
Hi Kent,
Thanks for the reply. So, it means it's got to be a global thing? For
example, one can't encrypt the out message of an operation while just
sign the out message of another operation?
You can actually do this using the following :
log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.impl.builder.StAXOMBuilder).
log4j:WARN Please initialize the log4j system properly.
I get every time this warning. I found different suggestions to solve that
problem, but nothing realy works.
Hi
Axis,
I'm trying to write
a call and need to add a message element part to my message but am unsure of how
to achieve this. Can someone point me in the right
direction.
I do not know how to
get a handle on the SOAPEvenlope or even if I require to. I use WSDL2Java to
generate
81 matches
Mail list logo