[ANN][Axis2] Axis2 book and training course available

2007-05-02 Thread Thilo Frotscher



==
Axis2 book
==
I am pleased to announce that our new Axis2 book was published
last week. It contains nearly 600 pages and covers all aspects
of Web Service development using Axis2. Topics include:

- Web Service fundamentals (SOAP, WSDL, Code-First vs. Contract-First)
- First steps (installation, basic concepts of Axis2, POJO services,
  simple clients)
- Developing applications with Axis2 and Eclipse (plugins, tools,
  service debugging)
- AXIOM
- Contract-First with Axis (code generation, implementing and
  deploying services)
- Axis2 Client API
- Synchronous, asynchronous and one-way communication
- Error handling
- Service lifecycle
- Session handling
- REST
- Axis2 architecture and configuration guide
- Message flow and internal message processing
- Understanding flows and phases
- Description Hierarchy and Context Hierarchy
- Developing handlers and modules
- XML Data Binding (fundamentals, ADB, XMLBeans, JiBX, JAXB, JaxMe)
- Custom Message Receivers
- Axis2 & Groovy
- Deploying EJBs as Web Services
- Spring integration
- MTOM & SwA
- Transport protocols (HTTP, SMTP, TCP, JMS)
- Support for WS-* extensions (WS-Addressing, WS-Policy, WS-Security,
  WS-ReliableMessaging)


The book details are:

Title: Java Web Services mit Apache Axis2
Authors: Thilo Frotscher, Marc Teufel, Dapeng Wang
Publisher: entwickler.press
ISBN-10: 3935042817
ISBN-13: 978-3935042819

At this stage the book is available in German language only. It can
be ordered at your favourite book store. A translation to English is
planned and we will let you know as soon as more information is
available regarding the publication date. If you are seeking in-depth
information about Axis2 in English language *now*, there's a training
course available. Please see below.


=
Axis2 training course
=
I am also offering a recently updated Axis2 training course (English or
German language), which covers all the above topics and is normally 3 to
4 days long. However, the agenda is fully customizable and not fixed. This
means that you can decide which topics you would like to cover and combine
these topics to create your own custom Axis2 training course. All trainings
include numerous practical exercises and are held in your premises.

I am currently planning the schedule for the second half of 2007 and there
are still some dates available. So if you are interested in booking an Axis2
training course or just like to get some more information about topics and
prices, please send an email to [EMAIL PROTECTED] or check here:

http://www.frotscher.com/axis2-training.html

Please note: At this stage the training course is available in Asia, Europe,
Australia and New Zealand only.

---
        Thilo Frotscher

 Software Architect & Trainer

   www.frotscher.com
---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Parameter httpFrontendHostUrl

2007-02-21 Thread Thilo Frotscher


Sorry, I still don't quite understand this. Could you please
go into a little bit more detail?

What do you mean with "a frontend host which exposes a webservice"?
What do you mean with "autodetected url"?
Where and when would it be overwritten?

Thanks a lot!
Thilo


Davanum Srinivas wrote:

If you have a frontend host which exposes this webservice using a
different public URL, then use this parameter to override autodetected
url

-- dims

On 2/15/07, Thilo Frotscher <[EMAIL PROTECTED]> wrote:


Any hints?

Thanks,
Thilo


Thilo Frotscher wrote:
>
> Hello,
>
> can you please point me to some documentation for this parameter?
> I can't find out what exactly it is used for.
>
> Thanks,
> Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Reopened: (AXIS2-1862) Eclipse Code Gen Wizard: Option "Generate All" broken

2007-02-21 Thread Thilo Frotscher (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thilo Frotscher reopened AXIS2-1862:



The second issue I reported in my second post on 11/Dec/06 04:09 PM is still 
not fixed in Code Generator 1.2.1
Apparently the plugin tries to write temp files into the Eclipse installation 
folder. This is not possible on many
machines where you  need admin rights for write access to "C:\Program files". 
The plugin should write temp
files into the project folder or somewhere else where write access is 
guaranteed.


> Eclipse Code Gen Wizard: Option "Generate All" broken
> -
>
> Key: AXIS2-1862
> URL: https://issues.apache.org/jira/browse/AXIS2-1862
> Project: Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.1
> Environment: Axis2 1.1, Axis2_Codegen_Wizard_1.2.0
>Reporter: Thilo Frotscher
> Assigned To: Lahiru Sandakith
>
> If option "Generate all" is selected, the wizard only generates client side 
> code.
> Normally I wouldn't call this a blocker, but I think it should definitely be 
> fixed for 1.1.1
> Thanks,
> Thilo

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Parameter httpFrontendHostUrl

2007-02-15 Thread Thilo Frotscher


Any hints?

Thanks,
Thilo


Thilo Frotscher wrote:


Hello,

can you please point me to some documentation for this parameter?
I can't find out what exactly it is used for.

Thanks,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Parameter httpFrontendHostUrl

2007-02-12 Thread Thilo Frotscher


Hello,

can you please point me to some documentation for this parameter?
I can't find out what exactly it is used for.

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Parameter load-on-startup

2007-02-11 Thread Thilo Frotscher


Hello,

The documentation of Axis2 1.1.1 mentions the parameter
load-on-startup and even calls it a "must-have". However
it seems to me that this parameter is now obsolete. I
can't find any references to this parameter in the code.

Can you please clarify if this parameter can still be used
or if the documentation is out-of-date in regard to this?

Thanks,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Proposal: Better support for client-side configuration

2007-01-24 Thread Thilo Frotscher


Hi,

I just encountered the problem that there is no way in Axis2 to
define a service-based or operation-based configuration for
Rampart on the client side.

Consider a situation where you want to develop a client application
that needs to communicate with multiple services or multiple
operations, and these have different security requirements.
In such a case you'll have to create a set of axis2.xml files,
load all of them into multiple configuration contexts, and then
juggle these contexts before and after sending messages. This is
very inconvenient.

Therefore I'd like to propose an extension of the client-side
configuration, so that service-based and operation-based configuration
is possible for clients. This was possible with Axis 1.

Also, I think it's quite confusing for beginners that the same axis2.xml
file is used for client app as well as for the Axis2 web application
(as for example in the code samples). Parameters that only apply to
the server side should either be grouped and clearly marked, or there
should be two different axis2.xml files: one for the client side and
one for the server side (as in Axis 1). I do recognize though, that
many parameters are needed on both sides, as client applications
can also start listeners an act as servers etc. and services can send
messages (i.e. be clients).

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Rampart] Client-side configuration for specific operation

2007-01-23 Thread Thilo Frotscher


Hi!

Does anyone have information on this issue, please?

Thanks,
Thilo


Thilo Frotscher wrote:


Hello,

On the server side, Rampart configuration is done in service.xml.
In this file, you can specify the behavior of Rampart either for
the entire service or for a specific operation, depending on
where in the file you insert the configuration.

I wonder how an operation-based configuration of Rampart can be done
on the client side. For example, I want that my client application
uses different Rampart configurations for service operation A and B.

The only options for client configuration I know are the following:

1) Insert parameters in axis2.xml of the client's repository.
   -> This however means that the configuration is global, i.e. for all
   services and all operations. Is there a way to configure a different
   Rampart behavior for a particular service or operation in the client's
   axis2.xml file?

2) Load specific configuration using ConfigurationContextFactory
   -> This way I can load a different configuration per Stub or 
ServiceClient,
   i.e. per service, but again I can't configure Rampart based on 
operations,

   just for the entire service.

3) Use code to configure Rampart on client-side
   (classes OutflowConfiguration, InflowConfiguration)
   -> same problem like with 2)

The only solution I could think of is to load my ServiceClient with
a different set of options, depending on the operation I will invoke
next. This doesn't sound very appealing to me. Is there another way?

Any hints are very welcome.

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



PolicyDetermination phase

2007-01-19 Thread Thilo Frotscher


Hi!

Is PolicyDetermination phase a "system pre-defined" phase
or a "user-defined" phase? The admin frontend displays it
as "user-defined", but the configuration file axis2.xml
from the Axis2 1.1.1 release indicates the contrary:













From what the phase name indicates, it seems to me it should
be a system pre-defined phase, i.e. it should always run,
irrespective of the service.

Also, I wonder what the exact purpose of this phase should be.
Can you please shed some light on this?

Thanks,
Thilo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-2004) Display module description in admin frontend

2007-01-18 Thread Thilo Frotscher (JIRA)
Display module description in admin frontend


 Key: AXIS2-2004
 URL: https://issues.apache.org/jira/browse/AXIS2-2004
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: admin console
Affects Versions: 1.1
 Environment: Axis2 1.1
Reporter: Thilo Frotscher
Priority: Trivial



In module.xml you can define a textual description to explain the purpose of a 
module.
It would be nice if this description was displayed in the admin console, on 
page "Available Modules".


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Request to set AXIS2-1643/AXIS2-1955 to "Blocker"

2007-01-14 Thread Thilo Frotscher


Hi guys,

in the current situation, Rampart cannot handle SOAP faults when
using SOAP 1.1. I know that it works with SOAP 1.2, but as SOAP 1.1
is still widely used, this is IMHO a big blocker. I think it is
essential for a security module that it can handle faults properly.

Wouldn't this be a nice feature for Axis2 1.1.2? :-)

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Rampart] Where can I find an example for SAML?

2007-01-08 Thread Thilo Frotscher


Well, how did you test your code :-)
Isn't there anything anywhere?



Dimuthu Leelaratne wrote:

Hi Thilo

I don't think we have a sample yet.

Rgds,
Dimuthu


On 1/8/07, Thilo Frotscher <[EMAIL PROTECTED]> wrote:


Hello,

Where can I find a working example for SAMLTokenSigned and
SAMLTokenUnsigned, please?

Thanks,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1955) Rampart 1.1 causes ClassCastException

2007-01-08 Thread Thilo Frotscher (JIRA)
Rampart 1.1 causes ClassCastException
-

 Key: AXIS2-1955
 URL: https://issues.apache.org/jira/browse/AXIS2-1955
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: modules
Affects Versions: 1.1
 Environment: Axis2 1.1, Rampart 1.1
Reporter: Thilo Frotscher
Priority: Blocker



When a client application uses Rampart 1.1 and receives a SOAP response that 
contains a SOAP fault, a ClassCastException occurs:

Exception in thread "main" java.lang.ClassCastException: 
org.apache.axiom.om.impl.llom.OMElementImpl
at 
org.apache.axiom.soap.impl.llom.SOAPFaultImpl.getCode(SOAPFaultImpl.java:101)
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
at 
de.axishotels.booking.service.MyServiceStub.MakeXXX(MyServiceStub.java:729)

To reproduce this bug do the following:
- use a generated stub for an arbitrary service
- let stub send a SOAP request to the service which causes a response 
containing a SOAP fault
- the SOAP fault should be processed by Axis2 framework and stub without errors
- now, globally engage rampart-1.1 in client's axis2.xml configuration file. No 
actions need to be defined for any service or operation. Just engage the module.
- resend the same SOAP request
- when SOAP fault is processed, the above exception occurs

==> Rampart 1.1 breaks handling of SOAP faults by generated stubs


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Rampart] Where can I find an example for SAML?

2007-01-07 Thread Thilo Frotscher


Hello,

Where can I find a working example for SAMLTokenSigned and
SAMLTokenUnsigned, please?

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Rampart] Cumbersome library dependencies

2007-01-07 Thread Thilo Frotscher


Hi!

If you want to make use of password callback classes, these always
depend on org.apache.ws.security.WSPasswordCallback, because the
Callback instances which are passed into the handle() method have
to be cast. WSPasswordCallback is contained in WSS4J, which depends
itself von XML Security.

This means, that when you develop client applications, you have to
have WSS4J and XML Security in your classpath. The same is true for
the server side: you must copy both JAR files to axis2/WEB-INF/lib,
otherwise your servlet container reports a ClassNotFoundException
for WSPasswordCallback.

What I don't understand about this is that the Rampart module actually
contains these jars. Why do I have to add them a second time to my
client project and/or Axis2 web application. Why can't Rampart use
the JARs in its own module archive?

Am I missing something?

Thanks,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1950) "Edit Service Parameters" broken for operation parameters

2007-01-07 Thread Thilo Frotscher (JIRA)
"Edit Service Parameters" broken for operation parameters
-

 Key: AXIS2-1950
 URL: https://issues.apache.org/jira/browse/AXIS2-1950
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: admin console
Affects Versions: 1.1
 Environment: Axis2 1.1
Reporter: Thilo Frotscher


I specified the following parameter in service.xml:

http://www.w3.org/2004/08/wsdl/in-out";>
  
http://example.com/booking/service/CheckAvailability

  

Timestamp
true

  
   

If I try to edit this parameter using the "Edit Service Parameters" page of the 
admin console, the HTML is broken. This is the HTML code that is generated for 
the input field:

 
 InflowSecurity
 

Timestamp

true

  "
   name="CheckAvailability_InflowSecurity" size="50">
   
 

Obviously the opening and closing tags of the element  should be 
removed. All that belongs into the value attribute is .
Also, quotation marks must be escaped if the Rampart configuration contains any 
XML attributes.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Rampart] Client-side configuration for specific operation

2007-01-07 Thread Thilo Frotscher


Hello,

On the server side, Rampart configuration is done in service.xml.
In this file, you can specify the behavior of Rampart either for
the entire service or for a specific operation, depending on
where in the file you insert the configuration.

I wonder how an operation-based configuration of Rampart can be done
on the client side. For example, I want that my client application
uses different Rampart configurations for service operation A and B.

The only options for client configuration I know are the following:

1) Insert parameters in axis2.xml of the client's repository.
   -> This however means that the configuration is global, i.e. for all
   services and all operations. Is there a way to configure a different
   Rampart behavior for a particular service or operation in the client's
   axis2.xml file?

2) Load specific configuration using ConfigurationContextFactory
   -> This way I can load a different configuration per Stub or ServiceClient,
   i.e. per service, but again I can't configure Rampart based on operations,
   just for the entire service.

3) Use code to configure Rampart on client-side
   (classes OutflowConfiguration, InflowConfiguration)
   -> same problem like with 2)

The only solution I could think of is to load my ServiceClient with
a different set of options, depending on the operation I will invoke
next. This doesn't sound very appealing to me. Is there another way?

Any hints are very welcome.

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Rampart 1.1 Released

2006-12-27 Thread Thilo Frotscher


Hello,

I have several questions about Rampart 1.1.


* rampart-1.1.mar
* This provides support for WS-Security and WS-SecureConversation
features. 


Where can I find samples or documentation for WS-SecureConversation?



rahas-1.1.mar
  This module provides the necessary components to enable
SecurityTokenService functionality on a service.


Where can I find samples or documentation on how to use this?



Apache Rampart 1.1 introduces a new configuration model based on
WS-Policy and WS-Security Policy and it is important to note that Apache
Rampart 1.0 style configuration is now deprecated and will not be
available in next major version.


The samples contained in Rampart 1.1 still seem to use the old
configuration style... Where can I find samples or documentation
for the new policy-based configuration?

It is fantastic that you implemented all this. But without any documentation
hardly anyone will be using it.

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1915) Service lifecycle method shutDown() is invoked twice

2006-12-26 Thread Thilo Frotscher (JIRA)
Service lifecycle method shutDown() is invoked twice


 Key: AXIS2-1915
 URL: http://issues.apache.org/jira/browse/AXIS2-1915
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.1
 Environment: Axis2 1.1
Reporter: Thilo Frotscher


When the Axis2 web application is shut down, the service lifecycle method 
shutDown is invoked twice. 
Note: this happens only if the service was deactivated and then reactivated 
using the administration frontend!

So, to reproduce this do the following:
- deploy service with a service lifecycle class
- startup Axis2 web application
- lifecycle method startUp() is invoked
- use admin frontend to deactived the service
- reactivate the service
- shut down Axis2 web application
- lifecycle method shutDown() is invoked twice!

At another note: it seems to me that SimpleHTTPServer has problems loading 
service lifecycle classes. My service archive (aar) works fine in Tomcat, but 
when I try to use it with SimpleHTTPServer I get a ClassNotFoundException 
because SimpleHTTPServer can't find my service lifecycle class... It's 
definitely the same aar file...

Thanks.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Locked parameters

2006-12-18 Thread Thilo Frotscher


Does anyone have any information on this, please?

Thanks,
Thilo

Thilo Frotscher wrote:


Hello,

Could someone please explain:

- What exactly does it mean if a parameter is *locked*?
- Which ways exist to change a parameter that is *unlocked*?

Thanks,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Locked parameters

2006-12-17 Thread Thilo Frotscher


Hello,

Could someone please explain:

- What exactly does it mean if a parameter is *locked*?
- Which ways exist to change a parameter that is *unlocked*?

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1880) WSDL2Java should make less changes in WSDL document

2006-12-17 Thread Thilo Frotscher (JIRA)
WSDL2Java should make less changes in WSDL document
---

 Key: AXIS2-1880
 URL: http://issues.apache.org/jira/browse/AXIS2-1880
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
 Environment: Axis2 1.1
Reporter: Thilo Frotscher
Priority: Minor


WSDL2Java creates a copy of the original WSDL document. This copy contains many 
changes to the orginal. Some of these modifications are very helpful, like
- addition of SOAP 1.2 binding
- addition of Action attributes for WS-Addressing 

Other modifications are unnecessary and shoud be avoided, like:

- changed order of attributes and elements
- changed values of "name" attributes
- addition of namespaces that are not always needed (e.g. mime)

Thanks,
Thilo


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] WSDL2Java option -u

2006-12-11 Thread Thilo Frotscher


Hi!

Dennis Sosnoski wrote:

The -u option is only meaningful for ADB


Shouldn't it be -Eu then? Or are there any other data binding
frameworks this option can be used with?

> where I believe it controls whether the classes are organized into
> separate .java source files (as opposed to all globbed together).

Got that now, thanks. In addition to this, -u results in a Java
interface which is implemented by the generated stub class. While
such an interface can be useful, I can't see how its generation
relates to actual meaning of this option. Is the interface generation
an accidental feature perhaps that should actually have its own
option?

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] More questions on WSDL2Java options

2006-12-11 Thread Thilo Frotscher



Think of it as this. The skeleton is not dependant on any Axis2
Specific libraries (unless you use either ADB or no databinding - even
in the ADB case the helper mode will cause plain java beans to be
generated with no traces of Axis2 specifics). 


How can you use the Helper Mode with WSDL2Java?  The relevant section in
the documentation is empty (or white characters on white background :-))
-> http://ws.apache.org/axis2/1_1/adb/adb-advanced.html#helper


If you do have a Axis1
skeleton already written then you can actually just place that class
and make it work in this case (perhaps with minor modifications but no
big changes that span the whole set of generated classes)


If I don't use ADB or AXIOM, the remaining options would be XML Beans,
JiBX, JaxMe or JAXB-RI. However these were not exactly the most popular
options for XML data binding with Axis 1.x :-)

Sorry, I still don't see how I could easily re-use an Axis 1.x skeleton.
If I use the normal RPCProvider or MsgProvider with Axis 1.x, these would
pass either POJOs into my service methods or DOM objects. So this is how
my method signatures would look like in an Axis 1.x skeleton. I don't
understandhow I should use/configure the WSDL2Java that comes with Axis2,
so that it generates a MessageReceiver which either passes POJOs or DOM
objects into a skeleton.

Thanks,
Thilo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] More questions on WSDL2Java options

2006-12-11 Thread Thilo Frotscher


Hi!


-em: this is to specify an external mapping file. For what kind
of mapping?


External databinding mappings. There has been numerous cases where
users wanted to use the classes they already have (say the XMLBeans
classes they've already generated seperately) rather than codegen
generating them. The mapping file is an xml file in the following
format


   
 localName
 type
 



Which are the valid values for the attribute "dbf"?
adb, xmlbeans, jaxme, jibx, jaxbri?

What happens if the properties of the existing classes don't match
the datatypes defined in XSD. Does the code generator check that?



- uw: switches on unwrapping. Of What? Does this refer to wrapped
SOAP message style? Where can I find an example?


I guess Dennis gave a good explanation of this. ADB unwrapping indeed
works but it may 'glitch'  in some extreme cases. Anyway the
noticeable change for the user is the change in the method signature.


Just to make sure that I got this right: this option is about the
method signatures in the classes, *regardless* of the SOAP message
style that is used. Or does this option only apply if a particular
SOAP message style is used?

If this option is for ADB only, shouldn't it be -Euw instead?



-b: I can see what this option is doing, but what is the actual
purpose of it??


Backward compatibility flag. This basically drills down to the naming
of the classes that are generated. When the flag is on, the generated
class names are compatible with the Axis 1.x style ( that is why its
called backward compatible flag :))


Yes, the classnames look more like Axis 1.x. But they are still dependent
on Axis2 libs. So why would I want to use this option? Can you give an
example when this is needed, please.

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1862) Eclipse Code Gen Wizard: Option "Generate All" broken

2006-12-11 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1862?page=comments#action_12457516 ] 

Thilo Frotscher commented on AXIS2-1862:


The option "CREATE A JAR FILE OF CODEGEN RESULT PROJECT AND ADD TO RESULTED 
PROJECT LIB FOLDER" doesn't doesn't work either. I get the following error 
message:

An error occurred while completing process - java.lang.InterruptedException:
C:\Program 
Files\Eclipse-WTP-1.5.0\codegen\codegen_temp_src_1165881833171\build.xml
(The system cannot find the path specified)

This seems to be true, because I don't think that the Eclipse process has 
permission to create the subfolder "codegen" in " C:\Program 
Files\Eclipse-WTP-1.5.0" on my machine, because I'm running Eclipse as a 
non-admin user. Therefore this folder can't be found afterwards. 


> Eclipse Code Gen Wizard: Option "Generate All" broken
> -
>
> Key: AXIS2-1862
> URL: http://issues.apache.org/jira/browse/AXIS2-1862
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.1
>     Environment: Axis2 1.1, Axis2_Codegen_Wizard_1.2.0
>Reporter: Thilo Frotscher
>Priority: Blocker
>
> If option "Generate all" is selected, the wizard only generates client side 
> code.
> Normally I wouldn't call this a blocker, but I think it should definitely be 
> fixed for 1.1.1
> Thanks,
> Thilo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Blockers for Axis2 1.1.1

2006-12-11 Thread Thilo Frotscher


And AXIS2-1609 should be fixed in 1.1.1, too.



Davanum Srinivas wrote:

Team,

I can see 3 blockers for a possible release/cut off the 1.1 branch.
Can we please fix these and get a 1.1.1 release out?

AXIS2-1851   Null pointer exception when using the WSDL2Java tool
AXIS2-1564   Incoming SOAPFault on client side flows though InFlow
*and* InFaultFlow
AXIS2-1854   Need to package and ship JAXB2-RI data binding

Are there any other bugs that need to be upgraded to blockers for
1.1.1 release? Please add your comment to the specific JIRA issue that
you need to mark as blockers or upgrade the bugs to blockers if you
already have karma to do so.

thanks,
dims



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Blockers for Axis2 1.1.1

2006-12-11 Thread Thilo Frotscher


Hi!

IMHO AXIS2-1862 should be fixed for 1.1.1 as well.

Thanks,
Thilo


Davanum Srinivas wrote:

Team,

I can see 3 blockers for a possible release/cut off the 1.1 branch.
Can we please fix these and get a 1.1.1 release out?

AXIS2-1851   Null pointer exception when using the WSDL2Java tool
AXIS2-1564   Incoming SOAPFault on client side flows though InFlow
*and* InFaultFlow
AXIS2-1854   Need to package and ship JAXB2-RI data binding

Are there any other bugs that need to be upgraded to blockers for
1.1.1 release? Please add your comment to the specific JIRA issue that
you need to mark as blockers or upgrade the bugs to blockers if you
already have karma to do so.

thanks,
dims



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1862) Eclipse Code Gen Wizard: Option "Generate All" broken

2006-12-11 Thread Thilo Frotscher (JIRA)
Eclipse Code Gen Wizard: Option "Generate All" broken
-

 Key: AXIS2-1862
 URL: http://issues.apache.org/jira/browse/AXIS2-1862
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: ide plugins
Affects Versions: 1.1
 Environment: Axis2 1.1, Axis2_Codegen_Wizard_1.2.0
Reporter: Thilo Frotscher
Priority: Blocker



If option "Generate all" is selected, the wizard only generates client side 
code.
Normally I wouldn't call this a blocker, but I think it should definitely be 
fixed for 1.1.1

Thanks,
Thilo



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] More questions on WSDL2Java options

2006-12-11 Thread Thilo Frotscher


Thanks Dennis.
Does anyone have any information about the other options?


Thilo Frotscher wrote:
>
> -r: specifies the repository against which the code is generated...
> What effect does this have on the result? When would this be
> useful or what's the use case?
>
> -em: this is to specify an external mapping file. For what kind
> of mapping?
>
> - uw: switches on unwrapping. Of What? Does this refer to wrapped
> SOAP message style? Where can I find an example?
>
> -b: I can see what this option is doing, but what is the actual
> purpose of it??
>
> I also found that the official User Guide documents different sets
> of options for the command-line tool and the Ant task. Both sets
> are again different from the set of options that is diplayed in
> the usage information when invoking WSDL2Java at the command-line.
> This should be consolidated.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1636) WSDL2Java: option -uri works different for WSDL 1.1 and 2.0

2006-11-07 Thread Thilo Frotscher (JIRA)
WSDL2Java: option -uri works different for WSDL 1.1 and 2.0
---

 Key: AXIS2-1636
 URL: http://issues.apache.org/jira/browse/AXIS2-1636
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: codegen
Affects Versions: 1.1
 Environment: Axis2 1.1 RC2
Reporter: Thilo Frotscher


If using a WSDL 1.1 document, the option -uri can point to local files, e.g.

wsdl2java -uri xxx.wsdl -ss -sd -g -wv 1.1
wsdl2java -uri ./wsdl/xxx.wsdl -ss -sd -g -wv 1.1

This does not work if using WSDL 2.0 documents. In this case, it seems like the 
WSDL document must be loaded from a HTTP server.

wsdl2java -uri xxx.wsdl -ss -sd -g -wv 2.0 (FAILS)
wsdl2java -uri ./wsdl/xxx.wsdl -ss -sd -g -wv 2.0 (FAILS)
wsdl2java -uri http://example.com/xxx.wsdl -ss -sd -g -wv 2.0 (WORKS)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2]WSDL2Java Code generation option

2006-11-07 Thread Thilo Frotscher



Hi!

- Will Tom's or Sanjiva's suggestion be implemented for Axis2 1.1?

- Can you please explain to me what the option -u is all about?
  The only difference it seems to make is that an interface XXXService is
  generated and the Stub class contains an additional "implements XXXService"
  Why is this option called "unpacks databinding classes"?

Thanks,
Thilo


Tom Jordahl wrote:

+1 for Sanjiva's suggestions:
 -c client side
 -s server side
 -t test case generation.

I think -a should be for "all", but I assume it is in use already?


--
Tom Jordahl
Adobe ColdFusion Team

-Original Message-
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 09, 2006 5:13 PM

To: axis-dev@ws.apache.org
Cc: Thilina Gunarathne
Subject: Re: [Axis2]WSDL2Java Code generation option

On Mon, 2006-10-09 at 07:54 -0400, Srinath Perera wrote:

Hi AJith,All;
As far as I understand

1) no options client side only
2) -s server side
3) -sd -ss  service side discriptions, this only work with -ss
4) -g all, but no service.xml .. So I put -g -sd ..still none becouse
-sd only works with -ss .. so -g -ss and -sd


Ouch.


Sorry but I feel this is far too complex. shall we change the options
for 1.1? for example (Or do we need to me backward compatible with the
tool options?)

-GClient or nothing for Client
-GServer for server with service.xml
-GAll for everything
-GTest all with test case


How about: 


- -c or nothing for client
- -s for service side with services.xml
- -g for both client and server (both the above basically)
- -g -t for all and test case

That is, introduce a -t argument for test case generation. By test case
we mean what exactly .. a stub?? In that case its only meaningful for a
server side case anyway.


Do we have use case for generating server side code without a

service.xml file ?

Do we have use case for generating service.xml without server side
code? (we could at least assume -ss given -sd)


+1.

So basically same as your proposal except use option names that are
closer to what we have now.

Sanjiva.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1634) WSDL2Java throws exception

2006-11-07 Thread Thilo Frotscher (JIRA)
WSDL2Java throws exception
--

 Key: AXIS2-1634
 URL: http://issues.apache.org/jira/browse/AXIS2-1634
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: codegen
Affects Versions: 1.1
 Environment: Axis2 1.1 RC2
Reporter: Thilo Frotscher
Priority: Minor


1) Usage message printed by WSDL2Java says that "csharp" is a valid option for 
the language parameter. That's wrong, it must be "c-sharp"
2) When using "-l c-sharp" code is generated, but I get the following exception:

Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: template for
this writer is not found!
at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: template for 
this writer is not found!
at 
org.apache.axis2.wsdl.codegen.writer.ClassWriter.loadTemplate(ClassWriter.java:80)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeClass(AxisServiceBasedMultiLanguageEmitter.java:1715)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeAntBuild(AxisServiceBasedMultiLanguageEmitter.java:319)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub(AxisServiceBasedMultiLanguageEmitter.java:295)
at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:213)

   I know code generation for C# is experimental... but perhaps it's easy to 
fix.

3) General comment: It's kind of weird to run WSDL2Java to generate code for C 
or C#. The batch script should be renamed to WSDL2Code.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1564) Incoming SOAPFault on client side flows though InFlow *and* InFaultFlow

2006-10-31 Thread Thilo Frotscher (JIRA)
Incoming SOAPFault on client side flows though InFlow *and* InFaultFlow
---

 Key: AXIS2-1564
 URL: http://issues.apache.org/jira/browse/AXIS2-1564
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: kernel
Affects Versions: 1.1
 Environment: Axis2 1.1 Snapshot of 29 Oct
Reporter: Thilo Frotscher
Priority: Critical


I created a module with a simple log handler that just logs a message. Using a 
client repository, I engaged this module globally for my client application. 
For testing purposes the handler was configured to be included into InFlow 
(PreDispatch), OutFlow (MessageOut), InFaultFlow (PreDispatch) and OutFaultFlow 
(MessageOut).

When the client application receives a SOAP fault from a service, two log 
handlers are invoked: the handler in InFlow and the handler in InFaultFlow, 
i.e. incoming SOAP faults flow through both flows on the client side. It is my 
understanding that incoming messages containing faults should flow through 
InFaultFlow *only*, but not through InFlow.
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1563) Unexpected message when requesting ?policy

2006-10-31 Thread Thilo Frotscher (JIRA)
Unexpected message when requesting ?policy
--

 Key: AXIS2-1563
 URL: http://issues.apache.org/jira/browse/AXIS2-1563
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: admin console
Affects Versions: 1.1
 Environment: Axis2 1.1 Snapshot of 29 Oct
Reporter: Thilo Frotscher



After starting the Axis2 web app,  I entered the following URL into my browser:

http://localhost:8080/axis2/services/version?policy

I know the Version service doesn't use WS-Policy, however the message that 
appeared on the screen was quite surprising:

Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml

I thought the ?policy option would deliver a service's policy. Is that still 
the case? If yes, and if there's no such policy for a given service, I think a 
different message should be displayed...

Thanx.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1541) When engaging a module with a service, the module is engaged with each operation twice

2006-10-28 Thread Thilo Frotscher (JIRA)
When engaging a module with a service, the module is engaged with each 
operation twice
--

 Key: AXIS2-1541
 URL: http://issues.apache.org/jira/browse/AXIS2-1541
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
 Environment: Axis2 1.1 Snapshot of 29 Oct
Reporter: Thilo Frotscher
Priority: Critical


Not sure about the priority of this bug, but I think it might be critical...

I created a module that contains a module class. For testing purposes, method 
engageNotify log a message every time it is invoked. The logging message 
provides information about the kind of engagement. When I use the admin 
frontend to engage the module with a service, the logging messages indicate 
that the module is engaged twice with every service operation (engageNotify 
invoked twice per operation):

LogModule was engaged with service: MyService
LogModule was engaged with operation: Op1
LogModule was engaged with operation: Op1
LogModule was engaged with operation: Op2
LogModule was engaged with operation: Op2
LogModule was engaged with operation: Op3
LogModule was engaged with operation: Op3
LogModule was engaged with operation: Op4
LogModule was engaged with operation: Op4

Here's the implementation of engageNotify:

public void engageNotify(AxisDescription axisDescription) throws 
AxisFault {
StringBuilder msg = new StringBuilder();
msg.append("LogModule was engaged with");

if (axisDescription instanceof AxisServiceGroup) {
msg.append(" service group: ");

msg.append(((AxisServiceGroup)axisDescription).getServiceGroupName());
} else if (axisDescription instanceof AxisService) {
msg.append(" service: ");
msg.append(((AxisService)axisDescription).getName());
} else if (axisDescription instanceof AxisOperation) {
msg.append(" operation: ");
msg.append(((AxisOperation)axisDescription).getName());
}

System.out.println(msg);
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1540) Typos / usability of web admin console

2006-10-28 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1540?page=comments#action_12445429 ] 

Thilo Frotscher commented on AXIS2-1540:


Some more... :-)

Available services:
- "epr" should be changed to "EPR" for REST services

Engage module...For an operation
- "Select an Axis service from the combo and click on the 'View Operations' 
button to view operation specific Chains".
   >> It's Axis2, isn't it :-)
   >> Clicking the button does NOT take the user to an overview of 
operation-specific chains! The text should be something like: 
" Select a service and click on "View Operations" to select a module 
and an operation"

- next step: "Engage Module for an Operation": 
  -  "To engage a module for an axis operation" - should be: "To engage a 
module for a service operation"
  -  "2. select the axis operation you like the module to be engaged." should 
be  "2. select the service operation you like the module to be engaged for"

Global Chains:
- "In Flow Up To and Including Dispatcher" should be " In Flow up to Dispatch"
   BTW: why "up to Dispatch" at all? For the other three flows there is no 
indication that there are additional phases

Available phases:
- why is "soapmonitorPhase" the only phase that starts with a character in 
lower case?
- "User Defined Phases" should be "User-defined Phases"
 



> Typos / usability of web admin console
> --
>
> Key: AXIS2-1540
> URL: http://issues.apache.org/jira/browse/AXIS2-1540
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
> Environment: Axis2 1.1 Snapshot of 29 Oct
>Reporter: Thilo Frotscher
>Priority: Trivial
>
> Admin login:
> - Warning: Please note that configuration changes done though the 
> administration console will be lost when the server is restarted.
>   >> th_r_ough
> - Why was the login form moved to the right??
> Deactivate services
> - What's the purpose of the checkbox "Deactivate" and the "Clear" button? 
> They don't seem to make any sense. If I want to deactivate a service, I'd 
> just select the service and click the "deactivate" button.   
> - Same issue with activation of services

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1540) Typos / usability of web admin console

2006-10-28 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1540?page=comments#action_12445428 ] 

Thilo Frotscher commented on AXIS2-1540:


One more...

Available services:
- The service status (active / inactive) should be displayed in a more 
eye-catching way. 

   Suggestion: get rid of the line "Service status:...", display status behind 
the service name (i.e. the link to the WSDL) instead, but only if service is 
inactive 
   - for inactive services: MyService (deactivated)
   - for active services: MyService

  

> Typos / usability of web admin console
> --
>
> Key: AXIS2-1540
> URL: http://issues.apache.org/jira/browse/AXIS2-1540
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
> Environment: Axis2 1.1 Snapshot of 29 Oct
>Reporter: Thilo Frotscher
>Priority: Trivial
>
> Admin login:
> - Warning: Please note that configuration changes done though the 
> administration console will be lost when the server is restarted.
>   >> th_r_ough
> - Why was the login form moved to the right??
> Deactivate services
> - What's the purpose of the checkbox "Deactivate" and the "Clear" button? 
> They don't seem to make any sense. If I want to deactivate a service, I'd 
> just select the service and click the "deactivate" button.   
> - Same issue with activation of services

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1540) Typos / usability of web admin console

2006-10-28 Thread Thilo Frotscher (JIRA)
Typos / usability of web admin console
--

 Key: AXIS2-1540
 URL: http://issues.apache.org/jira/browse/AXIS2-1540
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
 Environment: Axis2 1.1 Snapshot of 29 Oct
Reporter: Thilo Frotscher
Priority: Trivial


Admin login:
- Warning: Please note that configuration changes done though the 
administration console will be lost when the server is restarted.
  >> th_r_ough
- Why was the login form moved to the right??

Deactivate services
- What's the purpose of the checkbox "Deactivate" and the "Clear" button? They 
don't seem to make any sense. If I want to deactivate a service, I'd just 
select the service and click the "deactivate" button.   
- Same issue with activation of services

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Unexpected message when requesting ?policy

2006-10-28 Thread Thilo Frotscher


Hi,

I am using the snapshot of 29 Oct. After starting the Axis2 web app,
I entered the following URL into my browser:

http://localhost:8080/axis2/services/version?policy

I know the Version service doesn't use WS-Policy, however the message
that appeared on the screen was quite surprising:

Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml

I thought the ?policy option would deliver a service's policy. Is that
still the case? If yes, and if there's no such policy for a given service,
I think a different message should be displayed... Is that a new JIRA?

Cheers,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1346) Provide a way to expose interface to client instead of concrete class

2006-10-20 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1346?page=comments#action_12443784 ] 

Thilo Frotscher commented on AXIS2-1346:



- This parameter should be called "objectSupplier", not "objectSuppler"... an 
_i_ is missing. The same applies to the name of the new class.

- Why does "ServiceClass" start with a capital "S" while "objectSupplier" 
starts with a lower "o"? If there was a common spelling policy across all 
configuration files, I would make life a lot easier.

Thanks,
Thilo




> Provide a way to expose interface to client instead of concrete class
> -
>
> Key: AXIS2-1346
> URL: http://issues.apache.org/jira/browse/AXIS2-1346
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: deployment
>Reporter: Deepal Jayasinghe
> Assigned To: Deepal Jayasinghe
>Priority: Blocker
>
> There may be instance where service author has interface that he need to 
> generate wsdl , while he has separate service impl class. With current Axis2 
> impl there is no way to achieve this goal. 
> I think we can solve this problem by adding one more optional parameter to 
> services.xml
> qualified name of the service interface 
>  
> in addition to 
> qualified name of the service class 
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JAXB-RI, JaxMe support in Axis2 1.1?

2006-10-19 Thread Thilo Frotscher


Hi,

just for clarification: will there be support for JAXB-RI and JaxMe in Axis2 1.1
or were these two deferred to later releases?

Thanks,
Thilo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Distribution packaging restructuring

2006-10-19 Thread Thilo Frotscher



Thilo Frotscher wrote:
I couldn't agress less :-) 


Sorry, I  meant "agree" .

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Distribution packaging restructuring

2006-10-18 Thread Thilo Frotscher


Sanjiva Weerawarana wrote:

The war we ship is useless for *any* user except to run the sample
services. That's it. NOTHING else. Do you agree with that assessment?


I couldn't agress less :-) I find the WAR very useful. Especially for
beginners and first time users. They can just copy that file into their
web container and start playing with the new framework. They will find
out that there are some new concepts like modules or upload mechanisms,
and they will get a good first impression within minutes. It's also a
very nice show case to see the service upload button work. It'd be nice
to have a sample AAR for download somewhere, as well as a sample client,
so that you can just upload the AAR with a few clicks, start the client
and... it works.

On the other hand, if the first impression of Axis2 1.1 will be, that
there is no WAR anymore and that you first have to build it yourself,
many users will be disappointed and won't understand why it was removed
(as I wouldn't understand it). It doesn't hurt to offer it for download,
it's just a file on a web server, that can be created automatically in
the build process for the release.

Personally, I use the WAR file very often just to test some stuff. I
have a collection of AAR files, which I can copy into the WARs and
start testing.

Also, please don't forget that not every person who is potentially
interested in Axis2 has Ant installed on their machine! Sure, they can
install it, but that's just an annoying, additional step.

I agree with Deepal: don't remove the WAR.

PS: Why does it work with Tomcat only?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1406) Link "Engage Modules" - "For a Service" causes exception

2006-10-16 Thread Thilo Frotscher (JIRA)
Link "Engage Modules" - "For a Service" causes exception 
-

 Key: AXIS2-1406
 URL: http://issues.apache.org/jira/browse/AXIS2-1406
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: admin console
Affects Versions: 1.1
 Environment: Axis2 1.1 RC1
    Reporter: Thilo Frotscher
Priority: Blocker


When clicking the link "For a Service" under "Engage Modules" the following 
exception is logged in the server log:

WARNING: Error dispatching request /axis2/axis2-admin/engageToService
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.axis2.transport.http.AbstractAgent.handle(AbstractAgent.java:77)
at 
org.apache.axis2.transport.http.AdminAgent.handle(AdminAgent.java:104)
at 
org.apache.axis2.transport.http.AxisAdminServlet.doGet(AxisAdminServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.jasper.JasperException: 
/axis2-web/engagingtoaservice.jsp(9,0) Expecting "jsp:param" standard acti
on with "name" and "value" attributes
at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at 
org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:116)
at 
org.apache.axis2.transport.http.AdminAgent.processEngageToService(AdminAgent.java:350)
... 23 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1404) Admin console should "warn" the user that configuration changes are transient

2006-10-16 Thread Thilo Frotscher (JIRA)
Admin console should "warn" the user that configuration changes are transient
-

 Key: AXIS2-1404
 URL: http://issues.apache.org/jira/browse/AXIS2-1404
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: admin console
Affects Versions: 1.1
 Environment: Axis2 1.1 RC1
Reporter: Thilo Frotscher
Priority: Minor


The admin console should display a "warning" message on the welcome page that 
all configuration changes made using the console are transient and lost after a 
restart of the web container.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1403) Link "Disengage" doesn't work anymore

2006-10-16 Thread Thilo Frotscher (JIRA)
Link "Disengage" doesn't work anymore 
--

 Key: AXIS2-1403
 URL: http://issues.apache.org/jira/browse/AXIS2-1403
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: admin console
Affects Versions: 1.1
 Environment: Axis2 1.1 RC1
    Reporter: Thilo Frotscher
Priority: Critical



The "Disengage" links don't work anymore, whether for single operations, nor 
for complete services.
When I click on them to disengabe the addressing-1.09 module, I am forwarded to 
a blank page.
When going back manually to the admin console, nothing has changed: the 
service/operation is still engaged with the addressing module

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1402) WSDL2Java: format generated files

2006-10-16 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1402?page=comments#action_12442539 ] 

Thilo Frotscher commented on AXIS2-1402:


One more thing:

- The folder "test" is always created, regardless of whether test classes are 
generated or not. This is a bit annoying sometimes.


> WSDL2Java: format generated files
> -
>
> Key: AXIS2-1402
> URL: http://issues.apache.org/jira/browse/AXIS2-1402
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>Affects Versions: 1.1
> Environment: Axis2 1.1 RC1
>Reporter: Thilo Frotscher
>Priority: Minor
>
> - the generated build.xml contains the tasks make.repo and start.server even 
> if there was only client code created...
> - it would be nice if the build.xml file was formatted (i.e. indented), the 
> same applies for all generated WSDLs, XMLs, XSDs...
> - build.xml depends on  environment variable AXIS2_HOME... is this documented 
> anywhere?
> - generated services.xml contains the following line
>
>   replacement of #axisVersion# and #today# with real values doesn't seem to 
> work...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] MTOM enabled by default since RC1

2006-10-16 Thread Thilo Frotscher


Hi,

Since 1.1 RC1 the web app comes with the parameter enableMTOM=true by default.
Did that happen intentionally or by accident? I wonder if it's really necessary
to set this parameter to true by default.

Thanks,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1402) WSDL2Java: format generated files

2006-10-16 Thread Thilo Frotscher (JIRA)
WSDL2Java: format generated files
-

 Key: AXIS2-1402
 URL: http://issues.apache.org/jira/browse/AXIS2-1402
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
Affects Versions: 1.1
 Environment: Axis2 1.1 RC1
Reporter: Thilo Frotscher
Priority: Minor



- the generated build.xml contains the tasks make.repo and start.server even if 
there was only client code created...

- it would be nice if the build.xml file was formatted (i.e. indented), the 
same applies for all generated WSDLs, XMLs, XSDs...

- build.xml depends on  environment variable AXIS2_HOME... is this documented 
anywhere?

- generated services.xml contains the following line

   

  replacement of #axisVersion# and #today# with real values doesn't seem to 
work...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1401) Eclipse Code Generator Wizard: checkbox doesn't make sense / option missing

2006-10-16 Thread Thilo Frotscher (JIRA)
Eclipse Code Generator Wizard: checkbox doesn't make sense / option missing
---

 Key: AXIS2-1401
 URL: http://issues.apache.org/jira/browse/AXIS2-1401
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: Tools
 Environment: Axis2 1.1 RC1
Reporter: Thilo Frotscher


Three issues...

1) The checkbox "Generate Client Code" doesn't make any sense under "Generate 
server side code". Just recently the command-line options for WSDL2Java were 
changed in a very senseful way. Let's do the same for the Wizard, i.e. have one 
checkbox to turn on/off the client-side code generation and another checkbox to 
turn on/off server side code generation. If one of these checkboxes is 
selected, then activate the according configuration options (client: 
sync/async, server: service.xml/interface)

2) The wizard should allow the user to specify the destination folder for 
resources (WSDL2Java option -R)

3) There's a language/spelling mistake: "Add the Axis2 codegen jars to the 
codegen reulted project"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1400) Eclipse Code Generator Wizard displays wrong error message

2006-10-16 Thread Thilo Frotscher (JIRA)
Eclipse Code Generator Wizard displays wrong error message
--

 Key: AXIS2-1400
 URL: http://issues.apache.org/jira/browse/AXIS2-1400
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: Tools
Affects Versions: 1.1
 Environment: Axis 1.1 RC1
Reporter: Thilo Frotscher
Priority: Minor


If an invalid WSDL is selected on the first wizard page (i.e. the message 
elements reference elements using wrong namespaces) then the wizard displays 
the following error message on the second page:

specified WSDL is not found!

Actually, the error message should be something like

Specified WSDL is invalid.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Axis2, Axis 2 or Axis 2.0?

2006-10-16 Thread Thilo Frotscher


Hello,

This might be a minor issue at this stage but I think the name of this project
should generally be clarified. At several different places (articles, code,
documentation, JIRA, Eclipse plugins etc) at least three different names can
be found:

- Axis2 (definitely the most frequent one, so I assume that's the right one)
- Axis 2
- Axis 2.0 (this rises questions concerning the release version 1.1 :-)

The project name should be consistent *everywhere*.

Thanks,
Thilo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1311) WSDL2Java removes fault information from WSDL file

2006-10-16 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1311?page=comments#action_12442501 ] 

Thilo Frotscher commented on AXIS2-1311:



Yes, it's fixed. Thanks.


> WSDL2Java removes fault information from WSDL file
> --
>
> Key: AXIS2-1311
> URL: http://issues.apache.org/jira/browse/AXIS2-1311
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of 02 Oct 2006
>Reporter: Thilo Frotscher
>Priority: Blocker
> Attachments: hotel.wsdl, hotel.xsd
>
>
> This bug relates to the resources files that are created by WSDL2Java.
> First of all, I wonder why WSDL2Java generates a completely new WSDL file at 
> all. If it's just for adding bindings, these could be inserted into a copied 
> source WSDL. I also don't understand why the filenames of WSDL and XSDs are 
> changed.
> The actual bug I'd like to report is as follows: 
> When generating code using WSDL2Java from a WSDL that contains 
> - fault messages
> -  elements as children of 
> -  elements as children of 
> all these elements related to faults are missing in the generated WSDL file 
> which can be found in the resources folder. This is a severe problem, because 
> it is this generated WSDL file that is delivered in case of requests to 
> htp://...?wsdl.
> The generated code works fine though, including the exceptions that are 
> raised etc.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1291) WSDL2Java should not create ExtensionMapper in package axis2.apache.org

2006-10-16 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1291?page=comments#action_12442494 ] 

Thilo Frotscher commented on AXIS2-1291:



Uploaded WSDL and XSD. Problem still exists in Axis2 1.1 RC1.


> WSDL2Java should not create ExtensionMapper in package axis2.apache.org
> ---
>
> Key: AXIS2-1291
> URL: http://issues.apache.org/jira/browse/AXIS2-1291
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of  02 Oct 2006
>Reporter: Thilo Frotscher
> Attachments: hotel.wsdl, hotel.xsd
>
>
> WSDL2Java creates a class called ExtensionMapper which belongs to the package 
> axis2.apache.org. Can this please be changed so that it is created in the 
> same package as the classes for the types, aka in an application-specific 
> package? 
> Or, at the very least, change the package to org.apache.axis2 instead of 
> axis2.apache.org. However, I can't think of a reason why ExtensionMapper 
> should not belong to an application-specific package, because the class 
> actually is specific to the application for which it was created.
> Thanx!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (AXIS2-1291) WSDL2Java should not create ExtensionMapper in package axis2.apache.org

2006-10-16 Thread Thilo Frotscher (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1291?page=all ]

Thilo Frotscher updated AXIS2-1291:
---

Attachment: hotel.xsd

> WSDL2Java should not create ExtensionMapper in package axis2.apache.org
> ---
>
> Key: AXIS2-1291
> URL: http://issues.apache.org/jira/browse/AXIS2-1291
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of  02 Oct 2006
>Reporter: Thilo Frotscher
> Attachments: hotel.wsdl, hotel.xsd
>
>
> WSDL2Java creates a class called ExtensionMapper which belongs to the package 
> axis2.apache.org. Can this please be changed so that it is created in the 
> same package as the classes for the types, aka in an application-specific 
> package? 
> Or, at the very least, change the package to org.apache.axis2 instead of 
> axis2.apache.org. However, I can't think of a reason why ExtensionMapper 
> should not belong to an application-specific package, because the class 
> actually is specific to the application for which it was created.
> Thanx!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (AXIS2-1291) WSDL2Java should not create ExtensionMapper in package axis2.apache.org

2006-10-16 Thread Thilo Frotscher (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1291?page=all ]

Thilo Frotscher updated AXIS2-1291:
---

Attachment: hotel.wsdl

> WSDL2Java should not create ExtensionMapper in package axis2.apache.org
> ---
>
> Key: AXIS2-1291
> URL: http://issues.apache.org/jira/browse/AXIS2-1291
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of  02 Oct 2006
>Reporter: Thilo Frotscher
> Attachments: hotel.wsdl, hotel.xsd
>
>
> WSDL2Java creates a class called ExtensionMapper which belongs to the package 
> axis2.apache.org. Can this please be changed so that it is created in the 
> same package as the classes for the types, aka in an application-specific 
> package? 
> Or, at the very least, change the package to org.apache.axis2 instead of 
> axis2.apache.org. However, I can't think of a reason why ExtensionMapper 
> should not belong to an application-specific package, because the class 
> actually is specific to the application for which it was created.
> Thanx!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.1-RC1 Release

2006-10-15 Thread Thilo Frotscher


Hi!

Where's the Eclipse Service Archiver Wizard? It's not in the below mentioned
folder. Does that mean it won't be part of Axis2 1.1?

Cheers,
Thilo



Thilina Gunarathne wrote:

Hi all,

I uploaded the Axis2 1.1 RC1 release artifacts to the following
locations. Please help us by downloading and reviewing them.

Download locations :
* binary and source distributions -
http://people.apache.org/~thilina/axis2/1.1-RC1/

* jars
http://people.apache.org/~thilina/maven/org.apache.axis2/jars/

* mars (addressing and SOAP monitor)
http://people.apache.org/~thilina/maven/org.apache.axis2/mars/

* Tools
http://people.apache.org/~thilina/axis2/1.1-RC1/eclipse_codegen_plugin_1.1-RC1http://people.apache.org/~thilina/axis2/1.1-RC1/idea_codegen_plugin_1.1-RC1/ 



I uploaded a subset of Axis2 docs (preview versions) for the benefit
of the folks who are going to try  out Axis2 1.1-RC1. Some links may
not work. Constructive feedback on the docs are welcome.

* Docs
http://people.apache.org/~thilina/axis2/docs/

According to the release plan, I'm expecting to release the Axis2 1.1
RC2 on 15th October, 2006.

Please note that these releases do not include xdocs but will be
available with 1.1 release as usual.

Thanks,
 Thilina

PS:  This release includes SNAPSHOT dependencies of several libraries,
which will  be replaced with their released versions in the 1.1
release.
Axiom r453852
XmlSchema r453792
Neethi r453887



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1334) Deployment of Sandesha2 causes exception in Axis2 Admin-Frontend

2006-10-10 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1334?page=comments#action_12441104 ] 

Thilo Frotscher commented on AXIS2-1334:


I investigated further... Sandesha2 1.0 works fine with Axis2 1.0 but not with 
Axis2 1.1 RC1. But I don't know whether this is an issue with Axis2 1.1 or 
whether there is just a new Sandesha2 release needed. In the latter case, it 
should be documented in the Sandesha2 user guide which Sandesha release works 
with which Axis2 release.
 

> Deployment of Sandesha2 causes exception in Axis2 Admin-Frontend
> 
>
> Key: AXIS2-1334
> URL: http://issues.apache.org/jira/browse/AXIS2-1334
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.1
> Environment: Axis2 1.1 RC1
> Sandesha2 1.0
>Reporter: Thilo Frotscher
>Priority: Blocker
>
> - deploy a fresh Axis2 1.1 RC1 into Tomcat
> - startup Tomcat
> - check out Axis2 Web Admin Frontend with browser - works fine!
> - shut down Tomcat
> - copy sandesha2-1.0.mar into WEB-INF/modules
> - add name of module archive to modules.list (not sure if this step is 
> needed, but bug occurs with or without this step!)
> - add RMPhase to all four flows, according to Sandesha2 user guide: 
> http://ws.apache.org/sandesha/sandesha2/userGuide.html
> - start up Tomcat
> - check out Axis2 Web Admin Frontend with browser - Exception!
> TOMCAT's LOG FILE
> =
> java.lang.NoSuchMethodError: 
> org.apache.axis2.description.PolicyInclude.getEffectivePolicy()Lorg/apache/ws/policy/Policy;
>   at 
> org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:158)
>   at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:50)
>   at 
> org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:217)
>   at 
> org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:193)
>   at 
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:70)
>   at 
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
>   at 
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:304)
>   at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>   at 
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>   at 
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> BROWSER
> ===
> org.apache.jasper.JasperException
>

[jira] Created: (AXIS2-1334) Deployment of Sandesha2 causes exception in Axis2 Admin-Frontend

2006-10-10 Thread Thilo Frotscher (JIRA)
Deployment of Sandesha2 causes exception in Axis2 Admin-Frontend


 Key: AXIS2-1334
 URL: http://issues.apache.org/jira/browse/AXIS2-1334
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: core
Affects Versions: 1.1
 Environment: Axis2 1.1 RC1
Sandesha2 1.0
Reporter: Thilo Frotscher
Priority: Blocker


- deploy a fresh Axis2 1.1 RC1 into Tomcat
- startup Tomcat
- check out Axis2 Web Admin Frontend with browser - works fine!
- shut down Tomcat
- copy sandesha2-1.0.mar into WEB-INF/modules
- add name of module archive to modules.list (not sure if this step is needed, 
but bug occurs with or without this step!)
- add RMPhase to all four flows, according to Sandesha2 user guide: 
http://ws.apache.org/sandesha/sandesha2/userGuide.html
- start up Tomcat
- check out Axis2 Web Admin Frontend with browser - Exception!



TOMCAT's LOG FILE
=
java.lang.NoSuchMethodError: 
org.apache.axis2.description.PolicyInclude.getEffectivePolicy()Lorg/apache/ws/policy/Policy;
at 
org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDescPolicy(PropertyManager.java:158)
at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:50)
at 
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:217)
at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:193)
at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:70)
at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:304)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4197)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

BROWSER
===

org.apache.jasper.JasperException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

org.apache.jasper.JasperException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.jav

[jira] Commented: (AXIS2-1311) WSDL2Java removes fault information from WSDL file

2006-10-08 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1311?page=comments#action_12440749 ] 

Thilo Frotscher commented on AXIS2-1311:


WSDL and XSD added. Thanks.


> WSDL2Java removes fault information from WSDL file
> --
>
> Key: AXIS2-1311
> URL: http://issues.apache.org/jira/browse/AXIS2-1311
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of 02 Oct 2006
>Reporter: Thilo Frotscher
>Priority: Blocker
> Attachments: hotel.wsdl, hotel.xsd
>
>
> This bug relates to the resources files that are created by WSDL2Java.
> First of all, I wonder why WSDL2Java generates a completely new WSDL file at 
> all. If it's just for adding bindings, these could be inserted into a copied 
> source WSDL. I also don't understand why the filenames of WSDL and XSDs are 
> changed.
> The actual bug I'd like to report is as follows: 
> When generating code using WSDL2Java from a WSDL that contains 
> - fault messages
> -  elements as children of 
> -  elements as children of 
> all these elements related to faults are missing in the generated WSDL file 
> which can be found in the resources folder. This is a severe problem, because 
> it is this generated WSDL file that is delivered in case of requests to 
> htp://...?wsdl.
> The generated code works fine though, including the exceptions that are 
> raised etc.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (AXIS2-1311) WSDL2Java removes fault information from WSDL file

2006-10-08 Thread Thilo Frotscher (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1311?page=all ]

Thilo Frotscher updated AXIS2-1311:
---

Attachment: hotel.xsd

> WSDL2Java removes fault information from WSDL file
> --
>
> Key: AXIS2-1311
> URL: http://issues.apache.org/jira/browse/AXIS2-1311
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of 02 Oct 2006
>Reporter: Thilo Frotscher
>Priority: Blocker
> Attachments: hotel.wsdl, hotel.xsd
>
>
> This bug relates to the resources files that are created by WSDL2Java.
> First of all, I wonder why WSDL2Java generates a completely new WSDL file at 
> all. If it's just for adding bindings, these could be inserted into a copied 
> source WSDL. I also don't understand why the filenames of WSDL and XSDs are 
> changed.
> The actual bug I'd like to report is as follows: 
> When generating code using WSDL2Java from a WSDL that contains 
> - fault messages
> -  elements as children of 
> -  elements as children of 
> all these elements related to faults are missing in the generated WSDL file 
> which can be found in the resources folder. This is a severe problem, because 
> it is this generated WSDL file that is delivered in case of requests to 
> htp://...?wsdl.
> The generated code works fine though, including the exceptions that are 
> raised etc.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (AXIS2-1311) WSDL2Java removes fault information from WSDL file

2006-10-08 Thread Thilo Frotscher (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1311?page=all ]

Thilo Frotscher updated AXIS2-1311:
---

Attachment: hotel.wsdl

> WSDL2Java removes fault information from WSDL file
> --
>
> Key: AXIS2-1311
> URL: http://issues.apache.org/jira/browse/AXIS2-1311
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of 02 Oct 2006
>Reporter: Thilo Frotscher
>Priority: Blocker
> Attachments: hotel.wsdl, hotel.xsd
>
>
> This bug relates to the resources files that are created by WSDL2Java.
> First of all, I wonder why WSDL2Java generates a completely new WSDL file at 
> all. If it's just for adding bindings, these could be inserted into a copied 
> source WSDL. I also don't understand why the filenames of WSDL and XSDs are 
> changed.
> The actual bug I'd like to report is as follows: 
> When generating code using WSDL2Java from a WSDL that contains 
> - fault messages
> -  elements as children of 
> -  elements as children of 
> all these elements related to faults are missing in the generated WSDL file 
> which can be found in the resources folder. This is a severe problem, because 
> it is this generated WSDL file that is delivered in case of requests to 
> htp://...?wsdl.
> The generated code works fine though, including the exceptions that are 
> raised etc.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1311) WSDL2Java removes fault information from WSDL file

2006-10-05 Thread Thilo Frotscher (JIRA)
WSDL2Java removes fault information from WSDL file
--

 Key: AXIS2-1311
 URL: http://issues.apache.org/jira/browse/AXIS2-1311
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: core
Affects Versions: 1.1
 Environment: Axis2 1.1 Snapshot of 02 Oct 2006
Reporter: Thilo Frotscher
Priority: Blocker


This bug relates to the resources files that are created by WSDL2Java.

First of all, I wonder why WSDL2Java generates a completely new WSDL file at 
all. If it's just for adding bindings, these could be inserted into a copied 
source WSDL. I also don't understand why the filenames of WSDL and XSDs are 
changed.

The actual bug I'd like to report is as follows: 
When generating code using WSDL2Java from a WSDL that contains 

- fault messages
-  elements as children of 
-  elements as children of 

all these elements related to faults are missing in the generated WSDL file 
which can be found in the resources folder. This is a severe problem, because 
it is this generated WSDL file that is delivered in case of requests to 
htp://...?wsdl.

The generated code works fine though, including the exceptions that are raised 
etc.
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1291) WSDL2Java should not create ExtensionMapper in package axis2.apache.org

2006-10-03 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1291?page=comments#action_12439445 ] 

Thilo Frotscher commented on AXIS2-1291:


Sorry, this issue is obviously *not* a major one. Please reduce the priority 
accordingly.


> WSDL2Java should not create ExtensionMapper in package axis2.apache.org
> ---
>
> Key: AXIS2-1291
> URL: http://issues.apache.org/jira/browse/AXIS2-1291
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.1
> Environment: Axis2 1.1 Snapshot of  02 Oct 2006
>Reporter: Thilo Frotscher
>
> WSDL2Java creates a class called ExtensionMapper which belongs to the package 
> axis2.apache.org. Can this please be changed so that it is created in the 
> same package as the classes for the types, aka in an application-specific 
> package? 
> Or, at the very least, change the package to org.apache.axis2 instead of 
> axis2.apache.org. However, I can't think of a reason why ExtensionMapper 
> should not belong to an application-specific package, because the class 
> actually is specific to the application for which it was created.
> Thanx!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1291) WSDL2Java should not create ExtensionMapper in package axis2.apache.org

2006-10-03 Thread Thilo Frotscher (JIRA)
WSDL2Java should not create ExtensionMapper in package axis2.apache.org
---

 Key: AXIS2-1291
 URL: http://issues.apache.org/jira/browse/AXIS2-1291
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: Tools
Affects Versions: 1.1
 Environment: Axis2 1.1 Snapshot of  02 Oct 2006
Reporter: Thilo Frotscher


WSDL2Java creates a class called ExtensionMapper which belongs to the package 
axis2.apache.org. Can this please be changed so that it is created in the same 
package as the classes for the types, aka in an application-specific package? 

Or, at the very least, change the package to org.apache.axis2 instead of 
axis2.apache.org. However, I can't think of a reason why ExtensionMapper should 
not belong to an application-specific package, because the class actually is 
specific to the application for which it was created.

Thanx!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

2006-09-28 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12438412 ] 

Thilo Frotscher commented on AXIS2-663:
---

Looks great! Just one thing: can you please add the new command line options to 
the usage information of WSDL2Java, i.e. what appears on the screen when 
executing "wsdl2java -?"


> WSDL2Java: allow user to specify separate destination folders for src and 
> resources
> ---
>
> Key: AXIS2-663
> URL: http://issues.apache.org/jira/browse/AXIS2-663
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.0
> Environment: Axis2 1.0 RC5
>Reporter: Thilo Frotscher
> Assigned To: Ajith Harshana Ranabahu
>Priority: Blocker
>
> WSDL2Java generates source code, resources (service.xml, wsdl, xsd) and a 
> build.xml file.
> The user can specify a destination folder for all of these files, but they 
> all go into the same folder.
> When generating code for more than one service, you'll generally want to have 
> the source code for all services in the same src-folder.
> That's why you would specify the same destination folder for all services. 
> However, in this causes the problem that the build.xml files 
> and the resources for all the services go into the same folder as well and 
> interfere with each other, or a overwritten respectively.
> Therefore, it would be great if the user could specify two separate 
> destination folders: one for the source code and the second one for 
> the build file and the resources. Of course, the build files would have to 
> reflect the new folder structure.
> Alternative suggestion: WSDL2Java could do this automatically by introducing 
> a service-specific folder
> under resouces:
> /resources/MyService1/service.xml
> /resources/MyService1/MyService.wsdl
> /resources/MyService1/MyService.xsd
> /resources/MyService2/service.xml
> /resources/MyService2/MyService.wsdl
> /resources/MyService2/MyService.xsd
> For the build files a similar solution could be used.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

2006-09-20 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12436247 ] 

Thilo Frotscher commented on AXIS2-663:
---

Eran,

this JIRA was not set to "Blocker" by me :-) I believe it was Dims after I sent 
an email a few weeks ago asking to fix this for 1.1
You're right, I wouldn't call it a blocker either. But I think all JIRAs that 
were supposed to be fixed for 1.1 were set to "Blocker" by Dims.

Anyway,  the current behaviour is quite annoying because it requires a lot of 
manual folder movement and renaming in an application project. Thus it would be 
great to have it fixed in the new release and I think it can probably be 
implemented rather quickly. The same applies to one or two other JIRAs. I 
understand that you're in the process of creating a new release. But I also 
believe that it's always better to release software a few days later than 
announced, but with all important issues fixed, instead of releasing on time 
and the software contains annoying issues. After all, it's your decision of 
course :-)

I'd be happy to contribute but I am very busy at the moment. Until when would 
you need the fix to make sure it goes into 1.1?




> WSDL2Java: allow user to specify separate destination folders for src and 
> resources
> ---
>
> Key: AXIS2-663
> URL: http://issues.apache.org/jira/browse/AXIS2-663
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.0
> Environment: Axis2 1.0 RC5
>Reporter: Thilo Frotscher
> Assigned To: Ajith Harshana Ranabahu
>Priority: Blocker
>
> WSDL2Java generates source code, resources (service.xml, wsdl, xsd) and a 
> build.xml file.
> The user can specify a destination folder for all of these files, but they 
> all go into the same folder.
> When generating code for more than one service, you'll generally want to have 
> the source code for all services in the same src-folder.
> That's why you would specify the same destination folder for all services. 
> However, in this causes the problem that the build.xml files 
> and the resources for all the services go into the same folder as well and 
> interfere with each other, or a overwritten respectively.
> Therefore, it would be great if the user could specify two separate 
> destination folders: one for the source code and the second one for 
> the build file and the resources. Of course, the build files would have to 
> reflect the new folder structure.
> Alternative suggestion: WSDL2Java could do this automatically by introducing 
> a service-specific folder
> under resouces:
> /resources/MyService1/service.xml
> /resources/MyService1/MyService.wsdl
> /resources/MyService1/MyService.xsd
> /resources/MyService2/service.xml
> /resources/MyService2/MyService.wsdl
> /resources/MyService2/MyService.xsd
> For the build files a similar solution could be used.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

2006-09-19 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12435753 ] 

Thilo Frotscher commented on AXIS2-663:
---

Eran, no the -o option is not enough. We really need a way to specify to 
different destinations:

1) a destination folder for the source code
2) a destination folder the resources and the build script

Otherwise, the resources and build scripts of multiple services get in each 
others way if you need to generate code for multiple WSDLs in the same project.
When implementing this, please make sure the generated build scripts "know" the 
destination of the source code, as it won't necessarily be in the same folder 
anymore!

Thanks!


> WSDL2Java: allow user to specify separate destination folders for src and 
> resources
> ---
>
> Key: AXIS2-663
> URL: http://issues.apache.org/jira/browse/AXIS2-663
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: Tools
>Affects Versions: 1.0
> Environment: Axis2 1.0 RC5
>Reporter: Thilo Frotscher
> Assigned To: Ajith Harshana Ranabahu
>Priority: Blocker
>
> WSDL2Java generates source code, resources (service.xml, wsdl, xsd) and a 
> build.xml file.
> The user can specify a destination folder for all of these files, but they 
> all go into the same folder.
> When generating code for more than one service, you'll generally want to have 
> the source code for all services in the same src-folder.
> That's why you would specify the same destination folder for all services. 
> However, in this causes the problem that the build.xml files 
> and the resources for all the services go into the same folder as well and 
> interfere with each other, or a overwritten respectively.
> Therefore, it would be great if the user could specify two separate 
> destination folders: one for the source code and the second one for 
> the build file and the resources. Of course, the build files would have to 
> reflect the new folder structure.
> Alternative suggestion: WSDL2Java could do this automatically by introducing 
> a service-specific folder
> under resouces:
> /resources/MyService1/service.xml
> /resources/MyService1/MyService.wsdl
> /resources/MyService1/MyService.xsd
> /resources/MyService2/service.xml
> /resources/MyService2/MyService.wsdl
> /resources/MyService2/MyService.xsd
> For the build files a similar solution could be used.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-917) User guide should give explanation and examples of fault handling

2006-09-19 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-917?page=comments#action_12435751 ] 

Thilo Frotscher commented on AXIS2-917:
---


I agree with William and Derek that it is absolutely essential for the Axis2 
framework to clarify how error handling works. I am sure users don't mind if 
Axis2 1.1 will be released one or two weeks later, as long as important issues 
are resolved in this release. 
By the way: interoperability of fault messages with other frameworks (like .NET 
for example) introduces another bunch of issues. But this is something for 
Axis2 1.5 :-)
 

> User guide should give explanation and examples of fault handling
> -
>
> Key: AXIS2-917
> URL: http://issues.apache.org/jira/browse/AXIS2-917
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Wish
>  Components: samples, build,site  & docs
>Affects Versions: 1.0
>Reporter: Derek Foster
> Assigned To: Eran Chinthaka
>Priority: Blocker
> Attachments: sampleService-wsdl.rar
>
>
> The Axis2 user guide provides no examples of:
>   1) The WSDL to declare that a fault may be thrown from an operation 
> (suitable for passing into WSDL2Java)
>   2) The server-side code for a fault exception, as generated by WSDL2Java 
> and modified as a user might be expected to modify it.
>   3) The server-side code to throw the fault exception, including a tested 
> example of passing on a custom error message to be transmitted as part of a 
> SOAP fault (in the faultDetail) and received by the client.
>   4) The client-side code for receiving and handling a fault.
> Furthermore, what discussion of faults that there is seems fairly 
> contradictory. For instance, there are various suggestions that throwing an 
> AxisFault exception from a service is the way to issue a fault. However, 
> WSDL2Java does not generate service methods that are declared to throw 
> AxisFault, and there seems to be no way to declare such a fault in WSDL. (at 
> least, none that I can find). Fault generation from a service that was not 
> generated by WSDL2Java should be treated as a separate section, since it is 
> handled in a totally different manner by server code. I think that both kinds 
> of fault handling need to be documented clearly in the user guide.
> I have been trying for weeks to figure out how this is supposed to work, and 
> still haven't gotten it to work quite right (my custom error message included 
> in the thrown fault exception is getting lost somewhere before the SOAP fault 
> is transmitted). This is a basic feature that should be documented clearly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1120) Phases concept is too confusing - please change for v1.1

2006-09-10 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1120?page=comments#action_12433689 ] 

Thilo Frotscher commented on AXIS2-1120:



I think I have to clarify my request for improvement. By no means I wanted to 
suggest to completely remove the concept of phases. I think it's generally a 
great idea. It's just one single behaviour of modules and phases that I think 
is too confusing. That is, as described before: engaging a module with a single 
service can result in engaging the module with all services...without any 
warning.

What do you think about the following suggestions? They should be easy to 
implement:

1) if a module is engaged with a single service or operation, and the module 
contains handlers that belong to a global phase, then Axis2 reports a warning
- in the log file of the servlet container
- in the web administration frontend (if the engagement was done using the 
frontend)
   This warning says: "You engaged module FOO with service/operation BAR, but 
because the module contains global handlers, these will be invoked for ALL 
messages, no only for messages to service/operation BAR"

2) Deepal wrote that developers of handlers should check in the MessageContext 
whether the handler was engaged to the incoming message or not. Well, if this 
information is stored in the MessageContext, why invoke the handler at all? 
Wouldn't it be better if AxisEngine could do this check and invoke only those 
handlers that were engaged? This is basically the same like my second 
suggestion in my initial posting.

I clearly prefer option 2) and still think that this small change is absolutely 
necessary. It would make the phases concept perfect. Without a change, it's 
just too complicated to figure out which services a module is engaged with. I 
am happy to discuss this further and to tell you about feedback from 
participant's of my Axis2 training courses about this issue. 


> Phases concept is too confusing - please change for v1.1
> 
>
> Key: AXIS2-1120
> URL: http://issues.apache.org/jira/browse/AXIS2-1120
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: core
>    Affects Versions: 1.0
>Reporter: Thilo Frotscher
>Priority: Blocker
>
> With Axis2 1.0 it can easily happen that you engage a module with services 
> without realizing it! 
> This is because even if explicitly engaging a module with a *single* service 
> or a *single* operation, its handlers will automatically be invoked for *all* 
> services if they belong to a global phase. There's no warning messages or 
> anything that prevent's you from doing this. IMHO this bevaviour is very 
> confusing, especially for beginners.
> I think there are two possible solutions to this:
> - disallow engagement with single services or operations for all modules that 
> contain handlers in global phases
>   (at the very least, display a warning message that the module will actually 
> be invoked for *all* services)
> - or make sure that handlers in global phases are *available*  to all 
> services, but will only be invoked for services that they were *explicitly* 
> engaged with
> Either way, the release of Axis2 1.1 is a very good opportunity to change 
> this behaviour. The later you do this, the more backwards compatibility might 
> have to be sacrificed.
> I am sure that many users will vote for this change once the use of Axis2 in 
> general and modules in particular is more widespread.
> There was a discussion about this on the mailing list, but somehow it died 
> out: http://marc.theaimsgroup.com/?l=axis-dev&m=115394666310204&w=2
> Please consider making this change for v1.1
> Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1120) Phases concept is too confusing - please change for v1.1

2006-09-07 Thread Thilo Frotscher (JIRA)
Phases concept is too confusing - please change for v1.1


 Key: AXIS2-1120
 URL: http://issues.apache.org/jira/browse/AXIS2-1120
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: core
Affects Versions: 1.0
Reporter: Thilo Frotscher
Priority: Blocker



With Axis2 1.0 it can easily happen that you engage a module with services 
without realizing it! 

This is because even if explicitly engaging a module with a *single* service or 
a *single* operation, its handlers will automatically be invoked for *all* 
services if they belong to a global phase. There's no warning messages or 
anything that prevent's you from doing this. IMHO this bevaviour is very 
confusing, especially for beginners.

I think there are two possible solutions to this:
- disallow engagement with single services or operations for all modules that 
contain handlers in global phases
  (at the very least, display a warning message that the module will actually 
be invoked for *all* services)

- or make sure that handlers in global phases are *available*  to all services, 
but will only be invoked for services that they were *explicitly* engaged with

Either way, the release of Axis2 1.1 is a very good opportunity to change this 
behaviour. The later you do this, the more backwards compatibility might have 
to be sacrificed.
I am sure that many users will vote for this change once the use of Axis2 in 
general and modules in particular is more widespread.

There was a discussion about this on the mailing list, but somehow it died out: 
http://marc.theaimsgroup.com/?l=axis-dev&m=115394666310204&w=2

Please consider making this change for v1.1
Thanks!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Blockers for Axis2 1.1

2006-08-22 Thread Thilo Frotscher


Hello Dims!

Could you please consider fixing

Axis2-961
Axis2-663

for the 1.1 release? I'd also like to vote for

Axis2-968

Thank you very much!!
Thilo





Davanum Srinivas wrote:

Team,

As promised, i've marked a few issues as blockers for 1.1 release,
Please review the list and add your comments in the specific bug if
you want me to remove the blocker on some bugs or if you want me to
add new ones (or you can do that yourself).

http://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12311157 



Let's take the next few days to nail down the list of issues that we
think we should fix. That will help us determine the schedule for the
release.

Thanks,
dims

 >

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-979) Rampart: wrong error message

2006-08-06 Thread Thilo Frotscher (JIRA)
Rampart: wrong error message


 Key: AXIS2-979
 URL: http://issues.apache.org/jira/browse/AXIS2-979
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
Reporter: Thilo Frotscher
Priority: Minor



I just had the following exception:

Exception in thread "main" org.apache.axis2.AxisFault: WSDoAllReceiver: Request 
does not contain required Security header

If Rampart is used on the client side, then WSDoAllReceiver processes 
responses, not requests - at least in case of a typical request/response MEP.
So the error message is misleading. It should be more general to be correct on 
the client side and the server side. It should be changed to:

Incoming message does not contain required Security header.

Thanks.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jira] Updated: (AXIS2-963) Problems with complex xml schemas in wsdl2java

2006-08-04 Thread Thilo Frotscher


Ups, sorry. My fault. I thought the schema location would be
a broken link. But you're right, it is not. The WSDL seems
to be ok and complies to the WS-I Basic Profile. So I'd
say there's a problem in the code generator.

Gruesse nach Deutschland :-)



Carsten Ziegeler wrote:

Thilo Frotscher schrieb:

Carsten,

The schema location URL in your WSDL does not point to a document.
Perhaps that's already the problem: the code generator just can't
load the schema.


Hi Thilo,

the schema location points to
"http://schemas.xmlsoap.org/ws/2005/02/trust/ws-trust.xsd"; which is a
valid schema. Or do you mean something different?

Thanks
Carsten



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-968) If a module's init() method throws an AxisFault, the initialization of the complete Axis2 web app fails

2006-08-03 Thread Thilo Frotscher (JIRA)
If a module's init() method throws an AxisFault, the initialization of the 
complete Axis2 web app fails 


 Key: AXIS2-968
 URL: http://issues.apache.org/jira/browse/AXIS2-968
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: core
Affects Versions: 1.0
Reporter: Thilo Frotscher
Priority: Critical


The interface module defines that method init() can throw an AxisFault. This is 
important, so that a module can report any problems in its initialization.
However, if a module throws this exception, the complete Axis2 web application 
fails to initialize and thus, the start page cannot be displayed in a browser.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jira] Updated: (AXIS2-963) Problems with complex xml schemas in wsdl2java

2006-08-03 Thread Thilo Frotscher


Carsten,

The schema location URL in your WSDL does not point to a document.
Perhaps that's already the problem: the code generator just can't
load the schema.

Also, try checking the WSDL for compliance with Basic Profile
using WS-I's analyzer tool.

Cheers,
Thilo



Carsten Ziegeler (JIRA) wrote:

 [ http://issues.apache.org/jira/browse/AXIS2-963?page=all ]

Carsten Ziegeler updated AXIS2-963:
---

Attachment: authentication.wsdl


Problems with complex xml schemas in wsdl2java
--

Key: AXIS2-963
URL: http://issues.apache.org/jira/browse/AXIS2-963
Project: Apache Axis 2.0 (Axis2)
 Issue Type: Bug
 Components: wsdl
   Reporter: Carsten Ziegeler
Attachments: authentication.wsdl


When trying to generate a service code using wsdl2java (latest svn), I get different 
errors depending on the databinding used. With "-d none" I get:
xception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to 
the name
RequestSecurityToken with namespace http://schemas.xmlsoap.org/ws/2005/02/trust 
  at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:235)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to 
the name RequestSecurityToken with namespace 
http://schemas.xmlsoap.org/ws/2005/02/trust at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:796)
at
With "-d adb" I get this exception:
Caused by: org.apache.axis2.schema.SchemaCompilationException:
Unsupported content Simple Content Extension !  at
org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCom
piler.java:979)
With "-d xmlbeans" I get the following exception:
...
Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
http://schemas.xmlsoap.org/ws/2004/08/addressing/:4:1571: error:
cvc-enumeration-valid:
 string value 'none' is not a valid enumeration value for type of
processContents attribute in xs:wildcard
at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGe
nerationUtility.java:235)
... 8 more




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-961) Tidy up phase configuration in axis2.xml

2006-08-01 Thread Thilo Frotscher (JIRA)
Tidy up phase configuration in axis2.xml


 Key: AXIS2-961
 URL: http://issues.apache.org/jira/browse/AXIS2-961
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: core
Affects Versions: 1.0
Reporter: Thilo Frotscher



The current state of the phase configuration in axis2.xml is confusing, 
especially for beginners.

1) In In-Flow the handler InstanceDispatch is configured to belong to phase 
PostDispatch. This phase does not exist in the current configuration.





2) In In-Flow the handlers RequestURIBasedDispatcher and 
SOAPActionBasedDispatcher belong to Transport phase, while in In-Fault-Flow 
they belong to phase Dispatch. This should be consistent.

3) The usage of capital letters in phase names should be consistent. Currently 
it's inflow, outflow, INfaultflow and Outfaultflow.

4) The comments that are supposed to mark which phases are pre-defined and 
where developers can insert custom phases are confusing and misleading. They 
also refer to phases that don't exist.
 I suggest inserting comments like this:
 


 
 

 

or like this., respectively:
 

 
 


 

Thank you very much,
Thilo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-945) Property clientData in generated CallbackHandler is unaccessible

2006-07-30 Thread Thilo Frotscher (JIRA)
Property clientData in generated CallbackHandler is unaccessible


 Key: AXIS2-945
 URL: http://issues.apache.org/jira/browse/AXIS2-945
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: client-api
Affects Versions: 1.0
Reporter: Thilo Frotscher


WSDL2Java generates an abstract callback handler class. You can pass its 
constructor a parameter for clientData.
When implementing your own callback handler that extends the generated abstract 
class, it can't access clientData because the property is private in the 
generated class and there's no getter-method.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Phases concept is confusing - bug or feature? Please discuss!

2006-07-30 Thread Thilo Frotscher


Hello,


However, when sending messages to this service, Axis2 1.0 will behave
differently. A handler that belongs to a global phase will be invoked for
*all* services and *all* operations after it was engaged with a *single*
service or *single* operation only. This is very confusing!


agreed , but that is the behavior   :-) .


If we agree that this behavior very confusing, then it should
really be changed. How are beginners supposed to understand this
concept? As the current version is still 1.0 and probably only few
people are using modules and phases in production today, there's
still a chance to make changes like this without sacrificing too
much backwards compatibility.



The problem is until you find the service and operation (until dispatch
happen) you dont know the operation specific chains. 


This only applies to incoming messages on the server side. The problem
I described applies to all flows.



So when you engage
a module to a service , then if add a handler to global phases as you
said it will run irrespective of the service. Since anyone can add
handler to global phases and no one keep track of that , at the run time
Axis2 can not figure out who add this handler into here.


My suggestion is as follows:

- it should not be allowed to engage a module with a service or operation
  if the module contains handlers that go to any of the global phases
  *before* dispatch phase. If somebody tries to do this, Axis2 should report an
  error. Modules with handlers in Transport/Security/PreDispatch phase
  can be engaged only globally, i.e. with all services and all operations,
  because this is what actually happens.
- only if all handlers of a module go to operation-specific phases or
  to global phases after dispatch, it should be allowed to engage them
  with a particular service or operation.



- handler method "cleanup" is never called


one more JIRA


I created a JIRA 2 months ago (AXIS2-653). It's unassigned so far.



I also think we need to take this into consideration , so +1 for the idea.
we need to call handler.onFault(); for all the prior handlers.


I created a new JIRA (AXIS2-942).



- it would be great if modules could be disengaged using the admin
frontend


pls create a JIRA so that we wont forget that.


Created AXIS2-943.



- Why is there a "Security" phase in th In Flow, but not in the Out Flow?
  Rampart puts its SecurityOutHandler into the "MessageOut" phase...
  Wouldn't it be easier to understand if there was a Security phase in
  the Out Flow as well?


Ruchith what do you think  ? I am +1 of doing this change.


Created AXIS2-944.

Cheers,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-944) Add security phase to out flow(s)

2006-07-30 Thread Thilo Frotscher (JIRA)
Add security phase to out flow(s)
-

 Key: AXIS2-944
 URL: http://issues.apache.org/jira/browse/AXIS2-944
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: core
Affects Versions: 1.0
Reporter: Thilo Frotscher


There is a "Security" phase in th In Flow, but not in the Out Flow. Rampart 
puts its SecurityOutHandler into the "MessageOut" phase...
Wouldn't it be easier to understand if there was a Security phase in the Out 
Flow as well?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-943) Add support for disengagement of modules to administration web frontend

2006-07-30 Thread Thilo Frotscher (JIRA)
Add support for disengagement of modules to administration web frontend
---

 Key: AXIS2-943
 URL: http://issues.apache.org/jira/browse/AXIS2-943
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: New Feature
  Components: core
Affects Versions: 1.0
Reporter: Thilo Frotscher


It would be great if modules could be disengaged using the admin frontend!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-942) If handler throws an exception, inform all prior handlers in same flow

2006-07-30 Thread Thilo Frotscher (JIRA)
If handler throws an exception, inform all prior handlers in same flow
--

 Key: AXIS2-942
 URL: http://issues.apache.org/jira/browse/AXIS2-942
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Improvement
  Components: core
Affects Versions: 1.0
Reporter: Thilo Frotscher


If a handler throws an exception in the In-Flow, the flow is cancelled 
immediately. AxisEngine carries on with an operation-specific OutFaultFlow (if 
there already is an operation context) and then with the global out fault flow. 
Instead of just cancelling the in-flow, there should be a mechanism that 
informs prior handlers of the in-flow about the occurrence of the exception, so 
that they have a chance to undo their functionality. Axis 1.x had something 
like this (onFault method).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Phases concept is confusing - bug or feature? Please discuss!

2006-07-26 Thread Thilo Frotscher


Hello Axis2 team!

I am trying to completely understand Axis2 phases, but while the concept
seems simple at first glance, I find it actually quite confusing the way
it is currently implemented.

There are two types of phases:
- global/system/pre-defined phases
- operation-specific phases

My understanding of the whole concept is that phases are used to define
*where* or *at which position* in the chain a particular handler will be
placed. Using the engagement mechanism you can define *if* or in which
cases a module/handler will be invoked (for all services, a service group,
a service or an operation).

The confusion starts if a handler is placed into one of the global phases,
let's say into PreDispatch. According to the theory above, we now know
*where* in the chain the handler would be invoked. We also know, that the
handler would *generally* be available to all services, because it
was not placed into an operation-specific phase.

Now, let's say you don't want to engage the module/handler globally.
Instead, you engage it with one particular service or even with one
particular operation. This can be done either by configuration file or
using the admin frontend. My expectation is then, that the handler will be
invoked *only* if a message is addressed to the service or operation I
engaged the module/handler with. This expectation is even confirmed when
I click on "Available Services" in the admin frontend, where services,
operations and their engaged modules are displayed. The engagement is
displayed *only* for the service or operation I picked.

However, when sending messages to this service, Axis2 1.0 will behave
differently. A handler that belongs to a global phase will be invoked for
*all* services and *all* operations after it was engaged with a *single*
service or *single* operation only. This is very confusing!

The problem is obvious with Rampart, however it works around this. It places
its handlers into global phases, so that they are always invoked, whether
security is needed or not. Whether it has any effect or not depends on the
configuration of a service or operation. Only if these configurations contain
any parameters for Rampart, then Rampart will do something. Otherwise it will
not. Hmmm... wouldn't the whole thing be easier to understand if Rampart could
be switched on/off for the single services or operations by engagement?

Perhaps I just misunderstand the concept. If that's the case please give some
advice. But if I am right, then please review this part of the phase concept.
IMHO it is very confusing that engaging a handler with *one* operation can mean
that the handler will be invoked for *all* services and *all* operations.


Apart from the above I found some minor issues:

- handler method "cleanup" is never called

- if a handler throws an exception in the In-Flow, the flow is cancelled
  immediately. AxisEngine carries on with an operation-specific OutFaultFlow
  (if there already is an operation context) and then with the global
  out fault flow. I think instead of just cancelling the in-flow, there
  should be a mechanism that informs prior handlers of the in-flow about the
  occurrence of the exception, so that they have a chance to undo their
  functionality. Axis 1.x had something like this (onFault method).

- it would be great if modules could be disengaged using the admin frontend

- on the client side, OutInAxisOperationClient (method "send") does *not*
  invoke receiveFault on the AxisEngine (and thereby InFaultFlow) if a
  service responses with a SOAP fault. Instead, it aways invokes receive
  (i.e. InFlow). I believe that this is a bug.

- Why is there a "Security" phase in th In Flow, but not in the Out Flow?
  Rampart puts its SecurityOutHandler into the "MessageOut" phase...
  Wouldn't it be easier to understand if there was a Security phase in the
  Out Flow as well?

Thank you very much for any help and advice.

Kind Regards,
Thilo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-653) Handler method "cleanup" is never called

2006-07-23 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-653?page=comments#action_12422878 ] 

Thilo Frotscher commented on AXIS2-653:
---

Can you please make sure that the cleanup-Method is called when a Handler is 
destroyed? Many thanks!


> Handler method "cleanup" is never called
> 
>
> Key: AXIS2-653
> URL: http://issues.apache.org/jira/browse/AXIS2-653
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0
>Reporter: Thilo Frotscher
>
> 1) My IDE couldn't find any references to method "cleanup" in the Axis2 
> source code. It's never called...
> 2) What happens if the handler's invoke method thows a fault? Javadoc for 
> "invoke" says that "onFault" would be called. But there is no such method...
> 3) User guide, page 4 
> - mentions a method called "revoke". There is no such method in interface 
> Handler. 
> - refers to green lines in sample configuration...there are no green lines
> - sample configuration contains mistakes
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (AXIS2-692) Service Archiver Wizard: Several bugs

2006-05-08 Thread Thilo Frotscher (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-692?page=all ]

Thilo Frotscher updated AXIS2-692:
--

Attachment: screenshot.jpg

> Service Archiver Wizard: Several bugs
> -
>
>  Key: AXIS2-692
>  URL: http://issues.apache.org/jira/browse/AXIS2-692
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

> Versions: 1.0
>  Environment: Axis2 1.0 final, Eclipse 3.1.2
> Reporter: Thilo Frotscher
>  Attachments: screenshot.jpg
>
> Opening the wizard using the "Select a wizard" dialog in Eclipse
> - after selecting "Axis2 Service Archiver" from the list, the wizard does not 
> start when clicking "Next". It only starts by double-clicking on the wizard's 
> name
> - this is a minor bug of course
> Using the Wizard
> - after selecting "Generate the service xml automatically" it happens 
> sometimes (but not always) that the "Next" button doesn't have any effect. 
> Clicking the "Finish" button results in a dialog box with the title "Error" 
> but no message. I am writing "sometimes" because the behaviour seems to be 
> dependent on the values the user entered on other pages of the wizard during 
> prior use.
> - the last page of the wizard is titled "set the output location and the 
> output file name", but actually a service name and a class name have to be 
> specified. The output location for the service archive can't be selected (but 
> would be nice to have).
> - on the same wizard page, the button "Load" always results in an error being 
> displayed. Clicking "Finish" results in the error message shown in the 
> screenshot (the folder "Service-copy" doesn't exist and couldn't be created 
> on my machine anyway, because my user account doesn't have write permissions 
> for the installation folder of Eclipse).
> - Generally, storing the values a user typed into the text fields seems to be 
> an issue when jumping backward and forward in the wizard using the 
> corresponding buttons or when using the wizard multiple times in a row.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (AXIS2-692) Service Archiver Wizard: Several bugs

2006-05-08 Thread Thilo Frotscher (JIRA)
Service Archiver Wizard: Several bugs
-

 Key: AXIS2-692
 URL: http://issues.apache.org/jira/browse/AXIS2-692
 Project: Apache Axis 2.0 (Axis2)
Type: Bug

Versions: 1.0
 Environment: Axis2 1.0 final, Eclipse 3.1.2
Reporter: Thilo Frotscher
 Attachments: screenshot.jpg

Opening the wizard using the "Select a wizard" dialog in Eclipse
- after selecting "Axis2 Service Archiver" from the list, the wizard does not 
start when clicking "Next". It only starts by double-clicking on the wizard's 
name
- this is a minor bug of course

Using the Wizard
- after selecting "Generate the service xml automatically" it happens sometimes 
(but not always) that the "Next" button doesn't have any effect. Clicking the 
"Finish" button results in a dialog box with the title "Error" but no message. 
I am writing "sometimes" because the behaviour seems to be dependent on the 
values the user entered on other pages of the wizard during prior use.

- the last page of the wizard is titled "set the output location and the output 
file name", but actually a service name and a class name have to be specified. 
The output location for the service archive can't be selected (but would be 
nice to have).

- on the same wizard page, the button "Load" always results in an error being 
displayed. Clicking "Finish" results in the error message shown in the 
screenshot (the folder "Service-copy" doesn't exist and couldn't be created on 
my machine anyway, because my user account doesn't have write permissions for 
the installation folder of Eclipse).

- Generally, storing the values a user typed into the text fields seems to be 
an issue when jumping backward and forward in the wizard using the 
corresponding buttons or when using the wizard multiple times in a row.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (AXIS2-691) Code Generator Wizard: namespace-package mapping is not editable

2006-05-08 Thread Thilo Frotscher (JIRA)
Code Generator Wizard: namespace-package mapping is not editable


 Key: AXIS2-691
 URL: http://issues.apache.org/jira/browse/AXIS2-691
 Project: Apache Axis 2.0 (Axis2)
Type: Bug

  Components: Tools  
Versions: 1.0
 Environment: Axis2 1.0 final, Eclipse 3.1.2
Reporter: Thilo Frotscher


After selecting "Generate Java from WSDL" and the corresponding WSDL file, the 
table with the namespace-package mappings is not editable.
Besides, the selection box for databindings contains only ADB and XML Beans. 
The other supported databinding are missing.
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-661) WSDL2Java generates wrong build.xml when jaxme option is used

2006-05-08 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-661?page=comments#action_12378376 ] 

Thilo Frotscher commented on AXIS2-661:
---


Sorry, I think my comment was mistakable. It's not the jaxme libraries (i.e. 
jar files) that the server can't find, but the generated files (classes, 
jaxb.properties, Configuration.xml). These files are contained in the aar file, 
but deploying the aar file is not enough: the same files have to be copied to 
webapps\axis2\WEB-INF\classes, otherwise there is an exception when the service 
is invoked. This way, the same files are deployed twice (aar file and classes 
folder)

The other to issues reported in my first comment apply to Axis2 1.0 final as 
well.

Thanks!
 



> WSDL2Java generates wrong build.xml when jaxme option is used
> -
>
>  Key: AXIS2-661
>  URL: http://issues.apache.org/jira/browse/AXIS2-661
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

>   Components: Tools
>  Environment: Axis2 1.0 RC5
> Reporter: Thilo Frotscher
> Assignee: Ajith Harshana Ranabahu

>
> When WSDL2Java is used with the jaxme option for databinding , there are two 
> bugs:
> - it generates a build.xml for the xmlbeans databinding instead for jaxme
> - ns2p option does not seem to work for jaxme (but works fine for adb and 
> xmlbeans)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-647) "Unbound namespace URI" when generating code for ADB and using chained schema imports

2006-05-07 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-647?page=comments#action_12378359 ] 

Thilo Frotscher commented on AXIS2-647:
---


Hello Ajith,

I tried this again with Axis2 1.0 final. The "Unbound namespace URI" exception 
is not thrown anymore, so this bug is fixed. Great!
However, I now get an exception on the client side, when the generated client 
code is trying to process the SOAP response:

java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement 
menu
at 
org.apache.axis2.RestaurantServiceStub.fromOM(RestaurantServiceStub.java:577)
at 
org.apache.axis2.RestaurantServiceStub.GetMenuList(RestaurantServiceStub.java:118)
at 
org.apache.axis2.MyADBServiceClient.testADB(MyADBServiceClient.java:52)
at org.apache.axis2.MyADBServiceClient.main(MyADBServiceClient.java:79)
Caused by: java.lang.RuntimeException: Unexpected subelement menu
at 
org.apache.axis2.RestaurantServiceStub$MenuList$Factory.parse(RestaurantServiceStub.java:1732)
at 
org.apache.axis2.RestaurantServiceStub$GetMenuListResponse$Factory.parse(RestaurantServiceStub.java:796)
at 
org.apache.axis2.RestaurantServiceStub.fromOM(RestaurantServiceStub.java:559)
... 3 more

I compared the SOAP responses that are sent by the service code generated from 
1 XSD with the SOAP responses sent from service code generated from 2 XSDs (see 
above). The SOAP responses are exactly the same.  Therefore the issue must be 
somewhere in the generated client code (when using 2 XSDs).



> "Unbound namespace URI" when generating code for ADB and using chained schema 
> imports
> -
>
>  Key: AXIS2-647
>  URL: http://issues.apache.org/jira/browse/AXIS2-647
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

>  Environment: Axis2 1.0 RC4
> Reporter: Thilo Frotscher
>  Attachments: Restaurant.xsd, RestaurantMessages.xsd, RestaurantService.aar, 
> RestaurantService.wsdl, restaurant-client-src.zip, restaurant-src.zip
>
> My scenario is as follows:
> - I defined the datatypes for my sample application in file Restaurant.xsd 
> and namespace R1
> - I defined the messages for communication with the RestaurantService in file 
> RestaurantMessages.xsd and namespace R2
> - RestaurantMessages.xsd imports Restaurant.xsd, since the messages make use 
> of the basic datatypes.
> - My WSDL imports RestaurantMessages.xsd
> - WS-I test tools show that this WSDL complies to BP
> - This scenario worked nicely with Axis 1.3
> I generated service and client code for this WSDL with WSDL2Java and ADB 
> option. When I send a message to the service using the generated proxy, I get 
> an "Unbound namespace URI" error for namespace R1( ! ) on the server side. 
> That is interesting, because the messages that are sent back and forth are 
> all in namespace R2 and my request message does not contain any reference to 
> R1 whatsoever. However, the response message (R2) is supposed to contain 
> types defined in Restaurant.xsd.
>  
> If I move all the datatype definitions from file Restaurant.xsd into 
> RestaurantMessages.xsd and thus from R1 to R2, everything works fine.
> Apparently Axis2 / ADB has issues with chained imports, perhaps only if not 
> all of the imports belong to the same namespace.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-661) WSDL2Java generates wrong build.xml when jaxme option is used

2006-05-07 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-661?page=comments#action_12378353 ] 

Thilo Frotscher commented on AXIS2-661:
---


PS: The above issues apply to Axis2 1.0 final as well.


> WSDL2Java generates wrong build.xml when jaxme option is used
> -
>
>  Key: AXIS2-661
>  URL: http://issues.apache.org/jira/browse/AXIS2-661
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

>   Components: Tools
>  Environment: Axis2 1.0 RC5
> Reporter: Thilo Frotscher
> Assignee: Ajith Harshana Ranabahu

>
> When WSDL2Java is used with the jaxme option for databinding , there are two 
> bugs:
> - it generates a build.xml for the xmlbeans databinding instead for jaxme
> - ns2p option does not seem to work for jaxme (but works fine for adb and 
> xmlbeans)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-661) WSDL2Java generates wrong build.xml when jaxme option is used

2006-05-07 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-661?page=comments#action_12378352 ] 

Thilo Frotscher commented on AXIS2-661:
---


There's one more issue: in case of jaxme databinding it is not sufficient to 
deploy the aar file that was generated by the build.xml. For some reason the 
server can't find the class files and configuration files for jaxme when the 
service is invoked. Therefore, I had to copy all class files and config file to 
webapps/classes in addition to deploying the aar file. After that, the service 
worked fine...


> WSDL2Java generates wrong build.xml when jaxme option is used
> -
>
>  Key: AXIS2-661
>  URL: http://issues.apache.org/jira/browse/AXIS2-661
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

>   Components: Tools
>  Environment: Axis2 1.0 RC5
> Reporter: Thilo Frotscher
> Assignee: Ajith Harshana Ranabahu

>
> When WSDL2Java is used with the jaxme option for databinding , there are two 
> bugs:
> - it generates a build.xml for the xmlbeans databinding instead for jaxme
> - ns2p option does not seem to work for jaxme (but works fine for adb and 
> xmlbeans)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-662) JAR files for jaxme missing in axis2.war

2006-05-04 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-662?page=comments#action_12377962 ] 

Thilo Frotscher commented on AXIS2-662:
---


Thanks. But then there should be some documentation for this :-)

- what's the name of the properties file and where does it have to be stored
- which jars have to be put into the classpath for the several data bindings


> JAR files for jaxme missing in axis2.war
> 
>
>  Key: AXIS2-662
>  URL: http://issues.apache.org/jira/browse/AXIS2-662
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

>   Components: core
>  Environment: Axis2 1.0 RC5
> Reporter: Thilo Frotscher

>
> The following JAR files are missing in axis2.war. They are needed if a 
> service uses jaxme databinding.
> jaxmeapi-0.5.1.jar, stax-utils-20060501.jar, jaxme2-0.5.1, jaxmexs-0.5.1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




[jira] Commented: (AXIS2-653) Handler method "cleanup" is never called

2006-05-04 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-653?page=comments#action_12377961 ] 

Thilo Frotscher commented on AXIS2-653:
---

IMHO it would be very important for handlers to be notified if something went 
wrong, so that they have a chance to redo actions that were caused by the 
message causing the error. Imagine a handler responsible for billing, which 
tracks incoming messages to charge clients afterwards. A client would not want 
to pay for request that didn't go through due to exceptions that occured - 
let's say - in a logging handler that was invoked after the billing handler.
Axis 1.x had a very good mechanims, in which all prior handlers were informed 
when an error occured in a subsequent handler. Axis2 should have this, too.

Regarding to cleanup: handlers should be able to cleanup the ressources they 
used (e.g. database connections etc)  

> Handler method "cleanup" is never called
> 
>
>  Key: AXIS2-653
>  URL: http://issues.apache.org/jira/browse/AXIS2-653
>  Project: Apache Axis 2.0 (Axis2)
> Type: Bug

>   Components: core
>     Versions: 1.0
> Reporter: Thilo Frotscher

>
> 1) My IDE couldn't find any references to method "cleanup" in the Axis2 
> source code. It's never called...
> 2) What happens if the handler's invoke method thows a fault? Javadoc for 
> "invoke" says that "onFault" would be called. But there is no such method...
> 3) User guide, page 4 
> - mentions a method called "revoke". There is no such method in interface 
> Handler. 
> - refers to green lines in sample configuration...there are no green lines
> - sample configuration contains mistakes
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

2006-05-04 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12377806 ] 

Thilo Frotscher commented on AXIS2-663:
---

Exactly that's the problem...that WSDL2Java generates code with only a single 
service in mind. The problem arises, when you have to use WSDL2Java more than 
once in the same project. It happens quite often that you want to implement 
more than one service in the same project (or clients for more than one service 
in the same project).
In this case, you would run WSDL2Java several times, and then the generated 
files overwrite each other. That's why it would be great to have the ability to 
separate the results of multiple WSDL2Java calls from each other.

> WSDL2Java: allow user to specify separate destination folders for src and 
> resources
> ---
>
>  Key: AXIS2-663
>  URL: http://issues.apache.org/jira/browse/AXIS2-663
>  Project: Apache Axis 2.0 (Axis2)
> Type: Improvement

>   Components: Tools
> Versions: 1.0
>  Environment: Axis2 1.0 RC5
> Reporter: Thilo Frotscher

>
> WSDL2Java generates source code, resources (service.xml, wsdl, xsd) and a 
> build.xml file.
> The user can specify a destination folder for all of these files, but they 
> all go into the same folder.
> When generating code for more than one service, you'll generally want to have 
> the source code for all services in the same src-folder.
> That's why you would specify the same destination folder for all services. 
> However, in this causes the problem that the build.xml files 
> and the resources for all the services go into the same folder as well and 
> interfere with each other, or a overwritten respectively.
> Therefore, it would be great if the user could specify two separate 
> destination folders: one for the source code and the second one for 
> the build file and the resources. Of course, the build files would have to 
> reflect the new folder structure.
> Alternative suggestion: WSDL2Java could do this automatically by introducing 
> a service-specific folder
> under resouces:
> /resources/MyService1/service.xml
> /resources/MyService1/MyService.wsdl
> /resources/MyService1/MyService.xsd
> /resources/MyService2/service.xml
> /resources/MyService2/MyService.wsdl
> /resources/MyService2/MyService.xsd
> For the build files a similar solution could be used.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (AXIS2-664) Exception when generating code for C#

2006-05-03 Thread Thilo Frotscher (JIRA)
Exception when generating code for C#
-

 Key: AXIS2-664
 URL: http://issues.apache.org/jira/browse/AXIS2-664
 Project: Apache Axis 2.0 (Axis2)
Type: Bug

  Components: Tools  
Versions: 1.0
 Environment: Axis2 1.0 RC5
Reporter: Thilo Frotscher



WSDL2Code cannot find code template for C#...

Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: template for this writer 
is not found!
at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: template for this writer 
is not found!
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:168)
... 1 more
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: template for 
this writer is not found!
at 
org.apache.axis2.wsdl.codegen.writer.ClassWriter.loadTemplate(ClassWriter.java:80)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeClass(AxisServiceBasedMultiLanguageEmitter.java:1346)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeSkeletonInterface(AxisServiceBasedMultiLanguageEmitter.java:1092)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:686)
at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
... 2 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

2006-05-03 Thread Thilo Frotscher (JIRA)
WSDL2Java: allow user to specify separate destination folders for src and 
resources
---

 Key: AXIS2-663
 URL: http://issues.apache.org/jira/browse/AXIS2-663
 Project: Apache Axis 2.0 (Axis2)
Type: Improvement

  Components: Tools  
Versions: 1.0
 Environment: Axis2 1.0 RC5
Reporter: Thilo Frotscher


WSDL2Java generates source code, resources (service.xml, wsdl, xsd) and a 
build.xml file.
The user can specify a destination folder for all of these files, but they all 
go into the same folder.

When generating code for more than one service, you'll generally want to have 
the source code for all services in the same src-folder.
That's why you would specify the same destination folder for all services. 
However, in this causes the problem that the build.xml files 
and the resources for all the services go into the same folder as well and 
interfere with each other, or a overwritten respectively.
Therefore, it would be great if the user could specify two separate destination 
folders: one for the source code and the second one for 
the build file and the resources. Of course, the build files would have to 
reflect the new folder structure.

Alternative suggestion: WSDL2Java could do this automatically by introducing a 
service-specific folder
under resouces:

/resources/MyService1/service.xml
/resources/MyService1/MyService.wsdl
/resources/MyService1/MyService.xsd
/resources/MyService2/service.xml
/resources/MyService2/MyService.wsdl
/resources/MyService2/MyService.xsd

For the build files a similar solution could be used.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (AXIS2-661) WSDL2Java generates wrong build.xml when jaxme option is used

2006-05-03 Thread Thilo Frotscher (JIRA)
WSDL2Java generates wrong build.xml when jaxme option is used
-

 Key: AXIS2-661
 URL: http://issues.apache.org/jira/browse/AXIS2-661
 Project: Apache Axis 2.0 (Axis2)
Type: Bug

  Components: Tools  
 Environment: Axis2 1.0 RC5
Reporter: Thilo Frotscher



When WSDL2Java is used with the jaxme option for databinding , there are two 
bugs:

- it generates a build.xml for the xmlbeans databinding instead for jaxme
- ns2p option does not seem to work for jaxme (but works fine for adb and 
xmlbeans)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (AXIS2-662) JAR files for jaxme missing in axis2.war

2006-05-03 Thread Thilo Frotscher (JIRA)
JAR files for jaxme missing in axis2.war 
-

 Key: AXIS2-662
 URL: http://issues.apache.org/jira/browse/AXIS2-662
 Project: Apache Axis 2.0 (Axis2)
Type: Bug

  Components: core  
 Environment: Axis2 1.0 RC5
Reporter: Thilo Frotscher



The following JAR files are missing in axis2.war. They are needed if a service 
uses jaxme databinding.

jaxmeapi-0.5.1.jar, stax-utils-20060501.jar, jaxme2-0.5.1, jaxmexs-0.5.1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXIS2-647) "Unbound namespace URI" when generating code for ADB and using chained schema imports

2006-05-03 Thread Thilo Frotscher (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-647?page=comments#action_12377585 ] 

Thilo Frotscher commented on AXIS2-647:
---

Did you only try to generate the code? Or did you actually deploy the service 
and use the generated stub to send a message to the service?

Code generation works fine for me as well. However, after deploying the service 
and using the stub to send a message, I get an "Unbound namespace URI" 
exception if my WSDL imports a schema which imports a second schema.
After moving all types from the second schema to the first schema and 
restarting WSDL2Java everything works fine...

That's why I think that there's a bug in how WSDL2Java deals with schemas that 
import other schemas. 
I tested the latest sources from SVN and the problem is still there. Here's the 
stack trace:

org.apache.axis2.AxisFault: Unbound namespace URI 
'http://www.frotscher.com/ws/Restaurant'
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287)
at 
org.apache.axis2.RestaurantServiceStub.GetMenuList(RestaurantServiceStub.java:113)
at 
com.frotscher.restaurant.client.MyServiceClient.testADB(MyServiceClient.java:40)
at 
com.frotscher.restaurant.client.MyServiceClient.main(MyServiceClient.java:85)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Unbound namespace 
URI 'http://www.frotscher.com/ws/Restaurant'; nested exception is: 
javax.xml.stream.XMLStreamException: Unbound namespace URI 
'http://www.frotscher.com/ws/Restaurant'
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:219)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:43)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.stream.XMLStreamException: Unbound namespace URI 
'http://www.frotscher.com/ws/Restaurant'
at 
com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamWriter.java:240)
at 
com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWriter.java:273)
at 
org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeStartElement(MTOMXMLStreamWriter.java:87)
at 
org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:123)
at 
org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:73)
at 
org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:56)
at 
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:315)
at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:790)
at 
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:171)
at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:809)
at 
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:381)
at 
org.apache.axis

  1   2   >