Re: All Methods in ServiceSkeleton Generated by WSDL2Java.bat with Void Return Types

2007-04-05 Thread Amila Suriarachchi

remove





  



  


  

names from here as well as follows






  



  


  




On 4/5/07, Bill Treuman <[EMAIL PROTECTED]> wrote:


 Thank yo very much, Amila.  This change has worked great for three of the
four web service methods.  But the fourth method (in the original wsdl,
included below), which follows a somewhat different naming convention, still
causes an empty method which takes no parameter and returns void to be
included in the xyzServiceSkeleton module.  Here are what I believe are the
relevant portions of the wsdl:


  

  


  

  

  

  


  

  

  

  
  

  


  

  



Thanks very much again. . . Bill

-Original Message-
*From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, April 05, 2007 5:35 AM
*To:* axis-user@ws.apache.org; [EMAIL PROTECTED]
*Subject:* Re: All Methods in ServiceSkeleton Generated by WSDL2Java.batwith 
Void Return Types

hi,
in your operations you have specified the input name as it is in the
Message name


 
 
   

here message name (VehicleWithIdPlus TenThousandRequestMessage) and the
input name (VehicleWithIdPlusTenThou sandRequestMessage) are equeal.

In this case wsdl4j set null to wsdlmessage. I am not sure this is wrong
with the wsdl spec. But removing input and output message names would make
it fine.


 
 
   





On 4/4/07, Bill Treuman <[EMAIL PROTECTED] > wrote:
>
> I'm using wsdl2java.bat to generate the Axis2 server-side, as follows:
>
> wsdl2java -uri  testVehicle.wsdl -p com.carquest.ws.testvehicle -o
> server -s -ss -sd -d adb -wv 1.1
>
> Oddly, in the generated file xyzServiceSkeleton.java, every generated
> method
> has a void return type and takes no input arguments.  Likewise, in the
> generated file xyzServiceMessageReceiverInOut.java, every referenced
> method
> uses getDefaultEnvelope( ).  Here is an example of the generated code in
> the
> latter file:
>
> //doc style
> skel.AcesOptions();
> envelope = getSOAPFactory(msgContext).getDefaultEnvelope();
>
> When I generate your sample service and client, from Axis2UserGuide, the
> proper argument values and return types are included, and the code in
> the
> generated MessageReceiverInOut reflects this.
>
> I presume there must be some problem in my wsdl file, but I can't find
> it.
> The entire contents of testVehicle.wsdl follows.  What am I missing?
>
> Thank you very much.
> ---
>
> 
>  targetNamespace="http://ws.carquest.com/2006/services/vehicle "
> xmlns:wns="http://ws.carquest.com/2006/services/vehicle";
> xmlns:tns="http://ws.carquest.com/2006/types/vehicle "
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/ ">
>   
>
>  targetNamespace="http://ws.carquest.com/2006/services/vehicle "
> xmlns="http://www.w3.org/2001/XMLSchema";>
>
>   
>
>   
> 
>   
> 
> 
>   
> 
>   
>   
> 
>   
> 
>   
> 
>   
>
>   
> 
>   
> 
>   
>   
> 
>   
> 
>   
> 
>   
>
>   
> 
>   
> 
>   
> 
>   
>   
> 
>   
> 
>   
> 
>   
>
>   
> 
>   
> 
> 
>   
> 
>   
>
>   
> 
>   
> 
> 
>   
> 
>   
>
> 
>
>
> 
> 
>
>  targetNamespace="http://ws.carquest.com/2006/types/vehicle";
> xmlns=" http://www.w3.org/2001/XMLSchema";>
>
>   
> 
>minOccurs="0"/>
>   
>   
>
>minOccurs="0"/>
>minOccurs="0"/>
>minOccurs="0"/>
>
>minOccurs="0"/>
>minOccurs="0"/>
>minOccurs="0"/>
>
> 
>   
>
>   
> 
>   
> 
>   
>
>   
> 
>   
>   
> 
>   
>
>   
> 
>   
>maxOccurs="unbounded"/>
> 
>   
>
> 
>
>   
>
>
>   
>  name="input"/>
>   
>   
>  name="output"/>
>   
>
>   
> 
>   
>   
> 
>   
>
>   
> 
>   
>   
> 
>   
>
>   
> 
>   
>   
> 
>   
>
>
>   
>
>  parameterOrder="input">
>message="wns:VehicleWithIdPlusTenThousandRequestMessage"
>   name="VehicleWithIdPlusTenThousandRequestMessage"/>
>message="wns:VehicleWithIdPlusTenThousandResponseMessage"
>name="VehicleWithIdPlusTenThousandResponseMessage"/>
> 
>
> 
>

Re: Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Angel Todorov

Hi Deepal

Let me suggest that the problem arises because Axis2 doesn't take the
service namespace into account. In my opinion services should be
differentiated by both name and namespace. This should be the "key"
for any mapping. Imagine that I have many clients wanting to deploy
services - then it will be guaranteed that there are collisions in
names. If they would use their own company namespace, in addition to
that, this problem would be certainly avoided. Thanks.

Regards,
Angel

On 4/6/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:

Hi All;

I think this a major issue AFAIK , if some one generate services for two
wsdls then he will get two services with the same name . Then the issue
is how do you differentiate the two ? you can not deploy the files with
the same name to services directory (only one will be picked up).
Therefore I think we need to fix this b4 the release and I think we
should either pick WSDL file name as the service aar name or the one of
the service name in the wsdl as the service aar file name.

Thanks
Deepal

Alistair Young wrote:

>wsdl2java now creates the service as Service.aar instead of
>ServiceName.aar. e.g. previously, if your service was called
>MinervaService, you would get:
>build/lib/MinervaService.aar
>
>now you get:
>build/lib/Service.aar
>
>so you have to rename before deploying (as they're all called Service.aar
>now)
>
>Alistair
>
>
>
>

--
Thanks,
Deepal

"The highest tower is built one brick at a time"



-
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]



Re: Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Deepal Jayasinghe
Hi All;

I think this a major issue AFAIK , if some one generate services for two
wsdls then he will get two services with the same name . Then the issue
is how do you differentiate the two ? you can not deploy the files with
the same name to services directory (only one will be picked up).
Therefore I think we need to fix this b4 the release and I think we
should either pick WSDL file name as the service aar name or the one of
the service name in the wsdl as the service aar file name.

Thanks
Deepal

Alistair Young wrote:

>wsdl2java now creates the service as Service.aar instead of
>ServiceName.aar. e.g. previously, if your service was called
>MinervaService, you would get:
>build/lib/MinervaService.aar
>
>now you get:
>build/lib/Service.aar
>
>so you have to rename before deploying (as they're all called Service.aar
>now)
>
>Alistair
>
>
>  
>

-- 
Thanks,
Deepal

"The highest tower is built one brick at a time"



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



Configuring AXIS2 programmatically

2007-04-05 Thread Nadir Amra
Is there a way to configure AXIS 2 programmatically - that is, from a 
remote system?  Assume that AXIS 2 is running, is there a way from another 
system to interact with AXIS 2 to start/stop, activate/deactivate a Web 
service?  If so, how?

Thanks in advance.

Nadir K. Amra


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



Re: [Axis2][Rampart] How to sign multiple XML-Elements?

2007-04-05 Thread aaron aston
I'm doing this in my axis2.xml (if I understand your question  
correctly):



{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}To;
{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyTo;
{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}MessageID;
{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}Action


Signatures are generated for each of the elements ... the ";"  
separator was the key to getting this to work ...


On 5-Apr-07, at 7:48 AM, Jochen Zink wrote:


Hello,

I have a SOAP-Message with UsernameToken and Timestamp. I want to  
sign the SOAP-Body, TimeStamp and UsernameToken Element...


In the OutFlowElement is a signatureParts Element, where I can  
specify the signed Parts of a soap message. But it is not possible  
for me, to specify more than one Element inside of signatureParts.  
Is it possible to specify more than one? If yes, has anyone a  
little example for me? Every try of me fails.


Thanks!

___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


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



_
Aaron Aston | Twisted Pair | 905.852.0950






Re: [Axis2] Using custom SSLSocketFactory or ssl connection

2007-04-05 Thread aaron aston
I think I just did this to support self-signed certs ...  Axis2 uses  
the Apache HttpClient instead of the 'normal' Java  
HttpURLConnection.  You can configure a new 'https' protocol using  
the HttpClient API, specifying your own socket factory.


Protocol protocol = new Protocol("https", new LenientSslSocketFactory 
(trustManagers), 443);

Protocol.register("https", protocol);

where LenientSslSocketFactory implements the HttpClient interface  
SecureProtocolSocketFactory.


er ... SecureProtocolSocketFactory doesn't seem to be related to  
javax.net.SocketFactory at all though ...


Aaron.


On 5-Apr-07, at 4:39 PM, Mahesh Rachakonda wrote:

I have been using Axis2 client with default JSSE to create ssl  
connections. Now I have a need to use Entrust certificate stores,  
so I can provide a JSSE SSLSocketFactory or a socket to Axis2. I am  
having a hard time figuring out how to go about it. I see that the  
previous versions (Axis) offered the following approach which is no  
longer available:


org.apache.axis.AxisProperties.setProperty 
("axis.socketSecureFactory", "mypackage.MySSLSocketFactory");


Any help is sincerely appreciated. Thanks!

Mahesh








Re: Addressing

2007-04-05 Thread aaron aston
I just went through the pain of getting Axis2 to work with WSE2.0,  
perhaps some of my experience relates.


I think the WS-Addressing support in Axis is 'deprecated'.  I  
remember reading a mailing list post indicating that "only one person  
is using it".  I switched from Axis 1.x to Axis2 for just this reason.


The addressing module in Axis2 supports the current W3C  
recommendation by default;  the namespace for this version is "http:// 
www.w3.org/2005/08/addressing".  You can make Axis2 downgrade to the  
'submission' version (ie: the version as submitted to the W3C by IBM,  
BEA, and Microsoft, namespace "http://schemas.xmlsoap.org/ws/2004/08/ 
addressing") with the following code:


  ConfigurationContext config = ...;
  config.setProperty(AddressingConstants.WS_ADDRESSING_VERSION,  
AddressingContstants.Submission.WSA_NAMESPACE);

  ...
  SomeStub stub = new SomeStub(config, endpoint);
  ...

For your reference, the AddressingConstants source is available at:
  http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/ 
modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java


To interoperate with WSE2.0 I had to hack the Axis2 source, changing  
2004/08 to 2004/03 ...


Aaron.


On 5-Apr-07, at 12:34 PM, Chau, Hoang wrote:


Hi,

I used Axis1.4 client to communicate with .Net webservice server  
(WSE3.0) and I got the following error when I tried to invoke the  
methods:


Exception in thread "main" AxisFault

faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- 
wssecurity-secext-1.0.xsd}Security


faultSubcode:

faultString: Header http://schemas.xmlsoap.org/ws/2004/08/ 
addressing:Action for ultimate recipient is required but not  
present in the message.


faultActor:

faultNode: http://fsettestprod.edd.ca.gov/fsetproxy/fsetservice.asmx

faultDetail:

{http://xml.apache.org/axis/}stackTrace:Header http:// 
schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate  
recipient is required but not present in the message.


It looks like my Axis client using different addressing URL than  
the server.  Any help would be appreciate.



Hoang





This message and any attachments are intended only for the use of  
the addressee and may contain information that is privileged and  
confidential. If the reader of the message is not the intended  
recipient or an authorized representative of the intended  
recipient, you are hereby notified that any dissemination of this  
communication is strictly prohibited. If you have received this  
communication in error, notify the sender immediately by return  
email and delete the message and any attachments from your system.


_
Aaron Aston | Twisted Pair | 905.852.0950






Re: Method that returns HashMap[]

2007-04-05 Thread Martin Gainty
otherwise use SequencedHashMap
http://www.docjar.com/docs/api/org/apache/axis/overview-summary.html

Synchronized? use Collections.synchronizedMap(Map) 
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collections.html

if you want an ordered Collection and dont care about dupes then use List 
http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html

if you not want dupes use Set
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Set.html

HTH
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

  - Original Message - 
  From: Tim Chan 
  To: axis-user@ws.apache.org 
  Sent: Wednesday, April 04, 2007 6:50 PM
  Subject: Method that returns HashMap[]


  Hi,

  Can I get some pointers about implementing a service method that returns 
HashMap[]?

  In my implementation, the server method returns a HashMap[] w/ 3 HashMap 
objects.  However, on the client end, the array contains 3 null objects! 

  Any pointers on this?  Thanks.

  -Tim


[Axis2] Using custom SSLSocketFactory or ssl connection

2007-04-05 Thread Mahesh Rachakonda

I have been using Axis2 client with default JSSE to create ssl connections.
Now I have a need to use Entrust certificate stores, so I can provide a JSSE
SSLSocketFactory or a socket to Axis2. I am having a hard time figuring out
how to go about it. I see that the previous versions (Axis) offered the
following approach which is no longer available:

org.apache.axis.AxisProperties.setProperty("axis.socketSecureFactory", "
mypackage.MySSLSocketFactory");

Any help is sincerely appreciated. Thanks!

Mahesh


Extracting information from soap messages.

2007-04-05 Thread Inder Dhillon
Hello

I am a new user of Axis2. I have one question that can we induce our handler
to extract the tags from the soap messages i.e. from both headers and body
into a file. And if we can then in which phase should I include this
handler. 

Thanks in advance.

Inder


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



[AXIS2] Issues in using WSDL2JAVA, AxisFault and SSL

2007-04-05 Thread Shaoguang Cong
 I posted couple of my questions, but got no complete answer. I'd very 
appreciate if anyone of the Axis 2 dev can look at it.   
  1. The generated server skeleton interface doesn't have "throws 
java.rmi.RemoteException" anymore.  So I cannot throw AxisFaut directly.  
Should I convert all server exception to RuntimeException? Is there any impact 
on how client consume the exception?
   
  2. In Axis 1.3, EPR is defined like 
http://hostname:port/axis/services/   
  Now for Axis 2, EPR has to be something like 
http://hostname:port/axis2/services/
  Why makes this change? Is there any configuration option on the server side 
to make it still work for clients using the Axis1.3 version of EPR?
   
  3. SSL connection:  Is there a way to trust all certificates - not need to 
add server certificates to client trustStore?  I did that for Axis 1.3 by 
System.setProperty("axissocketSecureFactory", "SunFakeTrustSocketFactory"). 
 It looks AXis 2 is asking  to use SecureSocketFactory (or 
SSLProtocolSocketFactory).  I wonder if there's a similar mechanism for Axis 2 
that can let you bypass the validation.  Or is there a way to access the 
HttpConnection from Axis 2 client stub?
   
  Thank you.
  Shaoguang

Shaoguang Cong <[EMAIL PROTECTED]> wrote:
  Date: Tue, 3 Apr 2007 12:02:42 -0700 (PDT)
From: Shaoguang Cong <[EMAIL PROTECTED]>
Subject: [AXIS2] WSDL2JAVA generated interface code is missing RemoteException
To: axis-user@ws.apache.org

  Anyone knows why the generated java skeleton interface doesn't have "throws 
java.rmi.RemoteException" anymore? Since AXIS 2 is still dealing with AxisFault 
which is a RemoteException, should the "thows" still be part of the method 
signature?
   
  The client stub does have the "throws" there.
   
  Thanks.
  Shaoguang  
  
 

-
  No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

Re: java.util.Map and more specifically HashMap

2007-04-05 Thread Anne Thomas Manes

You can (and should) create a layer of abstraction between your
interface and the EJB.

On 4/4/07, Xinjun Chen <[EMAIL PROTECTED]> wrote:

But sometimes exposing a Java collection is inevitable. For example, when
your client ask you to expose their existing EJBs as web services, and the
EJBs contain some Java collection types as return types or method argument
types, then we have no way but to generate binding for Java collection
types.
Moreover, using arrays to replace collections is somewhat less convenient.

Regards,
Xinjun


On 4/4/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
>
> The better solution is not to expose a Java Collection through your
> interface. As a general rule, the interface should expose simple
> types, beans, and arrays -- no collections.
>
> Anne
>
> On 4/4/07, Nilesh Ghorpade <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I guess the use of xsd:anyType is correct in case of a java collection
being
> > used in return type or as one of the input parameters. However the first
> > issue which Borislav is facing is related to the generation of the
> > java.util.xsd.Map class. Even I have come across such issues and was not
> > able to get over them. I had to apply an XSL on the generated WSDL for
> > converting the java.util.xsd and java.util namespaces to xsd:anyType.
This
> > way I was able to get over the issue as far as code generation was
> > concerned.
> >
> > Secondly the Helper classes which were generated from the WSDL mapped
the
> > xsd:anyType to be OMElement and hence in the Helper classes I had to
write
> > my own code wherein I had to convert the OMElement to the Map during
> > de-serialization and Map to OMElement during serialization.
> >
> >
> > Regards
> >
> > NIlesh
> >
> >
> > - Original Message 
> > From: Lahiru Sandakith < [EMAIL PROTECTED]>
> > To: axis-user@ws.apache.org
> > Sent: Wednesday, April 4, 2007 9:51:06 AM
> > Subject: Re: java.util.Map and more specifically HashMap
> >
> > Hi Borislav,
> >
> > I am  trying to understand the requirement. This is what I did,I just
> > include a method as yours in a pojo class and generated a wsdl from that
> > using the codegen tool. So as expectedly because you have used a
collection
> > as the return type the wsdl include
> >
> > 
> > 
> > 
> >  > type="xs:anyType" />
> > 
> > 
> > 
> >
> > anyType as element type of the return values, so what that means the
output
> > from the web service can contain any kind of valid xml. So from this
service
> > you can generate the skeleton and include your logic inside that
skeleton to
> > create the service and deploy that. AFAIK since messages passes are in
xml
> > you have to implement the logic to according to that inside service
> > skeleton.
> >
> > Thanks
> >
> > Lahiru
> >
> >
> > On 4/2/07, Borislav Kirilov < [EMAIL PROTECTED]> wrote:
> > > Hello! I'm trying to generate code for a method with the following
> > > signature :
> > > public Map listQueries()
> > >
> > > I tried with the code generator plug-in for Eclipse available from
> > > http://ws.apache.org/axis2/tools/index.html
> > > The first problem that I have is that for returning the Map type, the
> > > tool generates from the WSDL additional package which name is
> > > java.util.xsd that contains the Map type description, but this is a
> > > wrong class name, because java, sun and javax are reserved for the
Java
> > > Virtual Machine!
> > > The other problem is that this Map description has nothing in common
> > > with the original java.util.Map type and hence gives me the following
> > > exception:
> > > org.apache.axis2.AxisFault: java.util.HashMap
> > > at
> > >
> >
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
> > > at
> > >
> >
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
> > > at
> > >
> >
clark.webinterface.webadapter.ClarkWebServiceStub.listQueries
> > (ClarkWebServiceStub.java :4413)
> > >
> > > I have attached the generated classes from the java.util.xsd package.
> > >
> > > Has anyone met the same problem? If you have please share your
experience!
> > >
> > >
> > >
> > > /**
> > > * ExtensionMapper.java
> > > *
> > > * This file was auto-generated from WSDL
> > > * by the Apache Axis2 version: #axisVersion# #today#
> > > */
> > >
> > > package clark.webinterface.util.xsd;
> > > /**
> > > *  ExtensionMapper class
> > > */
> > >
> > > public  class ExtensionMapper{
> > >
> > >   public static java.lang.Object
getTypeObject(java.lang.String
> > namespaceURI,
> > >
> > java.lang.String typeName,
> > >
> > javax.xml.stream.XMLStreamReader reader) throws
> > java.lang.Exception{
> > >
> > >
> > >   if (
> > >  

Warning: Newbie Install Question Question

2007-04-05 Thread Ellenberger, John
I had no problem getting Tomcat/Axis2 running on Windooz but I can't get
it to work on my Fedora platform which really surprised me.  
 
On Fedora 6 running Tomcat 5.5.17 (part of the distro).  Added
Axis2-1.1.1 and jdk 1.5.0.11.  Tomcat works just fine near as I can
tell.  Axis seems to deploy correctly and the webpage is available
however when I click on the Validate link I get "internal server error".
I've double checked everything.  Nothing obvious in the tomcat logs.
Environmentals all seem to be defined correctly.  Tried building the war
and using the predefined war.  No joy.
 
How do I debug this?
 

John Ellenberger
-
+1 781 852 8945 (T)
+1 978 421 5176 (M)
[EMAIL PROTECTED]


 


Addressing

2007-04-05 Thread Chau, Hoang
Hi,
 
I used Axis1.4 client to communicate with .Net webservice server
(WSE3.0) and I got the following error when I tried to invoke the
methods:
 
Exception in thread "main" AxisFault

faultCode:
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-sece
xt-1.0.xsd}Security

faultSubcode: 

faultString: Header
http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate
recipient is required but not present in the message.

faultActor: 

faultNode: http://fsettestprod.edd.ca.gov/fsetproxy/fsetservice.asmx

faultDetail: 

{http://xml.apache.org/axis/}stackTrace:Header
http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate
recipient is required but not present in the message.

It looks like my Axis client using different addressing URL than the
server.  Any help would be appreciate.

 

Hoang

 

 



-
This message and any attachments are intended only for the use of
the addressee and may contain information that is privileged and
confidential. If the reader of the message is not the intended
recipient or an authorized representative of the intended
recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this
communication in error, notify the sender immediately by return
email and delete the message and any attachments from your system.

Re: Re : Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Patrick Houbaux




Check links in this message below ;)

Cheers,
Patrick.

Julien HENRY wrote:

  Can't manage to find 1.2-rc2 in releases. The latest release seems to be 1.1.

++

Julien

- Message d'origine 
De : Thilina Gunarathne <[EMAIL PROTECTED]>
À : axis-user@ws.apache.org
Envoyé le : Jeudi, 5 Avril 2007, 14h00mn 59s
Objet : Re: Re : [Axis2] Axis2 1.2 RC2 Released

Snapshots,
http://people.apache.org/repo/m2-snapshot-repository/

Releases,
http://people.apache.org/repo/m2-ibiblio-rsync-repository/

~Thilina

On 4/5/07, Julien HENRY <[EMAIL PROTECTED]> wrote:
  
  
Do you plan to provide a Maven 2 repository ?

++

Julien

- Message d'origine 
De : Deepal Jayasinghe <[EMAIL PROTECTED]>
À : "axis-dev@ws.apache.org" ;
"axis-user@ws.apache.org" 
Envoyé le : Mardi, 3 Avril 2007, 12h59mn 49s
Objet : [Axis2] Axis2 1.2 RC2 Released


 Hi all,

 I uploaded Axis2 1.2 RC2 release artifacts. Please help us by downloading
and reviewing them.

 Download locations :
 binary distributions-
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip
 source distribution
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip
 docs distribution
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip
 war distribution
 http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war

 jars
http://people.apache.org/~deepal/maven/org.apache.axis2/jars/

 mars (addressing and soapmonitor)
http://people.apache.org/~deepal/maven/org.apache.axis2/mars/

 poms
http://people.apache.org/~deepal/maven/org.apache.axis2/poms/


 According to the release plan, I'm expecting to release Axis2 1.2 on
 6th   April, 2007.


 Features included in the release :
 - WSDL 2.0 fully support
 (Reading , writing and codegen)
 - POJO – annotation
 - JAX-WS integration
 - JAX-WS -annotation
 - Un-wrapping (Response)
 - ADB - missing schema support
 - Maven2 support
 - JSON support
 - Binary serialization (Fast Inforset)
 - Multiple services support in code gen
 - HTTP code generation (both WSDL 1.1 and 2.0)
 - Fix/update helper mode
 - Custom deployers support
 - Message formatters
 - Message Builders

 In addition to above major features we have fixed numerous JIRA issues.


 Thanks,
  Deepal



 
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! Questions/Réponses.

  
  

  


-- 


--
| Patrick Houbaux
| Senior Consultant
| Eurostep ABEmail: [EMAIL PROTECTED]
| Drottninggatan 68  Mobile: +33 611 192 943
| SE-111 21 StockholmFax: +46 (0) 8-200 399
| Sweden URL: http://www.eurostep.com
|    Skype name: phoubaux
| Home address: 
| BAT A11 
| 12 Rue de Paris 
| F-78560 Le Port-Marly
| France
---



This message contains information that may be privileged or confidential and is the property of Eurostep Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

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



[Axis2] Trouble trying to find cookie from a non-Java web service using Axis2 client with xmlbeans binding

2007-04-05 Thread Faisal . Memon
I am having trouble in my client code finding the cookie set by a web
service that I am trying to connect to
 
I am using xmlbeans binding to generate stub code from the eclipse axis2
code generator but can't seem to get the cookie even though I have
set setManageSession(true) in both the serviceClient and
messageContext. 
 
I have been able to connect and receive cookie in a C# client to the
same web service using CookieContainer
 
In my client code, I have,
stub._getServiceClient().getOptions().setManageSession(true);

I get this for properties in messageContext,

{__HTTP_PROTOCOL_VERSION__=HTTP/1.0,
PROXY=org.apache.axis2.transport.http.HttpTransportProperties$ProxyPrope
[EMAIL PROTECTED]

{CHARACTER_SET_ENCODING=utf-8,
[EMAIL PROTECTED],
CONTENT_WRITTEN=true}

{CHARACTER_SET_ENCODING=utf-8, TRANSPORT_IN=null, CONTENT_WRITTEN=true,
__HTTP_PROTOCOL_VERSION__=HTTP/1.0,
PROXY=org.apache.axis2.transport.http.HttpTransportProperties$ProxyPrope
[EMAIL PROTECTED]

{TRANSPORT_IN=null, __HTTP_PROTOCOL_VERSION__=HTTP/1.0,
PROXY=org.apache.axis2.transport.http.HttpTransportProperties$ProxyPrope
[EMAIL PROTECTED]

In the stub generated, I have. 

// FM Edit - begin

_messageContext.getOptions().setManageSession(true);

// FM Edit - end

// FM EDIT - BEGIN

System.out.println("ismanagesession _serviceClient = "+
_serviceClient.getOptions().isManageSession());

System.out.println("ismanagesession _messageContext = "+
_messageContext.getOptions().isManageSession());

TransportInDescription tid =
_messageContext.getOptions().getTransportIn();

if (tid!= null) {

System.out.println("got tid");

java.util.List paramList = tid.getParameters();

if (paramList!=null) {

System.out.println("got paramList");

for (int i=0; ihttp://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

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

[Axis2] webservice schema

2007-04-05 Thread kumar.vinodh

Hi all,
 
 
I have a TimeInfo object with the following fields
 
1. Time
2.TimeZone
 
I have getter and setter method for these fields. Additionally I have
method called 
 
TimeInfo modifyTime(TimeInfo time) in the bean class.
 
I have two questions here
 
1. Is it valid to have helper methods(like modifyTime)  in Bean object
2. If at all I need to have some methods other than Getter & Setter
method, how schema for the Bean should be written. Is there any way I
can represent them in schema
 
 
Please let me know your thought on the same
_
Thanks & Regards,
Vinodh
 



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Re: Problems with inheritance

2007-04-05 Thread Jorge Fernandez
Hi all,

I'm using axis2 1.1.1 and Ihave a problem when generating the wsdl from my Java 
classes. I use a class PrimitiveParameter that extends from Parameter  and in 
the wsdl  they appear as if they were independent. PrimitiveParameter has its 
own fields and the fields inherited from Parameter but it has no reference to 
the relationship betwen them. I think there should be something like a 
restriction base referencing Parameter from PrimitiveParameter. Am I right??


 

...

 
   
 
 

...

   



It's that a known issue???

Thanks in advance,

Jorge Fernández




-

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

Re : Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Julien HENRY
Can't manage to find 1.2-rc2 in releases. The latest release seems to be 1.1.

++

Julien

- Message d'origine 
De : Thilina Gunarathne <[EMAIL PROTECTED]>
À : axis-user@ws.apache.org
Envoyé le : Jeudi, 5 Avril 2007, 14h00mn 59s
Objet : Re: Re : [Axis2] Axis2 1.2 RC2 Released

Snapshots,
http://people.apache.org/repo/m2-snapshot-repository/

Releases,
http://people.apache.org/repo/m2-ibiblio-rsync-repository/

~Thilina

On 4/5/07, Julien HENRY <[EMAIL PROTECTED]> wrote:
>
> Do you plan to provide a Maven 2 repository ?
>
> ++
>
> Julien
>
> - Message d'origine 
> De : Deepal Jayasinghe <[EMAIL PROTECTED]>
> À : "axis-dev@ws.apache.org" ;
> "axis-user@ws.apache.org" 
> Envoyé le : Mardi, 3 Avril 2007, 12h59mn 49s
> Objet : [Axis2] Axis2 1.2 RC2 Released
>
>
>  Hi all,
>
>  I uploaded Axis2 1.2 RC2 release artifacts. Please help us by downloading
> and reviewing them.
>
>  Download locations :
>  binary distributions-
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip
>  source distribution
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip
>  docs distribution
> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip
>  war distribution
>  http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war
>
>  jars
> http://people.apache.org/~deepal/maven/org.apache.axis2/jars/
>
>  mars (addressing and soapmonitor)
> http://people.apache.org/~deepal/maven/org.apache.axis2/mars/
>
>  poms
> http://people.apache.org/~deepal/maven/org.apache.axis2/poms/
>
>
>  According to the release plan, I'm expecting to release Axis2 1.2 on
>  6th   April, 2007.
>
>
>  Features included in the release :
>  - WSDL 2.0 fully support
>  (Reading , writing and codegen)
>  - POJO – annotation
>  - JAX-WS integration
>  - JAX-WS -annotation
>  - Un-wrapping (Response)
>  - ADB - missing schema support
>  - Maven2 support
>  - JSON support
>  - Binary serialization (Fast Inforset)
>  - Multiple services support in code gen
>  - HTTP code generation (both WSDL 1.1 and 2.0)
>  - Fix/update helper mode
>  - Custom deployers support
>  - Message formatters
>  - Message Builders
>
>  In addition to above major features we have fixed numerous JIRA issues.
>
>
>  Thanks,
>   Deepal
>
>
>
>  
>  Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
> ! Profitez des connaissances, des opinions et des expériences des
> internautes sur Yahoo! Questions/Réponses.


-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

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










___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

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



Re: Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Alistair Young
wsdl2java now creates the service as Service.aar instead of
ServiceName.aar. e.g. previously, if your service was called
MinervaService, you would get:
build/lib/MinervaService.aar

now you get:
build/lib/Service.aar

so you have to rename before deploying (as they're all called Service.aar
now)

Alistair


-- 
mov eax,1
mov ebx,0
int 80h

> Snapshots,
> http://people.apache.org/repo/m2-snapshot-repository/
>
> Releases,
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/
>
> ~Thilina
>
> On 4/5/07, Julien HENRY <[EMAIL PROTECTED]> wrote:
>>
>> Do you plan to provide a Maven 2 repository ?
>>
>> ++
>>
>> Julien
>>
>> - Message d'origine 
>> De : Deepal Jayasinghe <[EMAIL PROTECTED]>
>> À : "axis-dev@ws.apache.org" ;
>> "axis-user@ws.apache.org" 
>> Envoyé le : Mardi, 3 Avril 2007, 12h59mn 49s
>> Objet : [Axis2] Axis2 1.2 RC2 Released
>>
>>
>>  Hi all,
>>
>>  I uploaded Axis2 1.2 RC2 release artifacts. Please help us by
>> downloading
>> and reviewing them.
>>
>>  Download locations :
>>  binary distributions-
>> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip
>>  source distribution
>> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip
>>  docs distribution
>> http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip
>>  war distribution
>>  http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war
>>
>>  jars
>> http://people.apache.org/~deepal/maven/org.apache.axis2/jars/
>>
>>  mars (addressing and soapmonitor)
>> http://people.apache.org/~deepal/maven/org.apache.axis2/mars/
>>
>>  poms
>> http://people.apache.org/~deepal/maven/org.apache.axis2/poms/
>>
>>
>>  According to the release plan, I'm expecting to release Axis2 1.2 on
>>  6th   April, 2007.
>>
>>
>>  Features included in the release :
>>  - WSDL 2.0 fully support
>>  (Reading , writing and codegen)
>>  - POJO – annotation
>>  - JAX-WS integration
>>  - JAX-WS -annotation
>>  - Un-wrapping (Response)
>>  - ADB - missing schema support
>>  - Maven2 support
>>  - JSON support
>>  - Binary serialization (Fast Inforset)
>>  - Multiple services support in code gen
>>  - HTTP code generation (both WSDL 1.1 and 2.0)
>>  - Fix/update helper mode
>>  - Custom deployers support
>>  - Message formatters
>>  - Message Builders
>>
>>  In addition to above major features we have fixed numerous JIRA issues.
>>
>>
>>  Thanks,
>>   Deepal
>>
>>
>>
>>  
>>  Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
>> questions
>> ! Profitez des connaissances, des opinions et des expériences des
>> internautes sur Yahoo! Questions/Réponses.
>
>
> --
> Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
>
> -
> 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]



Problem with Values

2007-04-05 Thread Daniel . Kuschow
I have the problem by Axis2, to differentiate between:
a) Client has called request.setLogin("")
--> sends 
b) Client DID NOT call request.setLogin()
--> sends http://www.w3.org/2001/XMLSchema-instance"; 
xsi:nil="true" />

In both cases Axis2 give me null for request.getLogin(). Why i get no 
empty String in case a) ???
Please help me with that problem, i had to differentiate between both 
cases. Without
this Axis2 is senseless for me, or i had to hack Axis2 sourcecode :((

With best regards,

Daniel Kuschow

RE: All Methods in ServiceSkeleton Generated by WSDL2Java.bat with Void Return Types

2007-04-05 Thread Bill Treuman
Thank yo very much, Amila.  This change has worked great for three of the
four web service methods.  But the fourth method (in the original wsdl,
included below), which follows a somewhat different naming convention, still
causes an empty method which takes no parameter and returns void to be
included in the xyzServiceSkeleton module.  Here are what I believe are the
relevant portions of the wsdl:


  

  


  

  

  

  


  

  

  

  
  

  


  

  




Thanks very much again. . . Bill
  -Original Message-
  From: Amila Suriarachchi [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 05, 2007 5:35 AM
  To: axis-user@ws.apache.org; [EMAIL PROTECTED]
  Subject: Re: All Methods in ServiceSkeleton Generated by WSDL2Java.bat
with Void Return Types


  hi,
  in your operations you have specified the input name as it is in the
Message name

  

   
   
 

  here message name (VehicleWithIdPlus
  TenThousandRequestMessage) and the input name (VehicleWithIdPlusTenThou
  sandRequestMessage) are equeal.

  In this case wsdl4j set null to wsdlmessage. I am not sure this is wrong
with the wsdl spec. But removing input and output message names would make
it fine.

  

   
   
 








  On 4/4/07, Bill Treuman <[EMAIL PROTECTED] > wrote:
I'm using wsdl2java.bat to generate the Axis2 server-side, as follows:

wsdl2java -uri  testVehicle.wsdl -p com.carquest.ws.testvehicle -o
server -s -ss -sd -d adb -wv 1.1

Oddly, in the generated file xyzServiceSkeleton.java, every generated
method
has a void return type and takes no input arguments.  Likewise, in the
generated file xyzServiceMessageReceiverInOut.java, every referenced
method
uses getDefaultEnvelope( ).  Here is an example of the generated code in
the
latter file:

//doc style
skel.AcesOptions();
envelope = getSOAPFactory(msgContext).getDefaultEnvelope();

When I generate your sample service and client, from Axis2UserGuide, the
proper argument values and return types are included, and the code in
the
generated MessageReceiverInOut reflects this.

I presume there must be some problem in my wsdl file, but I can't find
it.
The entire contents of testVehicle.wsdl follows.  What am I missing?

Thank you very much.
---


http://ws.carquest.com/2006/services/vehicle "
xmlns:wns="http://ws.carquest.com/2006/services/vehicle";
xmlns:tns="http://ws.carquest.com/2006/types/vehicle "
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/ ">
  

http://ws.carquest.com/2006/services/vehicle "
xmlns="http://www.w3.org/2001/XMLSchema";>

  

  

  


  

  
  

  

  

  

  

  

  
  

  

  

  

  

  

  

  
  

  

  

  

  

  


  

  

  

  


  

  







http://ws.carquest.com/2006/types/vehicle";
xmlns=" http://www.w3.org/2001/XMLSchema";>

  

  
  
  
  
  
  

  
  
  


  

  

  

  

  

  
  

  

  

  
  

  



  


  

  
  

  

  

  
  

  

  

  
  

  

  

  
  

  


  


  
  



  
  



  
  



  
  


  

  

http://schemas.xmlsoap.org/soap/http"/>



  

  

  

  

  





  

  

  

  

  





  

  

  

  

Re: Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Thilina Gunarathne

Snapshots,
http://people.apache.org/repo/m2-snapshot-repository/

Releases,
http://people.apache.org/repo/m2-ibiblio-rsync-repository/

~Thilina

On 4/5/07, Julien HENRY <[EMAIL PROTECTED]> wrote:


Do you plan to provide a Maven 2 repository ?

++

Julien

- Message d'origine 
De : Deepal Jayasinghe <[EMAIL PROTECTED]>
À : "axis-dev@ws.apache.org" ;
"axis-user@ws.apache.org" 
Envoyé le : Mardi, 3 Avril 2007, 12h59mn 49s
Objet : [Axis2] Axis2 1.2 RC2 Released


 Hi all,

 I uploaded Axis2 1.2 RC2 release artifacts. Please help us by downloading
and reviewing them.

 Download locations :
 binary distributions-
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip
 source distribution
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip
 docs distribution
http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip
 war distribution
 http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war

 jars
http://people.apache.org/~deepal/maven/org.apache.axis2/jars/

 mars (addressing and soapmonitor)
http://people.apache.org/~deepal/maven/org.apache.axis2/mars/

 poms
http://people.apache.org/~deepal/maven/org.apache.axis2/poms/


 According to the release plan, I'm expecting to release Axis2 1.2 on
 6th   April, 2007.


 Features included in the release :
 - WSDL 2.0 fully support
 (Reading , writing and codegen)
 - POJO – annotation
 - JAX-WS integration
 - JAX-WS -annotation
 - Un-wrapping (Response)
 - ADB - missing schema support
 - Maven2 support
 - JSON support
 - Binary serialization (Fast Inforset)
 - Multiple services support in code gen
 - HTTP code generation (both WSDL 1.1 and 2.0)
 - Fix/update helper mode
 - Custom deployers support
 - Message formatters
 - Message Builders

 In addition to above major features we have fixed numerous JIRA issues.


 Thanks,
  Deepal



 
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! Questions/Réponses.



--
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

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



[Axis2][Rampart] How to sign multiple XML-Elements?

2007-04-05 Thread Jochen Zink
Hello,

I have a SOAP-Message with UsernameToken and Timestamp. I want to sign the 
SOAP-Body, TimeStamp and UsernameToken Element...

In the OutFlowElement is a signatureParts Element, where I can specify the 
signed Parts of a soap message. But it is not possible for me, to specify more 
than one Element inside of signatureParts. Is it possible to specify more than 
one? If yes, has anyone a little example for me? Every try of me fails.

Thanks!

___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


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



Re : [Axis2] Axis2 1.2 RC2 Released

2007-04-05 Thread Julien HENRY
Do you plan to provide a Maven 2 repository ?

++

Julien

- Message d'origine 
De : Deepal Jayasinghe <[EMAIL PROTECTED]>
À : "axis-dev@ws.apache.org" ; 
"axis-user@ws.apache.org" 
Envoyé le : Mardi, 3 Avril 2007, 12h59mn 49s
Objet : [Axis2] Axis2 1.2 RC2 Released




  

Hi all,



I uploaded Axis2 1.2 RC2 release artifacts. Please help us by
downloading and reviewing them.



Download locations :

binary distributions-

http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2.zip

source distribution 

http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-src.zip

docs distribution

http://people.apache.org/~deepal/axis2/1.2-RC2/axis2-1.2-RC2-docs.zip

war distribution

http://people.apache.org/~deepal/axis2/1.2-RC2/axis2.war



jars

http://people.apache.org/~deepal/maven/org.apache.axis2/jars/



mars (addressing and soapmonitor)

http://people.apache.org/~deepal/maven/org.apache.axis2/mars/



poms

http://people.apache.org/~deepal/maven/org.apache.axis2/poms/





According to the release plan, I'm expecting to release Axis2 1.2 on

6th   April, 2007.





Features included in the release :

- WSDL 2.0 fully support

(Reading , writing and codegen)

- POJO – annotation 

- JAX-WS integration

- JAX-WS -annotation

- Un-wrapping (Response) 

- ADB - missing schema support 

- Maven2 support

- JSON support 

- Binary serialization (Fast Inforset)

- Multiple services support in code gen 

- HTTP code generation (both WSDL 1.1 and 2.0)

- Fix/update helper mode 

- Custom deployers support

- Message formatters

- Message Builders



In addition to above major features we have fixed numerous JIRA issues.





Thanks,

 Deepal













___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Re: Operation Not found EPR...

2007-04-05 Thread Milan Tomic

I'm not using  in services.xml either. I have read here:

http://ws.apache.org/axis2/1_1_1/xmlbased-server.html

that  is used only for WS-Addressing.

I haven't made any progress for few days, so I will post my services.xml, .java 
and .wsdl files and I will hope someone will take a look and help me. Files 
will be attached with this e-mail. I hope apache mail server won't block this 
e-mail because of attachments.

Thank you,
Milan


- Original Message 
From: "Kang, Kamaljeet K." <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Wednesday, April 4, 2007 10:25:22 PM
Subject: RE: Operation Not found EPR...

I had a similar error recently and I wasn't using ws-addressing. It was
because of typo in  in services.xml.

kamal

-Original Message-
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 4:26 AM
To: axis-user@ws.apache.org
Subject: Re: Operation Not found EPR...

EPR means endpoint reference. It's the "url" where your service is
available.
Milan, if the error message says WSA action =  it means that you are
using ws-addressing.


Michele


On Tue, 2007-04-03 at 01:04 -0700, Milan Tomic wrote:
> No, I'm not using WS-addressing. Is this error message described
somewhere in documentation? What does it mean? Which operation was not
found? What is "EPR"?
> 
> Best regards,
> Milan
> 
> 
> - Original Message 
> From: Michele Mazzucco <[EMAIL PROTECTED]>
> To: axis-user@ws.apache.org
> Sent: Monday, April 2, 2007 4:36:04 PM
> Subject: Re: Operation Not found EPR...
> 
> Milan,
> 
> are you using WS-addressing? If so you have to specify the SOAP action
> on the client side (use options.setAction()), which is the value
> specified in services.xml as actionMapping element.
> 
> Michele
> 
> On Mon, 2007-04-02 at 06:55 -0700, Milan Tomic wrote:
> > I got this error message:
> > 
> > "javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is
http://localhost:8080/axis2/services/MyWebService and WSA Action =  "
> > 
> > 
> > but I don't know what does it mean? What went wrong? :(
> > 
> > 
> > Thank you in advance,
> > Milan
> > 
> > 
> > 
> > 
> >  
> >


> > Get your own web address.  
> > Have a HUGE year through Yahoo! Small Business.
> > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
> > 
> >
-
> > 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]
> 
> 
> 
> 
> 
> 
>  
>


> Don't pick lemons.
> See all the new 2007 cars at Yahoo! Autos.
> http://autos.yahoo.com/new_cars.html 
> 
> -
> 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]

The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs


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






 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/package test;

import java.rmi.RemoteException;
import org.w3c.dom.Document;

public class DoThings {

public Document doThing(Document doc) throws RemoteException{
	System.out.println("*** doThing service ***");
return null;
}

}


DoThings.wsdl
Description: application/xml

	
	
	Do Something Web Service
	
	
	http://www.w3.org/2004/08/wsdl/in-out";
		class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
	
	
	test.DoThings
	
	
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e

Re: All Methods in ServiceSkeleton Generated by WSDL2Java.bat with Void Return Types

2007-04-05 Thread Amila Suriarachchi

hi,
in your operations you have specified the input name as it is in the Message
name




  

here message name (VehicleWithIdPlusTenThousandRequestMessage) and the input
name (VehicleWithIdPlusTenThousandRequestMessage) are equeal.

In this case wsdl4j set null to wsdlmessage. I am not sure this is wrong
with the wsdl spec. But removing input and output message names would make
it fine.


 

  





On 4/4/07, Bill Treuman <[EMAIL PROTECTED]> wrote:


I'm using wsdl2java.bat to generate the Axis2 server-side, as follows:

wsdl2java -uri  testVehicle.wsdl -p com.carquest.ws.testvehicle -o
server -s -ss -sd -d adb -wv 1.1

Oddly, in the generated file xyzServiceSkeleton.java, every generated
method
has a void return type and takes no input arguments.  Likewise, in the
generated file xyzServiceMessageReceiverInOut.java, every referenced
method
uses getDefaultEnvelope( ).  Here is an example of the generated code in
the
latter file:

//doc style
skel.AcesOptions();
envelope = getSOAPFactory(msgContext).getDefaultEnvelope();

When I generate your sample service and client, from Axis2UserGuide, the
proper argument values and return types are included, and the code in the
generated MessageReceiverInOut reflects this.

I presume there must be some problem in my wsdl file, but I can't find it.
The entire contents of testVehicle.wsdl follows.  What am I missing?

Thank you very much.
---


http://ws.carquest.com/2006/services/vehicle";
xmlns:wns="http://ws.carquest.com/2006/services/vehicle";
xmlns:tns="http://ws.carquest.com/2006/types/vehicle";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";>
  

http://ws.carquest.com/2006/services/vehicle";
xmlns="http://www.w3.org/2001/XMLSchema";>

  

  

  


  

  
  

  

  

  

  

  

  
  

  

  

  

  

  

  

  
  

  

  

  

  

  


  

  

  

  


  

  







http://ws.carquest.com/2006/types/vehicle";
xmlns="http://www.w3.org/2001/XMLSchema";>

  

  
  
  
  
  
  

  
  
  


  

  

  

  

  

  
  

  

  

  
  

  



  


  

  
  

  

  

  
  

  

  

  
  

  

  

  
  

  


  


  
  



  
  



  
  



  
  


  

  

http://schemas.xmlsoap.org/soap/http"/>



  

  

  

  

  





  

  

  

  

  





  

  

  

  

  





  

  

  

  

  



  

  


  http://localhost:8080/axis2/services/testVehicle"/>


  




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





--
Amila Suriarachchi,
WSO2 Inc.


Re: AXIS2 - RunTimeException: : Unsupported type null Part

2007-04-05 Thread Patrick Houbaux




Hello Amila,

Yes the method reader.getNamespaceContext().getNamespaceURI(nsPrefix)
is returning null. That was my first guess when debugging  but could
not figure out why the prefix hashtable was not containing the prefix
of the element.

I'm sending you the test I was running on a separate personal email
since the server on this mailing list is keeping rejecting it.

Cheers,
Patrick.


Amila Suriarachchi wrote:
can you send your wsdl, skelton and the stub files? 
  
for me it seems to be an OM problem. I am not sure whether there is a
difference between the Stream readers returns when specifing 
param.getXMLStreamReaderWithoutCaching() and getXMLStreamReader().
  
However it seems that former method seems to be return null for the
following method
java.lang.String nsUri =
reader.getNamespaceContext().getNamespaceURI(nsPrefix);
  
  
  On 4/4/07, Patrick
Houbaux <
[EMAIL PROTECTED]> wrote:
  
Hi all,

I'm currently
using
axis2-1.2-RC2 and I notice the same following
things with axis2-1.1.1.

I have a wsdl from which I'm generating the server side skeleton and
the client side stub using ADB.

When I invoke a method from the client I get the following exception:
java.lang.RuntimeException: java.lang.RuntimeException: Unsupported
type null Part
    at com.eurostep.wstest2.Test2Stub.fromOM(Test2Stub.java:488)
    at
com.eurostep.wstest2.Test2Stub.getPLMObject(Test2Stub.java:167)
    at
com.eurostep.test2.client.Test2Client.main(Test2Client.java:33)
Caused by: java.lang.RuntimeException: Unsupported type null Part
    at
com.eurostep.wstest2.ExtensionMapper.getTypeObject(ExtensionMapper.java:191)
    at
org.plcs.www.plmservices.types.PLM_object$Factory.parse(PLM_object.java:386)
    at
org.plcs.www.message.GetPLMObjectOut$Factory.parse(GetPLMObjectOut.java:420)
    at com.eurostep.wstest2.Test2Stub.fromOM(Test2Stub.java:468)
    ... 2 more
java.lang.RuntimeException: java.lang.RuntimeException: Unsupported
type null Part

I noticed that in the client Stub the fromOM method is generated as
follow:
        private  java.lang.Object fromOM(
            org.apache.axiom.om.OMElement param,
            java.lang.Class type,
            java.util.Map extraNamespaces){
    try {
            if
(org.plcs.www.message.GetPLMObjectOut.class.equals(type)){
                return
org.plcs.www.message.GetPLMObjectOut.Factory.parse(param.getXMLStreamReaderWithoutCaching());
            }
    } catch (Exception e) {
    throw new RuntimeException(e);
    }
   return null;
    }

If I replace the call to:
    getXMLStreamReaderWithoutCaching()
by
    getXMLStreamReader()
this exception is not thrown anymore and the client is working like a
charm.

Is this a bug in the ADB code generator? If not, what could be the
source of such an error?

I have to fix the same thing on the server side in
Test2MessageReceiverInOut.fromOM(...) method.

Cheers,
Patrick.

  
  
  
-- 
Amila Suriarachchi,
WSO2 Inc.


This message contains information that may be privileged or confidential and is the property of Eurostep Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

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



Re: Operation Not found EPR...

2007-04-05 Thread Milan Tomic

I have noticed that I have used RPC MEP instead of RawXML MEP in my 
services.xml. I have changed this, but still the same error message... :(




- Original Message 
From: Milan Tomic <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Thursday, April 5, 2007 10:26:13 AM
Subject: Re: Operation Not found EPR...


I'm not using  in services.xml either. I have read here:

http://ws.apache.org/axis2/1_1_1/xmlbased-server.html

that  is used only for WS-Addressing.

I haven't made any progress for few days, so I will post my services.xml, .java 
and .wsdl files and I will hope someone will take a look and help me. Files 
will be attached with this e-mail. I hope apache mail server won't block this 
e-mail because of attachments.

Thank you,
Milan


- Original Message 
From: "Kang, Kamaljeet K." <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Wednesday, April 4, 2007 10:25:22 PM
Subject: RE: Operation Not found EPR...

I had a similar error recently and I wasn't using ws-addressing. It was
because of typo in  in services.xml.

kamal

-Original Message-
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 4:26 AM
To: axis-user@ws.apache.org
Subject: Re: Operation Not found EPR...

EPR means endpoint reference. It's the "url" where your service is
available.
Milan, if the error message says WSA action =  it means that you are
using ws-addressing.


Michele


On Tue, 2007-04-03 at 01:04 -0700, Milan Tomic wrote:
> No, I'm not using WS-addressing. Is this error message described
somewhere in documentation? What does it mean? Which operation was not
found? What is "EPR"?
> 
> Best regards,
> Milan
> 
> 
> - Original Message 
> From: Michele Mazzucco <[EMAIL PROTECTED]>
> To: axis-user@ws.apache.org
> Sent: Monday, April 2, 2007 4:36:04 PM
> Subject: Re: Operation Not found EPR...
> 
> Milan,
> 
> are you using WS-addressing? If so you have to specify the SOAP action
> on the client side (use options.setAction()), which is the value
> specified in services.xml as actionMapping element.
> 
> Michele
> 
> On Mon, 2007-04-02 at 06:55 -0700, Milan Tomic wrote:
> > I got this error message:
> > 
> > "javax.xml.rpc.soap.SOAPFaultException: Operation Not found EPR is
http://localhost:8080/axis2/services/MyWebService and WSA Action =  "
> > 
> > 
> > but I don't know what does it mean? What went wrong? :(
> > 
> > 
> > Thank you in advance,
> > Milan
> > 
> > 
> > 
> > 
> >  
> >


> > Get your own web address.  
> > Have a HUGE year through Yahoo! Small Business.
> > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
> > 
> >
-
> > 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]
> 
> 
> 
> 
> 
> 
>  
>


> Don't pick lemons.
> See all the new 2007 cars at Yahoo! Autos.
> http://autos.yahoo.com/new_cars.html 
> 
> -
> 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]

The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs


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






 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
package test;



import java.rmi.RemoteException;

import org.w3c.dom.Document;



public class DoThings {



public Document doThing(Document doc) throws RemoteException{

System.out.println("*** doThing service ***");

return null;

}



}








Do Something Web Service


Unable to view list of deployed services

2007-04-05 Thread Aneez Backer
Hi 

Am trying to deploy Kandula1 on Axis server using Tomcat. 

After deploying, I am able to view the list of services, but NOT the WSDL of 
any of the service. 

The error given in LOG file of Tomcat is at the end of mail.


I am using the following softwares:

1)j2sdk1.4.2_03 
2)Apache Tomcat 5.0.28
3)Axis 1.4
4)Maven 1.0.2
5)Ant 1.7.0
6)Kandula1

My operating system is : Windows Server 2003
 Please guide
 
 -Aneez
 

---
INFO: Server startup in 5562 ms
- Exception:
org.apache.commons.discovery.DiscoveryException: Class 
org.apache.axis.components.uuid.FastUUIDGen does not implement 
org.apache.axis.components.uuid.UUIDGen
at 
org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180)
at org.apache.axis.AxisProperties$1.run(AxisProperties.java:182)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.AxisProperties.newInstance(AxisProperties.java:166)
at org.apache.axis.AxisProperties.newInstance(AxisProperties.java:160)
at 
org.apache.axis.components.uuid.UUIDGenFactory.getUUIDGen(UUIDGenFactory.java:52)
at  
org.apache.axis.message.addressing.handler.AddressingHandler.(AddressingHandler.java:62)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at  
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at 
org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at 
org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
at 
org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:453)
at 
org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
at  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at  
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase