The thing is that even I changed "minOccurs" to "minOccurs=1", which I
suspect it means the corresponding element occuring at least once, but it
didn't seem to work. Or, have I missed something?
On 4/9/08, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
>
> If an element has been defined as minOccurs
What ever servlet engine it is JBoss or Tomcat or ..
Axis2 is something for Tomcat or JBoss or
so you deploy AXIS2.WAR to one of this
servlet-engines
Axis2 is a message processing engine doing all for you that you can
You can drive it even further and not only look at it as a set of operations
but real objects (instances of a classes with methods)
This depends on the AXIS2/Java session scope used and it workes for me nicely
in SCOPE=SOAPSESSION. If your class is not
static (or sigelton) AXIS2 created me afte
Hi,
I have developed a webservice in axis2.0 with ADB and JiBX technique.
Now I don't know how to validate the user input. So please
help me out with this issue if anybody has done validation with axis2.
I tried putting validate.mar file in web-inf/modules directory of axis2
and changing the se
Looks like you mentioned JBoss in your original email:) In JBoss, apps
are temporarily unpacked and run from a location like to:
\jboss\server\default\tmp\deploy\*
If you place anything into this folder, it will be cleared upon the next
restart.
From: Vinh Ng
Hi,
Make sure your .aar is packaged inside the "original" Axis2 dir/war
deployment.
I'm not sure what type of app server you're using, but if your AAR is
disappearing, then you're probably putting it inside some "runtime"
deployment of Axis2 that the server recreates each time the server
starts.
I am using Axis2 v1.3 and Rampart v1.3 on JBossAS v4.0.5 running on Java
1.6.0_03.
When a service responds with a null or empty array, my client stub (built with
"wsdl2java -uri Service.xml -p com.vegas.stub -u") creates an array with a
single, null element.
That is, a SOAP response like this:
I don't know what I did differently, but this is not the case for me. When I
was using AAR deployment, bouncing JBoss would never un-deploy my AARs.
From: Dennis Sacks [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 4:45 PM
To: axis-user@ws.apache.org
Su
Great info! Thanks for alerting me to that.
Does anyone know however, if I do want to use the axis2 web application, is
there a way to make a deployed service persist through an application server
restart?
Now, when I bounce JBoss, I must reload my webservice .aar file, as the
service is no longe
Dennis,
Here's a KB article that I used to learn to deploy Axis2 as part of my web
application under JBoss:
http://wso2.org/library/90
Regards,
Nate Roe
From: Dennis Sacks [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 3:06 PM
To: axis-user@ws.apache.o
Hi,
I'm curious how people typically deploy axis2 web services? Does everyone
install the axis2 web application and deploy using that? Are there other
options?
When I stop and restart JBoss (the app server I'm using), I have to upload
my web service into the axis2 web application again. Is there
Thanks for still being here Alberto :-)
Even though you provided fictitious data for the sample code, that
fictitious data should be included in the resulting SOAP request, but it is
not, and I can't figure out why (and am hoping you can point me in the right
direction). Here's the SOAP request
That made the errors disappear.
Thanks so much for the tip!
Lawrence Mandel <[EMAIL PROTECTED]> wrote: I think you're seeing these errors
because you haven't specified the name
attribute on your binding input and output elements.
For example,
...
/>
message="tns:avail
Julio-
verify manageTransportSession in axis2.xml
true
You can also check the value Programatically with Options from the
ServiceClient as seen here..
ServiceClient sender = getClient("RequestCounter",
"getRequestCount");
sender.getOptions().setManageSession(true);
Mart
Hi,
Copy the webservice file for example, yourwebservice.aar file in the
below folder and add an entry in the file services.list & restart the
weblogic server.
\bea\user_projects\domains\devdomain\applications\axis2\WEB-INF\services
Regards,
Peter Rajesh
F
Hi Ehlan,
You need to make an entry for the service in WEB-INF\server-config.wsdd
Thanks,
Vikas
On Tue, Apr 8, 2008 at 10:42 AM, <[EMAIL PROTECTED]> wrote:
> Hi
> I am very new to axis and web services, I apologize if my question is very
> basic.
>
>
>
> I would like to have my axis service d
It's good you could fix your problem
Now, garbage in garbage out... the values I set in the source code
were ficticius, I don't know what values should be send to the web
service
On Tue, Apr 8, 2008 at 10:03 AM, Jacques46 <[EMAIL PROTECTED]> wrote:
>
> Turns out I was missing a couple of jars in
Hi
I am very new to axis and web services, I apologize if my question is
very basic.
I would like to have my axis service deployed to weblogic appserver
automatically when the war/ear file is deployed. Without having to run
the axis-admin script in my ant.
Any help appreciated.
Thanks
I am looking to access to a Web Service hosted by Axis2 (it is running under
Weblogic)
When I access using http it is all ok. But when I try to access using https
I get "Transport error: 403 Error: Forbidden"
I need authenticate the client with a certificate and the webservice is
asking the clie
Anne,
Thank you for looking at my issue.
I added that namespace (I tried both the and ) and it
still does not generate the xml:id attribute in the objects.
-Ryan
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 8:33 AM
To: axis-user@ws
I think you're seeing these errors because you haven't specified the name
attribute on your binding input and output elements.
For example,
...
...
...
http://ws.myco.com/imagecheck";
style="document" />
Hello guys,
Does Axis2 1.4 support rpc/encoded WSDLs?
I am able to deploy a service aar with a custom rpc/encoded WSDL but I could
not invoke it successfully, so I decided to just ask you whether
this is officially supported.
I noticed that Axis2 is converting the rpc operations to doc/literal wr
Turns out I was missing a couple of jars in the classpath.
I'm now at the point where I know that I'm actually sending requests to the
Betdaq server and receiving responses...
The exception I'm getting now is:
org.apache.axis2.databinding.ADBException: Unexpected subelement
ListTopLevelEventsRe
Below is the output.
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
R2718: A wsdl:binding in a DESCRIPTION MUST have the same set of
wsdl:operations as the wsdl:portType to which it refers.
- Operation 'imageCheck' on portType 'imageViewPortType' from namespace
'http:/
Hi All,
I have a doubt regarding the packaging structure of the classes used for
a service in Axis. I always get some sort of problem (depending on the
data binding I use) when I have the following packaging structure.
Suppose interface A is exposed as the service.
Class 'B' is the class object t
Please provide the specific error(s).
Anne
On Mon, Apr 7, 2008 at 1:17 PM, Jack Sprat <[EMAIL PROTECTED]> wrote:
> I have a WSDL that passes WS-I basic profile validation when run from the
> latest version of soapUI. I have a partner using .Net to consume the
> service that gets an error when tr
You need to also declare the "xml" namespace prefix:
xmlns:xml="http://www.w3.org/XML/1998/namespace";
Anne
On Mon, Apr 7, 2008 at 1:44 PM, McCullough, Ryan
<[EMAIL PROTECTED]> wrote:
>
>
>
>
> In my wsdl, I am importing an xsd schema file. That xsd file has an import:
>
>
>
>
>
If an element has been defined as minOccurs="0", and you have no
occurrences, then there should be no elements in the message. Is that
what you mean by "drops the array"? If you define an element to wrap
the array, then that element should still be there, but Axis2
typically doesn't define an eleme
Perhaps your senior architect is confusing "operation" with
"interface". WSDL 2.0 limits a service (i.e., the thing described by
the WSDL) to a single interface. An interface can expose multiple
operations, though. The WSDL 2.0 "interface" is equivalent to a WSDL
1.1 "portType". I disagree with the
Hi,
Could you go through all the destinations in JBoss and see where Axis2
service is listening. If there are no errors in the Axis2 console, it should
be listening in somewhere :-).
Isolate the service and the JBoss. Don't start anything else.
Go to http://localhost:8080/jmx-console/.
Go to jboss
Hi All
Sorry confusing title earlier . My Query is regarding Sandesha2 usage
I am already have running implementation of WS generated from WSDL. and
Client use OperationClient instead of ServiceClient as I need to send
Soap with attachment messages. Now I am trying to add reliability for my
Hi Upul,
the queue seems to be correct. There are also messages in. But nobody
listens to the queue. I found a bug report for Axis2 version 1.1.1
http://issues.apache.org/jira/browse/AXIS2-1488
Therefore I tried the patch given (for AxisServlet.java). Now I get the
following error message in t
Hi folks,
I am very new to AXIS and web services and since I find it extremely
difficult to find a solution via Google, I am hoping that somebody can
answer my very simple question.
I am using Axis2 1.3, Tomcat 5.5 and Java 6_04.
I created a POJO with one method. The method's parameter acc
i am trying to launch webservice in tomcat 4.1 and placed my jars in
web-inf/lib folder but it seems that it is unable to read the jars and it is
still searching the required class files from the web-inf/classes folder. It
says AccessControlException: access denied to the classes directory. Is
the
Thanks Paul.
I agree with you totally, and I just wanted to confirm my suspicion.
Thanks,
Nadeem
-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 12:21 PM
To: axis-user@ws.apache.org
Subject: Re: WS Best Practice
Nadeem
I'm surprised
Thanks Paul.
I agree with you totally, and I just wanted to confirm. I was also
surprised when I heard this from a senior architect.
Thanks,
Nadeem
-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 12:21 PM
To: axis-user@ws.apache.org
S
Nadeem
I'm surprised you've been told that. I don't believe in that
philosophy. I think a service should group a set of related
operations. In general, the services I've seen that have one operation
are usually of the form:
submit(xsd:Any)
The problem with this model is that it reverts to the mo
Henry,
Try using basic objects (strictly-typed POJOs) and object arrays, and
stay away from Java-specific types and generalized collection types.
For example, you could use an array of:
public class MyHashEntry {
String key;
MyObject value;
...
}
Also, generalized coll
Gabriel Landais a écrit :
I'll try that way, many thanks.
Just as a notice, I use javassist to generate POJO proxies to meta
services, it works great!
It works, thanks.
--
Gabriel <[EMAIL PROTECTED]>
http://www.codelutin.com
tel : 02 40 50 29 28 / fax : 09 59 92 29 28
-
Thilina Gunarathne a écrit :
Hi,
(org/apache/axis2/deployment/axis2_default.xml). In this file the
"enableMTOM"
is set to false, therefore the server does not MTOM-ize the response.
This is the engine-wide configuration.. Actually it's possible to
enable/disable MTOM/SwA per operation
I have recently heard that one operation (method/function) per service
(WSDL) is a best practice for SOA/web services.
Can anyone corroborate this?
I can see it being cleaner at the WSDL level, but as you expand your
service offerings it will be a maintenance/client headache with dozens
of W
41 matches
Mail list logo