can u please try calling build() on the parent first?
thanks,
dims
On 4/16/06, Jens Schumann [EMAIL PROTECTED] wrote:
Hi all,
By accident I run into a wired issue using XMLBeans data binding: For
testing purposes I added a simple log statement in my generated InOut class
before
I am trying to invoke a web service (TraderService) deployed in web
logic server 8.1 using Axis client. It works fine whether I use stub
or dynamic invocation. Then I try to invoke the service using HTTPS. I
have already configured web logic server to enable HTTPS.
I tried the stub client using
Hi there,
I have created Java source code from WSDL, but I'm not sure how to use
this code to invoke my service, I'v attached the classes that were created
...please advice me how I can use these to interact with my Web service?
Many thanx
yasmin
AxisServletSoapBindingStub.java
Description:
Hello Yasmin,
There are several ways.
I recommend the following (JAX-RPC compatible, no dependencies on Axis
so portable across JAX-RPC compatible SOAP engines).
import javax.xml.rpc.*;
ServiceFactory sf = ServiceFactory.newInstance();
KeyAccidentService_Service service =
Hello
I am using axis 1.3 and tomcat 4.1. I am writting some java classes for my web service (server-side).
But i have some problems with Xml attribute fields (this is my third email so i am apologize for annoyance.).
my question is how can get xml element attribute value ?
Which parameters and
Hi Dies,
...for some reason I'm getting the following error message:
method service.getAxisServlet() is not found?
Please advice
thanx
yasmin
Hello Yasmin,
There are several ways.
I recommend the following (JAX-RPC compatible, no dependencies on Axis
so portable across JAX-RPC
Hi Finian ;
I am sorry that I did not look into EchoNonBlockingDualClient codes but
the engaging client side module can be done as follows;
1. You can create a configurationContext using a given repository and
that repo can have modules dir and which may have addressing module in it.
2. In the
Hi Dims,
The error goes away if I call build() on the Soap Envelope. Using build() on
the Soap Body doesn't help though.
Jens
Am 4/17/06 8:02 AM schrieb Davanum Srinivas unter [EMAIL PROTECTED]:
can u please try calling build() on the parent first?
thanks,
dims
On 4/16/06, Jens
Hi Arnaud,
I will look into it , but I am sure that deploymentClassLoader is
working child first scenario.
Arnaud Blandin wrote:
Hi Deepal,
Thanks for your answer.
This is what I thought too about the classloader mechanism. However in
my case I really have a class conflict and axis2 is using
Hi David;
If you engage a module globally you have to dis-engage the module globally.
The solution to your problem is , rather than engaging addressing
globally engage and dis-engage addressing service level.
I have tested module dis-engagement and it works perfectly :)
David Illsley wrote:
Hello,
I´m principiant with this tecnologies. I did a normal application that uses a simple web service, but when I try to use with j2me client, when I try to generate the stubs, the error is:
wsdl is not WS-I compliant ( Style is not document/literal).
I don´t know what I have to do. Could
Hi there,
When I run my client code, I get the following error message:
The AXIS engine could not find a target service to invoke! targetService
is null
Can you please advice me how I can fix this?
Many thanx
yasmin
Hi there,
When I run my client code, I get the following error message:
The AXIS engine could not find a target service to invoke! targetService
is null
Can you please advice me how I can fix this?
I have put the wsdl document in Tomcat5/webapps/axis/keyAccident2.wsdl
...not sure what I'm
Can you verify whether the service is correctly deployed in your tomcat
server?
Type the port address URL.. some thing like
http://hostip:port/webappname/services/servicename
If you can see the some message there then the service is correctly
deployed.
hmm , sometimes ago we set the module as the name specified in
module.xml , but we changed that recently (0.95) to have module name as
name of the archive file.So previously module.xml had name=logging
attribute and that become the name of the module even though actual
archive name
hi Ali
please see my inline comments
Ali Sadik Kumlali wrote:
Hi all,
Is not it allowed to define custom modules within axis2.xml, instead of
calling engageModule () method of ServiceClient?
you can define (engage) custom module in axis2.xml ,btw as far as axis2
is concern all the modules are
we do have , I mean u can jsut publish Java class into web service. But
the problem is we dont have a published API to do so (I mean using
web-admin), but programatically you can do that.
AxisService.createService(className , AxisConfiguration);
[EMAIL PROTECTED] wrote:
Hi,
is there a way to
I think it is fixed now , Axis2 1.0 RC1 is available to download , so
why dont you have a look at that :)
Hudson Robert wrote:
Hello all,
I (think) I've got an issue with the classloader in axis2-0.94
When I try and run sendReceive(request) on a ServiceClient object for
the first
Hi Deepal,
Thanks for the reply. But, as you can see my previous post, I had
already added loggingPhase in inflow. I didn't write my own code. Just
ran ClientSideModuleEngagement sample. It works without problem with
its original code. But, it gaved me the mentioned error after I;
1) Commented
Good Morning Gorka-
If someone saidall WSDLs are created equal ..keep in mind some wsdls
are *MORE* equal than othersMindreef SOAPScope will convert your WSDL to
WSIL compliant doc
Please download at
http://www.mindreef.com/products/soapscope/eval.php
Let me know if you have any
We introduced new concept of runing client inside a server :) , so what
that mean is any client running inside (say tomcat) a server can access
server's configurationContext , the advantage of this is client can use
server listeners and server properties if it requires. So in your case
when you
Good Afternoon--
What does the service specification in your wsdl specify?
Martin--
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email
Dear all,
I have deployed a couple of web services and I keep getting an exception
when calling one of them. I am calling two services. One takes as
input a String and returns a String. This one works just fine. Another one
takes as input a complex type (a Java bean) and has no return value.
This
can you please rename meta-inf to META-INF and see :)
Sebastian Szczygiel wrote:
Hi,
I've tried to develop a module (containing a handler) for Axis2 0.95.
The mymodule.mar file looks like this:
mymodule.mar
-meta-inf/module.xml
-com.dir.dir.dir.MyTestHandler.class
Please log a bug with this info.
thanks,
dims
On 4/17/06, Jens Schumann [EMAIL PROTECTED] wrote:
Hi Dims,
The error goes away if I call build() on the Soap Envelope. Using build() on
the Soap Body doesn't help though.
Jens
Am 4/17/06 8:02 AM schrieb Davanum Srinivas unter [EMAIL
Hi guys,
i fave 3 actors:
1) user that from his house go in my web-site
2) web-site that pick user's requests (client of a local net)
3) server-web with web-services (with Axis 1.3 over Tomcat 5)
I have a local net with 1 computer with the web-site (user from home on
his browser go to the ip
Hello.
I am currently using a JWS Web Service to provide an web interface to an EJB. I
know, JWS Services are simple and primitive, but it should be enough for this
simple redirection purpose.
Below is message I posted one example how I am calling the Web Service from the
client side. Now, is
You could either:
Use gzip compression:
http://wiki.apache.org/ws/FrontPage/Axis/GzipCompression
Or just do getBytes() on the string and compress the byte array:
http://javaalmanac.com/egs/java.util.zip/CompArray.html
HTH,
Robert
http://www.braziloutsource.com/On 4/17/06, Jan Krumsiek
Kemmotar,Your J2ME client tool supports a limited set of SOAP functions -- as defined by the WS-I Basic Profile. Axis generates rpc/encoded style services by default, which isn't allowed by the WS-I Basic Profile.
I assume that you are starting with Java code. In order to generate a WS-I
Per the SOAP sepcificationm Axis determines how to invoke a service based on the QName of the child element of the SOAP Body. It can also use the value of the SOAPAction as a hint. One common reason why you might get this error if you are using unwrapped document/literal and you have not specified
Attributes in your parameter elements are not permitted when using rpc/encoed. I suggest you switch to document/literal.AnneOn 4/17/06, Recep Ayaz
[EMAIL PROTECTED] wrote:
Hello
I am using axis 1.3 and tomcat 4.1. I am writting some java classes for my web service (server-side).
But i have some
Jan-
I found this article to be quite helpful on applying Base64 encoding to either
the envelope or the individual element
http://xml.sys-con.com/read/40089.htm
Martin--
*
This email message and any files transmitted with it
Hello everybody,I did a web service and a normal application that consume it. This runs ok. Now I have to do a j2me client that consume the same web service, but when I try to generate the stubs with netBeans or j2me wireless toolkit from the wsdl file that generate from wsdd file, it appears this
In the WSDD service definition, specify style=document use=literal. See http://www.oio.de/axis-wsdd/service.htm. Anne
On 4/17/06, Gorka López [EMAIL PROTECTED] wrote:
Hello everybody,I did a web service and a normal application that consume it. This runs ok. Now I have to do a j2me client that
HiThanks for answer Anne.I switch to documental/literal thensystem generate error and written at tomcat screen that :- Please register a typemapping/beanmapping for 'WSApp.Beans.TestClass'colud you give a more information ?
thanks.2006/4/17, Anne Thomas Manes [EMAIL PROTECTED]:
Attributes in your
Hi there,
I have built my client application as a standalone, but I was wondering is
it possible to use Axis with a browser_based applet?
Thanx
yasmin
Thanks for the response. I´m sorry if I send some mails, but my mail doesn´t work ok.
I try this solution. I hope I will not have any questions.
Thanks a lot, Kemmotar
On 4/17/06, Anne Thomas Manes [EMAIL PROTECTED] wrote:
Kemmotar,Your J2ME client tool supports a limited set of SOAP functions
Sure it is.
Just need to make all the libs (jars) available.
On 4/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi there,I have built my client application as a standalone, but I was wondering isit possible to use Axis with a browser_based applet?
Thanxyasmin
me again :(
...is there any real benifit of having a standalone application?
please advice,
yasmin
Sure it is.
Just need to make all the libs (jars) available.
On 4/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi there,
I have built my client application as a standalone, but I
I strongly discourage anyone from using WSIL. This spec is dead. Blue Titan, Borland, IBM, and Novell still provide grandfathered support for this spec, but it has no future. Although there's no standard for it yet, I recommend using RSS or Atom for this type of use case. James Snell wrote a great
Axis doesn't provide a default typemapping for this scenario, so you will need to define a custom typemapping.On 4/17/06, Recep Ayaz
[EMAIL PROTECTED] wrote:HiThanks for answer Anne.
I switch to documental/literal thensystem generate error and written at tomcat screen that :- Please register a
You'll find the process much easier if you start by defining your WSDL -- then generate your code and WSDD from the WSDL.AnneOn 4/17/06, Anne Thomas Manes
[EMAIL PROTECTED] wrote:
Axis doesn't provide a default typemapping for this scenario, so you will need to define a custom typemapping.
On
ehm..sorry for my english. I'm italian.
I hope in your answers. Thanx
Carmine Gargiulo has wrote:
Hi guys,
i fave 3 actors:
1) user that from his house go in my web-site
2) web-site that pick user's requests (client of a local net)
3) server-web with web-services (with Axis 1.3 over Tomcat 5)
Rhimbo,A namespace must be a valid URI. disney.dis.session is not a valid URI. You should change it to a valid URI. I notice in your code you use http://disney.dis.session
, and this is a valid URI. Axis by default converts your package name into a URI, but it isn't essential that your URI maps to
Hi everybody,
using the latest checkout axis2 I get the following exception executing
the wsdl2java tool. The same wsdl file worked fine with all the
previous axis and axis2 releases up to v0.94.
Am I doing something wrong?
I build axis2 using maven v1.1 beta2 and executing the following
After uncommenting the HTTPS section on server.xml from Tomcat,
you also need a Certificate (preferable from Verisign or Tawte)
You can create one (for testing) whit keytool from Java.
May be, You need to read articles from JSSE Extensions on Java Docs, keytool
help and the great article
from
I fixed this in the latest svn. Now META-INF is not case sensitive any
more, at least for module.xml.
-- Chinthaka
Deepal Jayasinghe wrote:
can you please rename meta-inf to META-INF and see :)
Sebastian Szczygiel wrote:
Hi,
I've tried to develop a module (containing a handler) for
I have another problem. I can create the stub, but the class han no methods. When I generate the stub with j2me wireless toolkit, it appears this warning:
warning: ignoring operation validarUsuario: more than one part in input messagewarning: Port ValidadorWS does not contain any usable
Hello Thanks for your interesting Anne.But i am a little confused.i have some question in my mind.does Axis 1.3 support xml element attribute ?if does, my SOAP message encoding style must be document/literal. does it ?
and your suggestion firstly write wsdl file and generate wsdd and class
Hello to all.
I have two Services defnied. They need to share a reference to the
Spring-ApplicationContext. Now I need to know how the communication
between two Services in a ServiceGroup can be achieved. I know I can do
this with a Singleton, but I wonder if Axis2 has some mechanism for
See http://issues.apache.org/jira/browse/AXIS2-574
Jens
Am 4/17/06 1:52 PM schrieb Davanum Srinivas unter [EMAIL PROTECTED]:
Please log a bug with this info.
thanks,
dims
On 4/17/06, Jens Schumann [EMAIL PROTECTED] wrote:
Hi Dims,
The error goes away if I call build() on the Soap
Could anyone help me with that.
I found that the stub client in fact does not work with HTTPS either. TheSSLHandshakeException happens in the stub client too.
Regards,
Xinjun
On 4/17/06, Xinjun Chen [EMAIL PROTECTED] wrote:
I am trying to invoke a web service (TraderService) deployed in
Yes -- that's correct. Axis will support attributes in any unwrapped document/literal style service. It can also support attributes in wrapped document/literal and rpc/encoded services -- but only in child elements of the parameter accessor elements -- not in the parameter accessor elements
A doc/literal WSDL may have at most one body message part. That message part must reference an element definition (rather than a type). The element must be defined in your schema in the types section. The element should be defined as a complex type containing a sequence of elements. (The elements
Make sure the XMLbeans framework jars are in your classpath.AnneOn 4/17/06, Diego [EMAIL PROTECTED]
wrote:Hi everybody,using the latest checkout axis2 I get the following exception executing
the wsdl2java tool.The same wsdl file worked fine with all theprevious axis and axis2 releases up to
All,
I am using weblogic 9's test client generator to generate a simple UI for business analysts to test the functionality of my web service. Trouble is, the WSDL file that AXIS generates causes this application to blow up with the following exception:
WsdlParseFailedException: Could not find
Axis generates rpc/encoded style services by default. The SOAP spec ifsnot entirely clear on this point, but it certainly leads to the conclusion that when using SOAP encoding, messages should use SOAP encoding types rather than the primitive XML Schema types --
e.g., the message parts are
Anne,
I did include parameter name=dotNetSoapEncFix value=true/ as a service parameter but the encoding type did not appear to change. It still looks like:
wsdl:part name=in0 type=soapenc:string/ rather than wsdl:part name=in0 type=xsd:string/.
Was there something I missed?
I am using
Hello again,
Since there haven't been any replies, yet, to this questions, I
thought I could post the relevant bit of the web service's WSDL.
Please find it below. Sorry about the long post. As I said, the
sayHello service method is working perfectly fine. It's just the one
that's using the
You haven't declared the tns1 namespace.On 4/17/06, Martin Wunderlich [EMAIL PROTECTED] wrote:
Hello again,Since there haven't been any replies, yet, to this questions, I
thought I could post the relevant bit of the web service's WSDL.Please find it below. Sorry about the long post. As I said,
style=wrapped + use=encoded is not an allowed combination. Change use to use=literal. AnneOn 4/17/06,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Anne,
I did include parameter name=dotNetSoapEncFix value=true/ as a service parameter but the encoding type did not appear to change. It still looks
I have created a service, XmlEcho, which takes a String and outputs the same
String.
I am running the service in axis2 running within an out-of-the-box local JBoss
server.
A simple Java client using the axis2 client jar(s) runs perfectly.
However, a simple C# client created by using the
Is what you're realy after is two services that are wired into Spring?
Spring-ApplicationContext already is a singleton - look at setting up a
BeanFactory.
The other way is as you show in services.xml - message recievers. I'm
actually coding one up a spring message receiver now. The idea is to
Hi All,
I have a little 'message interceptor' deployed as a service-side handler.
I can access various parts of a message passed in a 'civilised' way:
public void invoke(MessageContext msgContext){
OperationDesc opDesc = msgContext.getOperation();
First -- the parameter name=dotNetSoapEncFix value=true/ issue applies only to Axis1 using rpc/encoded. Second, your response message doesn't correspond with your WSDL. Your WSDL is telling .NET to expect a response message like this:
?xml version='1.0' encoding='utf-8'?soapenv:Envelope
Hello Martin,
Apologies in advance if the comment below is not addressing the
right question
I had to set a serializer and deserializer when passing a complex
type or when expecting a complex type as a return value from a call.
I did something like this on my call object:
QName
Hello Yasmin,
In the code that you attached to your original message you had such a
method:
public interface KeyAccidentService_Service extends javax.xml.rpc.Service {
public keyAccident2.KeyAccidentService_PortType getAxisServlet()
throws javax.xml.rpc.ServiceException;
[...]
}
I
Hi there,
I defined a web service method that takes no arguments
public MyBean getIt()
When I run my DII client I get
; nested exception is:
org.xml.sax.SAXParseException: Premature end of file.
How does a DII client specify that there are no arguments to the
API? All the
Hi again folks,
Sorry, forgot to say in my first post on this topic
I know I can call Call.invoke() but the return type is void.
Thus, how do I get the return value (my bean instance) from the
call? Is it anywhere in the Message object or MessageContext
object that I can extract from
Hi Michele ;
I am sorry for late reply.
pls see my in line comments
Michele Mazzucco wrote:
Hi all,
I would like to use the callback features, but my architecture uses a
piece of software acting like a broker to handle incoming requests:
A B
Client -- Broker
You can add your third part jars inside the service archive file as an
example if service foo require some third party lib called a.jar then
you can add a.jar into foo.aar as follows
foo.aar
MATA-INF
services.xml
lib
a.jar
David Boyer wrote:
Hey,
New user to axis. I’ve been unable to find
Hi Yang
yes Axis2 support SOAP 1.2 binding and it will automatically generate
SOAP 1.2 and 1.1 binding when you look for ?wsdl for a given service
Yang Xiang wrote:
Does Axis2.0 WSDL2Java support the WSDL1.1 Extension to SOAP1.2
binding? If so, how to tweak it to make it work?
You have to engage addressing module in the client if you are trying to
invoke a service using dual channel. You can do that as follows
1 Create a ConfigurationContext using a repository witch contains
addressing module in it
2. Then engage addressing module to ServiceCleint before invoke the
73 matches
Mail list logo