Hi,
This based on the location in the ANT scripts at which failure occured, it
sounds like the Apache module failed to compile. What were the compilation
errors (You should see these just before the point at which the ANT script
indicated a failure) ?
Adrian
I am a novice to AXIS C++. What would be the best AXIS C++ practice to
implement request/response MEP - no proxy object - just sending a SOAP
request and getting a SOAP response in one call. Is there any sample
implementing this pattern?
Is that about handles and chains? Thank you.
--
View
Me too. Try out the samples to get an idea.
FYI
-Original Message-
From: leo_k2 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 9:11 AM
To: axis-c-user@ws.apache.org
Subject: What is the best AXIS C++ practice to implement
request/response MEP
I am a novice to AXIS C++. What
I'm surprised you aren't seeing anything from the compiler (or linker)
showing a more specific error
You can force ANT to log to a file by specifying the option
-l log file
It may then become more obvious, otherwise you can post it here, and we
will be better able to diagnose the problem.
Hi,
If you don't want to use generated stub objects, you can work directly with
the Call API, in much the same way as within generated stub objects.
Probably the best way to understand using this API is to generate a stub
from a simple WSDL then re-work to suit your needs.
Also, we have a
Hello friends,
I worked out a Axis2c client on linux
that can successfully invoke a web service implemented by Java ... I've
been trying to build it into a library file (.so) so that it can be called
from other C program but it failed to call the web service anymore.
I added a bunch
Do you have the Axis2/C libs on you library path, so that the program
that loads your library file with client logic can locate the required
Axis2/C libs? (As far as I can tell form your compile command, you
should have /opt/axis2c-bin-0.92-linux/lib on your LD_LIBRARY_PATH)
BTW, you could use
Hello Mr.Samisa,
This is Aaron from IBM China Software
Development Lab. Thanks for your reply.
I did have /opt/axis2c-bin-0.92-linux/lib
on my LD_LIBRARY_PATH. I set it in my system profile even in my C program
as well. Now we are facing with a case that needs to integrate C legacy
with Java
Hi Deepal,
Thank you for the reply.
Could you please give me the example how to use it. How to costruct
OMElement as parameters. Any link for this ?
Regards,
sabri
-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 11:58 PM
To:
I use soapenv:Envelope .My array is defined in wsdl as:complexType name=MyUsersequenceelement name=name nillable=true type=xsd:string/
element name=email nillable=true type=xsd:string/element name=permisos nillable=true type=impl:ArrayOf_xsd_int
//sequence/complexTypeAnd then:complexType
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Charak,
HttpTransportProperties.BasicAuthentication basicAuth =
new HttpTransportProperties.BasicAuthentication();
messageContext.getProperty(HTTPConstants.BASIC_AUTHENTICATION);
This is a client side setting.
In server side, if the transport
Kinichiro, Eran, Anne,
Great thanks for your help!
I've build perl module using stubmaker from wsdl file and fix all
wrong namespaces after generation.
It works fine now, thanks.
Kinichiro, i have SOAP::Lite 0.69 version. I think the problem in
client stub generation from wsdl file in new
Hi Sabri,
try to take a look to $AXIS2_BIN_HOME/samples/userguide/src/clients.
Hope this helps,
Michele
Rusda, Sabri wrote:
Hi Deepal,
Thank you for the reply.
Could you please give me the example how to use it. How to costruct
OMElement as parameters. Any link for this ?
Regards,
Hi David,
If you haven't already done, please;
- Uncomment
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
line found in commons-logging.properties which resides under
axis2\WEB-INF\classes\
- Add log4j.logger.org.apache.axis2.transport.http=DEBUG line into
The nightlies are working again:
http://people.apache.org/dist/axis2/nightly/
HTH,
Robert
http://www.braziloutsource.com/
On 8/21/06, robert lazarski [EMAIL PROTECTED] wrote:
I just tried this and it worked for me:
maven plugin:download -DgroupId=maven -DartifactId=maven-itest-plugin
Hello, I developing a web service using axis. This web Service is called
from a Power Builder Software and there are problems because of the
Chunked Transfer encoding. I´ve tried to disable this kind of transfer
encoding and change the HTTP version from 1.1 to HTTP 1.0:
I read you solved to Eduardo this
issue
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200511.mbox/[EMAIL PROTECTED]
I have the same problem but I can't
solve it. My wsdd description is:
service name=InterfazWeb provider=java:RPC style=wrapped
use=literal
parameter
I see you are trying this with Tomcat
Please make sure you have the wss4j-SNAPSHOT.jar in the WEB-INF/lib
directory of axis2. Basically you will have to have all jars available
in the lib directory of the zip file in the WEB-INF/lib directory.
Thanks,
Ruchith
p.s. you can try the samples (with
Make sure that you are using Axis 1.4.
Also, start with your WSDL file and generate the code from it.
Anne
On 8/22/06, HHDirecto. Net [EMAIL PROTECTED] wrote:
I read you solved to Eduardo this issue
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200511.mbox/[EMAIL
PROTECTED]
I
Do you have the typemapping defined in your client, too?
On 8/21/06, Srinath K [EMAIL PROTECTED] wrote:
Thanks for the response, I do have the type-mapping defined, this is my
webservice interface
public HelloBean[] sayHello(String name) throws RemoteException
And excerpt from my wsdd
Thanks, I'm using 1.4 version.My wsdl file is generated automatically by axis, how can I say to axis to generate wsdl as your example?Thankss a lot2006/8/22, Anne Thomas Manes
[EMAIL PROTECTED]:This is an unresolved bug in Axis.
Define your internal array as unwrapped:complexType name=MyUser
I think so. In .net client, it generate stub and proxy clases automatically.Thanks2006/8/22, Anne Thomas Manes [EMAIL PROTECTED]:
Do you have the typemapping defined in your client, too?On 8/21/06, Srinath K
[EMAIL PROTECTED] wrote: Thanks for the response, I do have the type-mapping defined,
David-
If you are using Log4j please enable logger by placing log4j.properties on
classpath
Are you writing to either log | system.err | system.out in your web service??
M-
*
This email message and any files transmitted with it
Jira AXIS2-1061 created.
Regards,
Michele
On 18 Aug 2006, at 17:33, Deepal Jayasinghe wrote:
please create a JIRA.
Thanks
Deepal
Michele Mazzucco wrote:
Hi all,
I've got some more details: the error happens because the second
message
is sent with an empty body. The workaround is to
myws is your package?
*This
email message and any files transmitted with it contain
confidentialinformation intended only for the person(s) to whom this email
message isaddressed. If you have received this email message in
Hi
First of all. I read documentation(s) and I founded only one example how to
send an attachment using axis2. In fact, it shows only how to send an image
from file. There is no other documentation. This is not all. I noticed (maybe
I'm wrong) that in org.apache.axiom.attachments.utils package
Title: Message
yes myws is my
package
-Original Message-From: Martin Gainty
[mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 6:05
PMTo: axis-user@ws.apache.orgSubject: Re: Exception in
Axis while returning an array of objects..
myws is your package?
Can we seethe generated
WSDL?M-
*This
email message and any files transmitted with it contain
confidentialinformation intended only for the person(s) to whom this email
message isaddressed. If you have received this email
Hi all,
I'm getting confused about using axis2 with an NTLM authentication. I have to use a .NET service.
I generated the client code with WSDL2Java (Eclipse v3.2 plugin). Now I'd like to write a test client to call a service, but I'm not sure how to do it.
I can create a NTCredentials object
After much fighting, its
installed. Im not sure entirely where the problem lies, but at the
Generator and Packager are both installed. The Generator didnt get
recognized by Eclipse, until the Packager was unzipped into the Eclipse
directory. The packager didnt get recognized until an
Did you start the Axis2 Task using the -Amessize and -Mixsize
options?
Thank you,
Larry M. Lemons
(304) 726-4809 Ext. 4505
-Original Message-
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 8:28 AM
To: axis-user@ws.apache.org
Subject: [Axis2] Exception
Twoquestions:First,is there a timeframe for a release date for Axis2? If so what is it? We would like to know so we can plan accordingly.2. What are my choices other than Axis when developing web services? We would like to look them. Thank you.
Stay in the know. Pulse on the new
I've looked at the examples of calling a simple web service on the
Apache Axis website.
I've also looked at the examples of using WSS4J in conjunction with
Axis. I'm confused about how WSS4J can be used in the context of the
basic TestClient example (below). There is no specific example
Hi All,
I am getting the following error when I ran the
client:
bash-2.05b$ java
-Daxis.ClientConfigFile=client-config.wsdd -classpath
$CLASSPAT
H:. samples/stock/client/StockServiceClient IBM
Exception in thread main AxisFault
faultCode:
robert lazarski wrote:
The nightlies are working again:
http://people.apache.org/dist/axis2/nightly/
HTH,
Robert
http://www.braziloutsource.com/
On 8/21/06, robert lazarski [EMAIL PROTECTED] wrote:
I just tried this and it worked for me:
maven plugin:download -DgroupId=maven
My AXIS2 program runs very well in window environment. But, after I setup a
new Linux environment, the program doesn't work. I've successfully installed
axis2 in the Linux server and also successfuly uploaded my own axis2 .aar
package. All services are listed in the list of available services.
Hi,
I am using Axis 1.4, and I have a question regarding
WSDL2java and code generation.
I am trying to generate the code corresponding to a
union structure (see element named type in the
attached file ProbableCause.xsd).
I build the java code using the following command :
java -classpath
The FAQ should be more clear - I'm going to make a few small changes.
Maven 2 will _not_ work. Use either maven 1 or 1.1 . Also the build
was breaking last night.
The username issue I believe is because you are not in the root
directory where you did svn co.
Suggest:
1) cd yourAxis2Dir where
hello,
first time poster. ^_^ please forgive me.
i'm trying to use Axis2 to connect a Java client to a .NET service running
on IIS. if i don't require authentication i have no problem however my
group would like to use Integrated Windows Authentication (IWA) to only
allow users within a
Hi Larry,
what happened to me was inside a program using some ServiceClient
objects to send asynchronous messages. I've added the -Xmx256m as jvm
option, but I've not tested it yet.
Regards,
Michele
On 22 Aug 2006, at 14:21, Larry Lemons wrote:
Did you start the Axis2 Task using the
I am writing a client that access a webservise that provides a list of file
name by calling a 'get_file_list' method. This method returns a
get_file_listReturn of type ArrayOf_xsd_string and containing a list of
strings. Here is an example of the response soap body is as follows:
?xml version=1.0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
zolv wrote:
Hi
First of all. I read documentation(s) and I founded only one example how to
send an attachment using axis2. In fact, it shows only how to send an image
from file. There is no other documentation. This is not all. I noticed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://www.wso2.net/kb/161
Saminda
bioinfo.bw wrote:
Hi all,
I'm getting confused about using axis2 with an NTLM authentication. I
have to use a .NET service.
I generated the client code with WSDL2Java (Eclipse v3.2 plugin). Now
I'd like to
Hello All:
I apologize if I overlooked this in the archives or
documentation, but is there a way to enable automatic MTOM resolution from within
the generated server code. Thus, if there is an operation doSomething(DocumentWrapper
wrapper) where DocumentWrapper wraps a byte array, I
Mark,
Please look at this thread [1], especially the list of blockers [2].
Given that, my gut feeling is that it will take 2-4 weeks to fix all
the bugs and stabilize the code.
thanks,
dims
[1] http://marc.theaimsgroup.com/?t=11558268292r=1w=2
[2]
We are receiving a unique identifier within the incoming header and we
want to send that same unique identifier back in the response header.
How can I handle this within a module which is already processing this
header block?
Thanks in advance!
-Michael
Thank you Ruchith. The problems were gone after having
wss4j-SNAPSHOT.jar in the WEB-INF/lib.
- Wei
Ruchith Fernando wrote:
I see you are trying this with Tomcat
Please make sure you have the wss4j-SNAPSHOT.jar in the WEB-INF/lib
directory of axis2. Basically you will have to have all jars
You have tons of options for developing web services in Java:
- Every Java EE app server includes a web services framework. J2EE 1.4
requires support for JAX-RPC; Java EE 5 requires support for JAX-WS.
- Sun provides reference implementations of JAX-RPC and JAX-WS
(distributed in JWSDP or open
I didn't think that MTOM would optimize a string and send it as an
attachment. MTOM only optimizes binary data fields.
Why not just send the string as an element in the message?
Anne
On 8/22/06, Saminda Abeyruwan [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
zolv
Axis 1.x does not support union types.
On 8/22/06, John Smith [EMAIL PROTECTED] wrote:
Hi,
I am using Axis 1.4, and I have a question regarding
WSDL2java and code generation.
I am trying to generate the code corresponding to a
union structure (see element named type in the
attached file
Run java2wsdl.
Edit the generated WSDL file.
Run wsdl2java.
Deploy using the wsdlFile option.
On 8/22/06, HHDirecto. Net [EMAIL PROTECTED] wrote:
Thanks, I'm using 1.4 version.
My wsdl file is generated automatically by axis, how can I say to axis to
generate wsdl as your example?
Thankss a
Hi all,
The mystery(!) has been solved at last.
What do you expect if you deploy classes complied with JDK 1.5 into WebLogic
8.1 which runs against JDK 1.4? :)
In Eclipse, I had mistakenly selected Separate JRE: JDK 1.5 option of runtime
JRE that is used by Ant script which I used for
I am trying to connect to a dot net webservice. I created my axis2
client using axis2 code generator for eclipse but when I start running
it, it throws this exception. I am new to axis2 and dont know why it
is happening. My client with Axis1.4 is working very fine. Can anyone
guide me to the
Hello,
I am learning how to encrypt SOAP message using rampart. I followed the
instructions of rampart tutorial (rampart-tute.zip).
The sample01 and sample02 passed with Ruchith's help. Now I turned to
sample05 for the encryption. The service container used is Tomcat. I
was wondering where to
Michael,
Sometime back, I did similar thing. What you need depends on the MEP you've
selected. I assume you use:
- In-out receiver (e.g. RawXMLINOutMessageReceiver)
- MessageID of WS-Addressing as unique identifier
Could you please try followings? You may run into problems as I haven't tried
Forgot to mention that you don't need any extra work, if you use default flow
of WS-Addressing. Sender adds their MessageID to the request message and the
receiver puts incoming MessageID into the RelatesTo field of the response
message. Thus, each message has its own unique MessageID while
Ali,
Thank you for the feedback but this is outside of WS-Addressing.
Can I set this String in the inflow handler's MessageContext so it is
available by the module's outflow handler?
-Michael
On 8/22/06, Ali Sadik Kumlali [EMAIL PROTECTED] wrote:
Michael,
Sometime back, I did similar
Hi,
This is really a question to ask from the list :) Anyway I suppose
Axis2 can definitley handle the 1000 req/1 hr case and the performance
figures by Dims would be a good place to start with [1]
Ajith
[1]
http://www.wso2.net/articles/axis2/java/2006/05/17/axis2-performance-testing-round-1
May following be the answer?
Inflow handler
--
ctx.setProperty (INCOMING_UID, incomingId);
Outflow handler
--
String incomingId = ctx.getProperty (INCOMING_UID);
Regards,
Ali Sadik Kumlali
- Original Message
From: Michael Erdely [EMAIL
Good Afternoon All--
This is more than likely O/T bur Does adobe have any products which will read a SOAP
response?
Thanks,Martin --
*This
email message and any files transmitted with it contain
confidentialinformation
Hum normally in Flex you have a WebService component which ask for a wsdl ... so it seems to work with SOAP
regards,
Cedric
On 8/22/06, Martin Gainty [EMAIL PROTECTED] wrote:
Good Afternoon All--
This is more than likely O/T bur Does adobe have any products which will read a SOAP response?
The class is documented at http://ws.apache.org/axis2/1_0/api/index.html,
I've downloaded the binary Axis2 distribution but can't find it anywhere.
I am trying to convert to and from org.w3c.dom.Element and
org.apache.axiom.om.OMElement, I am surprised this process isn't well
documented.
Can
hi Anne,
Thanks for yourvaluedreply.
I appreciate it.
Could you answer mesome questions further ?
1) For options 3, How to turn off multi-refs ?
Is the multi-ref option a part of soap spec, or just a part of Axis implementation ?
2) For option 4, Use literal rather than SOAP encoding
what's
OMFactory fac = OMAbstractFactory.getOMFactory();
OMText txt = fac.createOMText(axis2);
txt.setOptimize(true);
This string is expected to be a Base64 encoded version of Binary Data.
~Thilina
...
or
byte[] array = axis2.getBytes();
DataSource dataSource = new
To turn off multi-refs, add this parameter to the WSDD:
parameter name=sendMultiRefs value=false/
This is the Axis option you use to turn off multi-refs. The resulting
message is SOAP compliant. (The SOAP spec doesn't require use of
multi-refs, and it doesn't specify how to indicate
A lot of the old Macromedia products support SOAP, including
ColdFusion, Flex, and Flash. The mx.rpc.soap package contains the SOAP
classes:
http://livedocs.macromedia.com/flex/2/langref/mx/rpc/soap/package-detail.html
JRun includes Axis 1.
I also believe that Adobe Document Server and
Hi William;
William Ferguson wrote:
Hi,
I'm finding that Java2WSDL is creating a WSDL with operation elements
for methods that have private scope in my Service class. Should it be
doing that?
hmm, as I know it should not do that , can you please create a JIRA
attaching your java class and
Hi Michele,
I'm not sure though,
once I created JIRA for freeing ServiceClient object,
and this issue seems similar to your issue.
http://issues.apache.org/jira/browse/AXIS2-528
I didn't use async API this case.
But how about using cleanup() method of ServiceClient after receiving.
Regards,
68 matches
Mail list logo