Axis2 1.3 Released

2007-08-14 Thread Erwin Reinhoud
Hello All,

I used the following ant tasks to generate code. This worked fine with axis2 
1.1.1 and 1.2 and i use all libraries in release, now using 1.3 i get the error 
below. 


 







ERROR I GET IS:

Could not create type codegen due to java.lang.NoClassDefFoundError: 
org/apache/axis2/wsdl/util/ConfigPropertyFileLoader


Thanks in advance for any help.

Kind regards,
Erwin








-Oorspronkelijk bericht-
Van: Deepal jayasinghe [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 14 augustus 2007 7:46
Aan: axis-user@ws.apache.org
Onderwerp: [ANN][Axis2]Axis2 1.3 Released


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Just over 4 months since the original 1.2 release, we are very proud
to announce the release of Apache Axis2 version 1.3.

Downloads are available at:
http://ws.apache.org/axis2/download.cgi

Apache Axis2 is a complete re-design and re-write of the widely used
Apache Axis engine and is a more efficient, more scalable, more modular
and more XML-oriented Web services framework. It is carefully designed
to support the easy addition of plug-in "modules" that extend its
functionality for features such as security and reliability.

Modules supporting WS-Security/Secure-Conversation (Apache Rampart),
WS-Trust (Apache Rahas), WS-Reliable Messaging (Apache Sandesha) and
WS-Eventing (Apache Savan) will be available soon after the Apache
Axis2 1.3 release. Please see these projects' own sites for further
information.

Major Changes Since 1.2:
- - Moved to maven2 from maven1
- - Significantly improved documentation
- - Significantly improved support for POJO services and clients
- - Significantly improved Deployment module and custom deployers
- - Significantly improved support for Spring services
- - Significantly improved Axis Data Binding (ADB) to increase schema
  coverage and overall stability
- - Improved handler and module interfaces
- - Improved Eclipse and Idea plugins
- - Fixed tons of small and not-so-small bugs
- - Major code cleanup and improved exception handling
- - All the asynchronous MessageReceivers have been deprecated
- - Deprecating the introspection to find init()/destroy() methods on
service classes.
- - Deprecated the Callback interface
[http://wiki.apache.org/ws/FrontPage/Axis2/changesfrom1.2to1.3]
- - Added a new phase called "Addressing" and moved all the addressing
handlers into that phase
- - Name of the wsdl2java generated Exception classes changed.
  Earlier it had the Exception suffix and from Axis2 1.3 it has been
removed
- - Interface changed in ADB Datasource class
- - Classpath module loading support

Known Issues and Limitations in 1.3 Release:
 - Java2WSDL and runtime WSDL generation only support doc-lit/bare and
doc-lit/wrapped
 - Custom deployers only work in file system based repository.
 - POJO does not support HasMap , Hastable and Vectors.
 

Apache Axis2 1.3 is a major new release compared to Axis2 1.2. We are
striving for a simple and happy first time user experience as well as a
satisfying experienced user experience with this release. We welcome any
and all feedback at:
axis-user@ws.apache.org (please include "[axis2]" in the subject)
[EMAIL PROTECTED] (please include "[axis2]" in the subject)
http://issues.apache.org/jira/browse/AXIS2

Thank you for your interest in Apache Axis2!

The Axis2 Development Team
http://ws.apache.org/axis2/

-


Features of Apache Axis2:

Programming Model
   - Simple XML-centric client API with full WSDL and policy support
   - Support for easy deployemnt of POJO with or without annotation
   - Support for Spring services and clients
   - Support for any message exchange pattern (MEP)
   - Synchronous and asynchronous programming model (both in client
side and server side)
   - Archived based service deployment model supporting full service
 encapsulation
   - Directory based service deployment support
   - Archived module deployment model supporting controlled
 extensibility with versioning support
   - Hot deployment and Hot update suport for services
   - WS-Policy driven code generation extensions
   - Flexible service life cycle model and session managment
   - Automatic support for POX (REST) style invocation of services
   - Support for querying service's WSDL (with ?wsdl), schema (with
 ?xsd) and policies (with ?policy)
   - Java2WSDL support for both doclit/bare and doclit/wrapped
   - Support for custom deployers
   - Classpath module loading support

Supported Specifications
   - SOAP 1.1 and 1.2
   - Message Transmission Optimization Mechanism (MTOM)
   - XML Optimized Packaging (XOP)
   - SOAP with Attachments
   - WSDL 1.1 and WSDL 2.0, including both SOAP and HTTP bindings
   - WS-Addressing submission and 1.0
   - WS-Policy
   - SAAJ 1.1

Transports
   - HTTP/HTTPS
   - SMTP
   - JMS
   - TCP

Supported Data Bindings
   - Axis Data Binding (ADB)
   - XMLBeans
   - JibX
   - JaxMe (Experiment

Problem with AXIS WSDL2Java

2007-08-14 Thread Steffen Bleul

Hi,

I have a code generation problem with Axis 1.4 and WSDL2Java. WSDL2Java 
is running fine as long as i just use simple types in the Web Service 
interfaces. But after defining my own ComplexType it does not work 
anymore. I have the suspicion that there is some fault in WSDL2Java.



Step 1


I am deploying a java implemented Web Services in Axis:

public interface 
de.vs.unikassel.WebServiceInterface.Server.ProxyControlWebService {

 public ProxyData listProxies();
 public void addProxy(ProxyData data);
}


Step 2


ProxyData is a simple Bean:

public class de.vs.unikassel.WebServiceInterface.Server.ProxyData 
implements java.io.Serializable {

  private java.lang.String name;

  private java.lang.String servletcontext;

  private java.lang.String servletname;

  private java.lang.String servletpath;

  private java.lang.String servlettype;

  private java.lang.String targetAdress;

...
}


Step 3


ProxyData can be successfully transformed to WSDL using  Java2WSDL:


targetNamespace="http://www.vs.uni-kassel.de/ADDO/"; 
xmlns="http://www.w3.org/2001/XMLSchema";>

 
  
   
   
   
   
   
   
  
 
 
 










  name="listProxiesRequest"/>
  name="listProxiesResponse"/>






  



  
  


Step 4


Also the generation of the client side java Proxy Data is successfull:

public class de.vs.unikassel.WebServiceInterface.Client.ProxyData  
implements java.io.Serializable {

  private java.lang.String name;

  private java.lang.String servletcontext;

  private java.lang.String servletname;

  private java.lang.String servletpath;

  private java.lang.String servlettype;

  private java.lang.String targetAdress;
 ...
}


Step 5


The client application now tests the operation listProxies():

de.vs.unikassel.WebServiceInterface.Client.ProxyData data = null;

ProxyControlWebService control = proxylocator.getProxyControlWebService();
data = control.listProxies();


Step 6


I get the client side error that the parser cannot find the element 
"listProxiesReturn":


AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Invalid element in 
de.vs.unikassel.WebServiceInterface.Client.ProxyData - listProxiesReturn

faultActor:
faultNode:
faultDetail:
  {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: 
Invalid element in de.vs.unikassel.WebServiceInterface.Client.ProxyData 
- listProxiesReturn

  But using a SOAP monitor it is clear, that it is an existing element:


xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  
  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>

  
  
  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xsi:type="ns1:ProxyData" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns1="http://www.vs.uni-kassel.de/ADDO/";>

  Test
  Test
  Test
  Test
  Test
  Test
  
  



Step 7


The client application now tests the operation addProxy(ProxyData data):

de.vs.unikassel.WebServiceInterface.Client.ProxyData data = new 
de.vs.unikassel.WebServiceInterface.Client.ProxyData();


actservlet.setServletcontext("Test");
actservlet.setServletname("Test");
actservlet.setName("Test");
actservlet.setServletpath("Test");
actservlet.setServlettype("Test");
actservlet.setTargetAdress("Test");

ProxyControlWebService control = proxylocator.getProxyControlWebService();
control.addProxy(actservlet);


Step 8


I get the server side error that the parser cannot find the operation 
"in0":


AxisFault
faultCode: {http://xml.apache.org/axis/}Client
faultSubcode:
faultString: No such operation 'in0'
faultActor:
faultNode:
faultDetail:

This is clear, the client sends die SOAP-Request:


xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  
  http://www.vs.uni-kassel.de/ADDO/";>
  Test
  Test
  Test
  Test
  Test
  Test
  
  


-

Can somebody verify this problem and how to solve it?

Best regards,
Steffen Bleul

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

RE: [ANN][Axis2]Axis2 1.3 Released

2007-08-14 Thread Jorge Fernandez
Hi,

I wanted to download eclipse code generator plugin and the links were broken. 
Links are kind of this:

./ws/axis2/tools/1_3/axis2-eclipse-codegen-wizard-1.3.zip 

but the real path is:

.../ws/axis2/tools/1_3/axis2-eclipse-codegen-wizard.zip 


Thanks, 

Jorge Fernández

Deepal jayasinghe <[EMAIL PROTECTED]> escribió: -BEGIN PGP SIGNED 
MESSAGE-
Hash: SHA1
 
Just over 4 months since the original 1.2 release, we are very proud
to announce the release of Apache Axis2 version 1.3.

Downloads are available at:
http://ws.apache.org/axis2/download.cgi

Apache Axis2 is a complete re-design and re-write of the widely used
Apache Axis engine and is a more efficient, more scalable, more modular
and more XML-oriented Web services framework. It is carefully designed
to support the easy addition of plug-in "modules" that extend its
functionality for features such as security and reliability.

Modules supporting WS-Security/Secure-Conversation (Apache Rampart),
WS-Trust (Apache Rahas), WS-Reliable Messaging (Apache Sandesha) and
WS-Eventing (Apache Savan) will be available soon after the Apache
Axis2 1.3 release. Please see these projects' own sites for further
information.

Major Changes Since 1.2:
- - Moved to maven2 from maven1
- - Significantly improved documentation
- - Significantly improved support for POJO services and clients
- - Significantly improved Deployment module and custom deployers
- - Significantly improved support for Spring services
- - Significantly improved Axis Data Binding (ADB) to increase schema
  coverage and overall stability
- - Improved handler and module interfaces
- - Improved Eclipse and Idea plugins
- - Fixed tons of small and not-so-small bugs
- - Major code cleanup and improved exception handling
- - All the asynchronous MessageReceivers have been deprecated
- - Deprecating the introspection to find init()/destroy() methods on
service classes.
- - Deprecated the Callback interface
[http://wiki.apache.org/ws/FrontPage/Axis2/changesfrom1.2to1.3]
- - Added a new phase called "Addressing" and moved all the addressing
handlers into that phase
- - Name of the wsdl2java generated Exception classes changed.
  Earlier it had the Exception suffix and from Axis2 1.3 it has been
removed
- - Interface changed in ADB Datasource class
- - Classpath module loading support

Known Issues and Limitations in 1.3 Release:
 - Java2WSDL and runtime WSDL generation only support doc-lit/bare and
doc-lit/wrapped
 - Custom deployers only work in file system based repository.
 - POJO does not support HasMap , Hastable and Vectors.
 

Apache Axis2 1.3 is a major new release compared to Axis2 1.2. We are
striving for a simple and happy first time user experience as well as a
satisfying experienced user experience with this release. We welcome any
and all feedback at:
axis-user@ws.apache.org (please include "[axis2]" in the subject)
[EMAIL PROTECTED] (please include "[axis2]" in the subject)
http://issues.apache.org/jira/browse/AXIS2

Thank you for your interest in Apache Axis2!

The Axis2 Development Team
http://ws.apache.org/axis2/

-


Features of Apache Axis2:

Programming Model
   - Simple XML-centric client API with full WSDL and policy support
   - Support for easy deployemnt of POJO with or without annotation
   - Support for Spring services and clients
   - Support for any message exchange pattern (MEP)
   - Synchronous and asynchronous programming model (both in client
side and server side)
   - Archived based service deployment model supporting full service
 encapsulation
   - Directory based service deployment support
   - Archived module deployment model supporting controlled
 extensibility with versioning support
   - Hot deployment and Hot update suport for services
   - WS-Policy driven code generation extensions
   - Flexible service life cycle model and session managment
   - Automatic support for POX (REST) style invocation of services
   - Support for querying service's WSDL (with ?wsdl), schema (with
 ?xsd) and policies (with ?policy)
   - Java2WSDL support for both doclit/bare and doclit/wrapped
   - Support for custom deployers
   - Classpath module loading support

Supported Specifications
   - SOAP 1.1 and 1.2
   - Message Transmission Optimization Mechanism (MTOM)
   - XML Optimized Packaging (XOP)
   - SOAP with Attachments
   - WSDL 1.1 and WSDL 2.0, including both SOAP and HTTP bindings
   - WS-Addressing submission and 1.0
   - WS-Policy
   - SAAJ 1.1

Transports
   - HTTP/HTTPS
   - SMTP
   - JMS
   - TCP

Supported Data Bindings
   - Axis Data Binding (ADB)
   - XMLBeans
   - JibX
   - JaxMe (Experimental)
   - JaxBRI (Experimental)

Tools
   - WSDL2Java: Generate Java stubs and skeletons from a WSDL document.
   - Java2WSDL: Generate a WSDL document from a Java class.
   - Eclipse Plugins
   - IntelliJ Idea Plugins
   - Maven2 Plugins
   - Web applicatio

RE: Axis2 service not returning SOAP Message

2007-08-14 Thread John Pfeifer
I reverted my pom.xml file and it seems to be working again.  I must have 
removed a dependency.

Thanks,

John


-Original Message-
From: keith chapman [mailto:[EMAIL PROTECTED]
Sent: Mon 8/13/2007 9:27 AM
To: axis-user@ws.apache.org
Subject: Re: Axis2 service not returning SOAP Message
 
What is the version of Axis2? and what is the content-type of the response
message?

Thanks,
Keith.

On 8/13/07, John Pfeifer <[EMAIL PROTECTED]> wrote:
>
>  I noticied something bizarre that just started happening with my web
> service.  The response returned from Axis2 does not contain the Soap Envelop
> or Body.  The only thing that is returned is the XML reponse that my
> application generated.  I can't seem to find a stacktrace anywhere and I'm
> not sure where to look.  Has anyone seen this before?  I haven't modified my
> axis2 configuration files or my service.xml recently, but I have been
> adding removing libraries in WEB-INF/lib.
>
> Any ideas?
>
> Thanks,
>
> John
>



-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/



RE: Axis2 Spring Question

2007-08-14 Thread John Pfeifer
Ben & Robert,

Thanks for the input.  My application is now working with all of my code in the 
webapp and other librares in WEB-INF/lib.  I left the service.xml in the aar 
file but plan to do away with that all together.

Thanks,

John


-Original Message-
From: Ben Tomasini [mailto:[EMAIL PROTECTED]
Sent: Sun 8/12/2007 6:02 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 Spring Question
 
Here is the link:

http://bentomasini.com/blog/2007/07/22/a-simple-approach-to-axis2/

Ben

On 8/12/07, Ben Tomasini <[EMAIL PROTECTED]> wrote:
>
> I take this a bit further and simply skip the creation of an aar file.  I
> put all of my definitions in a single services.xml (using service-group)
> file in WEB-INF/services/WebService/META-INF/services.xml.  There is a full
> example on my website.
>
> Ben
>
> On 8/12/07, robert lazarski <[EMAIL PROTECTED]> wrote:
> >
> > If you run into classloader issues at the web app level, all you
> > really need to do is just have an aar with its services.xml and
> > perhaps wsdl's and xsd's - and move all the classes to be under
> > WEB-INF/lib and WEB-INF/classes.
> >
> > HTH,
> > Robert
> >
> > On 8/12/07, John Pfeifer <[EMAIL PROTECTED]> wrote:
> > > Robert
> > >
> > > I was able to get a bean using the appcontextholder.  The problem was
> > when I imported the class for that bean in my servlet I got a
> > noclassdeffound error.  If I treated the bean as object it worked.
> > >
> > > Thanks
> > > John
> > >
> > >
> > > -Original Message-
> > > From: "robert lazarski" < [EMAIL PROTECTED]>
> > > To: " axis-user@ws.apache.org" < axis-user@ws.apache.org>
> > > Sent: 8/12/07 4:38 PM
> > > Subject: Re: Axis2 Spring Question
> > >
> > > Try using the bean I showed you - that'll work inside or outside the
> > aar.
> > >
> > > Robert
> > >
> > > On 8/12/07, John Pfeifer < [EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > >
> > > > Robert,
> > > >
> > > >  My original configuration was an aar file with all of it's
> > libraries inside
> > > > the lib directory of the aar file.  In addition, I was running
> > spring within
> > > > the aar file using a SpringInit class.  This worked very well, but
> > now I
> > > > need to package some servlets in the same war file as my axis2.war(which
> > > > contains my aar).  These servlets need access to beans defined
> > within the
> > > > spring context which is inside the aar file.
> > > >
> > > >  Since the servlets are loaded by the webapp classloader and the
> > axis2
> > > > deployment classloader is a child of the webapp, it seems that my
> > servlets
> > > > won't have access to the classes (and subsequently the beans that
> > are
> > > > created) inside the aar file.  I tried this and it didn't work for
> > the
> > > > reasons mentioned above.  I then tried moving all librares from the
> > aar file
> > > > to the WEB-INF/lib directory which includes the spring.jarfile.  This 
> > > > got
> > > > me a little bit closer, but I still have the same issues.  My
> > servlets still
> > > > depend on classes that reside inside the aar and are unable to load
> > them
> > > > when the container starts up.  I am afraid that my only solution is
> > to move
> > > > these common classes into a different jar and put that in the
> > WEB-INF/lib
> > > > directory.  So in essence, I don't see a way for servlets to
> > reference any
> > > > classes that are loaded from within the aar file.
> > > >
> > > >  With that being said, I am open to suggestions.  Also, it's quite
> > possible
> > > > that I am doing something wrong.  Any help would be greatly
> > appreciated.
> > > >
> > > >  Thanks,
> > > >
> > > >  John
> > > >
> > > >
> > > >  -Original Message-
> > > >  From: robert lazarski [mailto: [EMAIL PROTECTED]
> > > >  Sent: Sat 8/11/2007 8:34 AM
> > > >  To: axis-user@ws.apache.org
> > > >  Subject: Re: Axis2 Spring Question
> > > >
> > > >  If I understand you correctly, you just need to get a hold of your
> > > >  beans anytime, anywhere. If you are doing Spring inside the AAR,
> > you
> > > >  already defined 'bean id="applicationContext"' . If not, you can
> > still
> > > >  make use of it. At the web-app level , axis2 uses that bean to get
> > its
> > > >  spring beans to make a Service out of it. This all takes advantage
> > of
> > > >  the Spring's ApplicationContextAware interface. Its perfectly fine
> > for
> > > >  you to use the static method that Axis2's internals use also:
> > > >
> > > >
> > http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/spring/src/org/apache/axis2/extensions/spring/receivers/SpringAppContextAwareObjectSupplier.java?view=markup
> > > >
> > > >  Here's some javadoc:
> > > >
> > > > http://ws.apache.org/axis2/1_2/api/org/apache/axis2/extensions/spring/receivers/ApplicationContextHolder.html
> >
> > > > http://www.springframework.org/docs/api/org/springframework/beans/factory/BeanFactory.html#getBean(java.lang.String)
> >
> > 

[Axis1.4] Web service not showing in the list of deployed Web services

2007-08-14 Thread Celinio . Fernandes
Hi,

i see the service name of my web service in the configuration file 
server-config.wsdd but it is not showing when i click in the list link in 
the page http://localhost:9000/noeews/servlet/AxisServlet
does anyone know why ?

Thanks for your help.

Here is the service name in question, extracted from the 
server-config.wsdd file.


  http://soap.noyau.tc.noee.lds.com"/>
  
  http://soap.noyau.tc.noee.lds.com,http://bean.situationcompte.soap.noyau.tc.noee.lds.com,http://bean.soap.noyau.infra.noee.lds.com";
/>
  
  
  
  
  http://soap.noyau.tc.noee.lds.com"; returnQName=
"situationCompteReturn" returnType="rtns:SituationCompteRetour" xmlns:rtns
="http://bean.situationcompte.soap.noyau.tc.noee.lds.com"; soapAction="" >
http://www.w3.org/2001/XMLSchema"/>
http://www.w3.org/2001/XMLSchema"/>
  
  

  http://soap.noyau.tc.noee.lds.com";
qname="ns:ArrayOf_tns1_Dispositif"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.Dispositif[]"
innerType="cmp-ns:Dispositif" xmlns:cmp-ns=
"http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
qname="ns:SituationCompteRetour"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.SituationCompteRetour"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer=
"org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://soap.noyau.tc.noee.lds.com";
qname="ns:ArrayOf_tns1_Entreprise"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.Entreprise[]"
innerType="cmp-ns:Entreprise" xmlns:cmp-ns=
"http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
qname="ns:Entreprise"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.Entreprise"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer=
"org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://soap.noyau.tc.noee.lds.com";
qname="ns:ArrayOf_tns1_Support"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.Support[]"
innerType="cmp-ns:Support" xmlns:cmp-ns=
"http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
qname="ns:Dispositif"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.Dispositif"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer=
"org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://bean.soap.noyau.infra.noee.lds.com";
qname="ns:SoapBean"
type="java:com.lds.noee.infra.noyau.soap.bean.SoapBean"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer=
"org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  http://bean.situationcompte.soap.noyau.tc.noee.lds.com";
qname="ns:Support"
type=
"java:com.lds.noee.tc.noyau.soap.situationcompte.bean.Support"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer=
"org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  />
  



RE: Axis1.4 client hiting an Axis 2.0 service

2007-08-14 Thread Kandalam, Anjana
OK ya I got to know what the problem is. I am not able to get to the
deployed services page itself. I have upgraded my services to Axis2.0. When
I try to go to localhost and see the deployed services I get page not found.
The Happy axis page is also not displayed. I have copied the happyaxis.jsp
page and index.jsp page to the webcontent of my web appAny help would be
highly appreciated. Thanks

 

Anjana Kandalam 
Private Client Group - AIG 
Work: 908-679-2608 
Cell: 908-596-0424 

  _  

From: keith chapman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 12:02 AM
To: axis-user@ws.apache.org
Subject: Re: Axis1.4 client hiting an Axis 2.0 service

 

Axis2 supports both WSDL 1.1 and WSDL 2.0 so not upgrading to WSDL 2.0 is
not a problem. s. Can you be more elaborate as to what your trying to do and
the exception that occur. The StackTrace might be helpful too. 

Thanks,
Keith.

On 8/14/07, Kandalam, Anjana <[EMAIL PROTECTED]
 > wrote:

Hi,

 

I am using Axis1.4 client to hit an Axis2.0 webservice. I am getting a file
not found exception for the service. I have not upgraded to wsdl2.0. Is this
valid??

 

 

Anjana Kandalam 
Private Client Group - AIG 
Work: 908-679-2608 
Cell: 908-596-0424 

 




-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/   



Re: Illegal argument exception Local part can not be null when creating QName

2007-08-14 Thread Martin Gainty
QName is used as an arg to setOperationName of call e.g.
call.setOperationName(new QName("urn:soapservice", "getEvents"));

Qname is used to specify returnType in the call object
call.setReturnType(new QName("events"),java.lang.String.class);

if you are using aggregate or complex constructed Java Classes for the type.. 
you need to apprise the call object of this datatype thru RegisterTypeMapping

We can be more assistance if you show us the client code which is generated

HTH/
Martin
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: John Joseph 
  To: axis-user@ws.apache.org 
  Sent: Monday, August 13, 2007 4:23 PM
  Subject: Illegal argument exception Local part can not be null when creating 
QName


  Hi,
  I am new to Axis. I reaaly appreciate if some one can tell me what am I doing 
wrong here!

  I get the following error when I deploy the web service using ant task 
. Created the wsdd using wdsl2java. I have attached my wsdl too.

  C:\Program Files\Active Endpoints\ActiveBPEL 
Designer\Server\ActiveBPEL_Tomcat\w
  ebapps\SampleService>ant deploy
  Buildfile: build.xml
  deploy:
  [axis-admin] - Unable to find required classes (javax.activation.DataHandler 
and
   javax.mail.internet.MimeMultipart). Attachment support is disabled.
  [axis-admin] Processing file C:\Program Files\Active Endpoints\ActiveBPEL 
Design
  
er\Server\ActiveBPEL_Tomcat\webapps\SampleService\WEB-INF\classes\com\localhost\
  ss\deploy.wsdd
  [axis-admin] AxisFault
  [axis-admin]  faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userE
  xception
  [axis-admin]  faultSubcode:
  [axis-admin]  faultString: java.lang.IllegalArgumentException: local part 
cannot
   be "null" when creating a QName
  [axis-admin]  faultActor:
  [axis-admin]  faultNode:
  [axis-admin]  faultDetail:
  [axis-admin]{http://xml.apache.org/axis/}hostname:JoyJoseph
  [axis-admin] Running axis-admin with parameters:
  [axis-admin]   action:
  [axis-admin]   url:http://localhost:8080/active-bpel/servlet/AxisServlet
  [axis-admin]   hostname:null
  [axis-admin]   port:0
  [axis-admin]   servletPath:null
  [axis-admin]   fileProtocol:null
  [axis-admin]   username:null
  [axis-admin]   password:null
  [axis-admin]   transportChain:null
  [axis-admin]   debug:false

  WSDL

  

  http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:tns="http://localhost/ss/"; 

  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; name="SampleService"

  targetNamespace="http://localhost/ss/";>

  

  http://localhost/ss/";>

  

  

  

  

  

  

  

  

  

  


  

  

  


  

  

  


  

  

  

  

  

  


  

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

  

  http://localhost/ss/concat"/>

  

  

  

  

  

  

  

  


  

  

  http://localhost:8080/active-bpel/services/SampleServiceSOAP"/>

  

  

  



  Thanks,

  John




--
  Luggage? GPS? Comic books? 
  Check out fitting gifts for grads at Yahoo! Search.

Re: passwordCallbackClass>

2007-08-14 Thread Pavan Madiraju
Thanks for the response Dimuthu,

Can anyone point me to documentation on passwordCallbackClass and when it is
invoked ?
Is that invoked by the service on receiving the request from client or while
generating the response.

Thanks,
Pavan

On 8/14/07, Dimuthu Leelaratne <[EMAIL PROTECTED]> wrote:
>
> Hi Pavan,
>
> As far as I know you cannot completely remove the concept of password
> call back handler, if you want to put signature or username token.
> However you can programatically create and add RampartConfig. This way
> you can get rid of it from the policy.xml file, but still it will
> exit.
>
> Regards,
> Dimuthu.
>
>
> On 8/13/07, Pavan Madiraju <[EMAIL PROTECTED]> wrote:
> > Is there any way that we can configure the client and service policy
> without
> > coding the PWCBHandler so that I can keep all the security information
> in
> > the policy.
> >
> >  org.apache.rampart.samples
> > > .policy.sample02.PWCBHandler
> > >
> >
> > Can I complete remove :passwordCallbackClass> in the client and server ?
> >
> > Any ideas ?
> >
> > Thanks in Advance,
> > Pavan
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [Axis2] SAML security tokens generation

2007-08-14 Thread Christina Larocca
Thanks for your quick response. I'm going to put the examples to work.

Regards.

Christina.

2007/8/14, Ruchith Fernando <[EMAIL PROTECTED]>:
>
> Hi Christina,
>
> Rampart supports adding SAML Tokens to the security header in the
> policy based implementation. You can see an example here :
>
> http://marc.info/?l=axis-user&m=118665642802630&w=2
>
> By the way note that this requires the service to express it
> requirements in policy and this sample uses the token acquired from
> the Security Token Service to encrypt and sign the message.
>
> I'm not sure what you mean by "...SAML tokens with encryption of the
> user name and signature will be used ...". Please check whether the
> above sample fits your requirement.
>
> Thanks,
> Ruchith
>
> On 8/14/07, Christina Larocca <[EMAIL PROTECTED]> wrote:
> > Hi all Axis2 users:
> >
> > I have been managing some web services using UsernameTokens (without
> using
> > rampart) to convey identities. I've a client that connects to a Token
> issuer
> > service that provides it an EndpointReference and the Username token
> needed
> > to authenticate. Now I must remodelate the security of the whole model
> and
> > instead of that, SAML tokens with encryption of the user name and
> signature
> > will be used. The last axis2 version I've been using was the 1.1 and now
> I'm
> > thinking about updating to the newest one and start using rampart.
> >
> > I have read that, unfortunatelly, Rampart itself can't be configured to
> add
> > the SAML token to the Security header and that it delegates those
> functions
> > to a STS called Rahas. The documentation I found about Rahas is very
> weak
> > and despite my experience I don't have a clue about where or how to
> start.
> > Could anyone indicate me where to find a good tutorial or use examples?
> Or,
> > even better, could anyone show me some code to generate the tokens? If
> it's
> > possible, I would prefer to config rahas with code instead of creating
> text
> > config files.
> >
> > Thanks in advance.
> >
> > Christina.
> >
> >
>
>
> --
> www.ruchith.org
> www.wso2.org
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Http session / several services

2007-08-14 Thread Franck LEFEBURE
Hello,

 

 

I have 2 wsdl2java generated stubs :

 

  String endpoint1 =
"http://server:7779/commonapi/services/EndPoint1";;

  String endpoint2 =
"http://server:7779/commonapi/services/EndPoint2";;

  FirstEndPointSoapBindingStub service1 = new
FirstEndPointSoapBindingStub (new URL(endpoint1), new Service());

  service1.setMaintainSession(true);

  SecondEndPointSoapBindingStub service2 = new
SecondEndPointSoapBindingStub (new URL(endpoint2), new Service());

  service2.setMaintainSession(true);

 

What I want is to maintain HTTP session during calling of the 2
services.

 

   service1.firstMethod(foo, bar);

   service2.firstMethod(foo, bar);

   service1.secondMethod(foo, bar);

 

With TcpMon, I can see the SessionId is transmitted during all the calls
to service1, but not for the service2 call.

 

I've read the archive, the problem is common, but I can't find any
solution.

 

 

Additionally, I would prefer to not modify the wsdl2java class
generated.

 

May be it's possible to modify the client-config.wsdd file to define a
custom handler, Do someone has solved this problem?

 

Thanks,

 

BR,

 

 

--
Franck 

 



faultString: org.xml.sax.SAXException: Invalid element error when create java code using wsdl2java

2007-08-14 Thread Ashish Kulkarni
Hi
I have a wsdl file, and i created java source using wsdl2java, i used
parameter -w to create wrap Arrays ,
i wrote java code to create all the objects to call the web service, and i
am getting the following error
faultString: org.xml.sax.SAXException: Invalid element in
com.pfizer.www.bod.mapslims.req.UserAreaTypeTransaction - TransactionRecord



I am pasting the wsdl file here, any ideas how to resolve it


http://www.pfizer.com/mapslims/";
xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="
http://www.pfizer.com/mapslims/"; xmlns:intf="http://www.pfizer.com/mapslims/";
xmlns:tns1="http://www.pfizer.com/bod/mapslims/req"; xmlns:tns2="
http://www.pfizer.com/bod/mapslims/res"; xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="
http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema";>


http://www.pfizer.com/bod/mapslims/req"; xmlns="
http://www.w3.org/2001/XMLSchema";>
http://www.pfizer.com/bod/mapslims/res"/>













































































































http://www.pfizer.com/bod/mapslims/res"; xmlns="
http://www.w3.org/2001/XMLSchema";>
http://www.pfizer.com/bod/mapslims/req"/>










































































































































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



http://www.pfizer.com/mapslims/MapsLimsServer/SyncLotInfo"/>





















http://localhost:4080/mapslims/services/MapsLimsServerPort"/>








RE: Http session / several services [SOLVED]

2007-08-14 Thread Franck LEFEBURE
JsessionId Cookie injection for the second call:

 

service1.firstMethod(foo, bar);

Call firstCall = service1._getCall();

org.apache.axis.MessageContext msgContext = firstCall.getMessageContext();

String cookie = msgContext.getStrProp(HTTPConstants.HEADER_COOKIE);

service2._setProperty(HTTPConstants.HEADER_COOKIE, cookie);

service2.firstMethod(foo, bar);

 

BR

--
Franck 



De : Franck LEFEBURE [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 14 août 2007 11:40
À : axis-user@ws.apache.org
Objet : Http session / several services

 

Hello,

 

 

I have 2 wsdl2java generated stubs :

 

  String endpoint1 = "http://server:7779/commonapi/services/EndPoint1";;

  String endpoint2 = "http://server:7779/commonapi/services/EndPoint2";;

  FirstEndPointSoapBindingStub service1 = new FirstEndPointSoapBindingStub 
(new URL(endpoint1), new Service());

  service1.setMaintainSession(true);

  SecondEndPointSoapBindingStub service2 = new 
SecondEndPointSoapBindingStub (new URL(endpoint2), new Service());

  service2.setMaintainSession(true);

 

What I want is to maintain HTTP session during calling of the 2 services.

 

   service1.firstMethod(foo, bar);

   service2.firstMethod(foo, bar);

   service1.secondMethod(foo, bar);

 

With TcpMon, I can see the SessionId is transmitted during all the calls to 
service1, but not for the service2 call.

 

I've read the archive, the problem is common, but I can't find any solution.

 

 

Additionally, I would prefer to not modify the wsdl2java class generated.

 

May be it's possible to modify the client-config.wsdd file to define a custom 
handler, Do someone has solved this problem?

 

Thanks,

 

BR,

 

 

--
Franck 

 



getting AxisFault: The input stream for an incoming message is null.

2007-08-14 Thread אלחנן מעיין
 Hi.. I have this code:

final String serviceNS="http://tempuri.org/";;
final String method="HelloWorld";
RPCServiceClient client=new RPCServiceClient();
client.getOptions().setAction(serviceNS+method);

client.setTargetEPR(new 
EndpointReference("http://localhost/BiztalkMock/Service.asmx";));
System.out.println(client.invokeBlocking(new QName(serviceNS,method),   new 
Object[]{}));


However I'm getting
 org.apache.axis2.AxisFault: The input stream for an incoming message is null.
at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:71)
at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
at 
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:75

I suspect I does not actually invoke the web service as I'm using Visual Studio 
2005 and casini as web server, and it doesn't stop at any breakpoint, trying to 
access it via net client works.

The same code does work in against  axis server.


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



POJO axis2 web service with Tomcat 5.5 with security

2007-08-14 Thread Jenn Chen

Hi,

Has anyone run axis2 web service with Apache 1.3/ Tomcat 5.5 with security?  My 
Axis2 version is 1.1.1.

I've created an Axis2 web service using the POJO examples in the documentation. 
 The wsdl is visible when I start Tomcat 5.5 up without security.  However when 
Tomcat has security, I am getting a "resource unavailable".  The following 
permissions have been set in Tomcat's catalina.policy file -

permission java.util.PropertyPermission "javax.wsdl.factory.WSDLFactory", 
"write";
permission java.util.PropertyPermission 
"java.protocol.handler.pkgs","write";
permission 
java.lang.RuntimePermission "setFactory";
permission 
java.net.SocketPermission "*", "connect";

Is there anything else?

Thanks a bunch,

Jennifer J. Chen






  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

[Axis 2] InvocationTargetException when generating JiBX client

2007-08-14 Thread Rupal Soni
I am trying to generate the JiBX client code using Axis2 CodeGen Wizard. I am 
getting "Error Occured When Completing the Process 
java.lang.InvocationTargetException" Any idea why. I am using the latest 1.3 
version of Axis2. Please help.
   
-
Got a little couch potato? 
Check out fun summer activities for kids.

"How can I read file"

2007-08-14 Thread renjith kalappurackal
Hi All,
   
  I have a problem facing while try to read a file from a web services that is 
packaged as aar.
  My application  structure is as follows
   
  The server I am using is jboss-3.0.8_tomcat-4.1.24.
  And I wrote code to access file in my local machine as below in lets say 
Converter.java.
   
  MessageContext ctx = MessageContext.getCurrentMessageContext();
AxisService asrv = ctx.getAxisService();
  fin = (FileInputStream) asrv.getClassLoader().getResourceAsStream(xml)
   
  Where xml being the name of the file lets say (myconfig.xml) And I placed 
this file in axis2/WEB-INF/classes. And put converter.java in a jar file in 
C:\jboss-3.0.8_tomcat-4.1.24\tomcat-4.1.x\shared\lib.
  And I deployed my services in axis2.war and placed axis2.war in 
C:\jboss-3.0.8_tomcat-4.1.24\server\default\deploy\webapps.
   
  This solution worked fine in local environment.
   
  But when I moved the solution to Linux server it failed becuase of 
NullPointerException in
  AxisService asrv = ctx.getAxisService();
   
  The structure of server is different being Converter.class in shared/lib 
directory of /home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/shared/lib. but axis2 
is deployed as exploded form under 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/ and this erro is 
happening whenI tried to access my config file that is in 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/axis2/WEB-INF/clasess/myconfig.xml
 from my service class (let say MyService.class) in AAR that 
  
/home/wpape/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/commence/erpsync/axis2/WEB-INF/services/myAAR.aar.
  
This error is happening when MyService.classs after accessing 
Converter.class in shared/lib try to get the messageContext. I think I did 
somethign terrible wrong here. Could anyone tell me the best way to access this 
myconfig.xml in 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/axis2/WEB-INF/clasess/
 directory from a class thst is placed in ajar in shared/lib that is inturn 
accessing by my service class in AAR.
   

   
-
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.

" Accessing a file from service Class "

2007-08-14 Thread renjith kalappurackal
Hi All,
 
I have a problem facing while try to read a file from a web services that is 
packaged as aar.
My application  structure is as follows
 
The server I am using is jboss-3.0.8_tomcat-4.1.24.
And I wrote code to access file in my local machine as below in lets say 
Converter.java.
 
MessageContext ctx = MessageContext.getCurrentMessageContext();
AxisService asrv = ctx.getAxisService();
fin = (FileInputStream) asrv.getClassLoader().getResourceAsStream(xml)
 
Where xml being the name of the file lets say (myconfig.xml) And I placed this 
file in axis2/WEB-INF/classes. And put converter.java in a jar file in 
C:\jboss-3.0.8_tomcat-4.1.24\tomcat-4.1.x\shared\lib.
And I deployed my services in axis2.war and placed axis2.war in 
C:\jboss-3.0.8_tomcat-4.1.24\server\default\deploy\webapps.
 
This solution worked fine in local environment.
 
But when I moved the solution to Linux server it failed becuase of 
NullPointerException in
AxisService asrv = ctx.getAxisService();
 
The structure of server is different being Converter.class in shared/lib 
directory of /home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/shared/lib. but axis2 
is deployed as exploded form under 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/ and this erro is 
happening whenI tried to access my config file that is in 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/axis2/WEB-INF/clasess/myconfig.xml
 from my service class (let say MyService.class) in AAR that 
/home/wpape/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/commence/erpsync/axis2/WEB-INF/services/myAAR.aar.
  
 
   This error is happening when MyService.classs after accessing 
Converter.class in shared/lib try to get the messageContext. 
   
   I think I did somethign terrible wrong here. Could anyone tell me the best 
way to access this myconfig.xml in 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/axis2/WEB-INF/clasess/
 directory from a class that is placed in a jar in shared/lib that is being 
called by my service class in AAR.

   
  Thanks in advance,
  Renjith 

   
-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

Consuming .NET exposed web service by an Axis2 ADB Client gives Error 400 : Bad Request

2007-08-14 Thread Pushkar Bodas

Hi,

I am a newbie to AXIS2 and .NET too. I exposed a web service in .NET and I
am trying to consume it by using AXIS2's ADB client. The way in which .NET
creates the WSDL makes the WSDL2java utility of AXIS2 to generate request
classes for even those web-methods, which do not take any parameters. Hence
the scenario is that all the methods to be used, have to be passed an object
whenever I have to use the Stub.Method(Object).

When I do this, everything seems to go on fine, inclusing the creation of
the SOAP Envolope too. But the OperationClient.execute(true) method in the
Stub class throws an exception as the one shown below :




EXCEPTION
///


org.apache.axis2.AxisFault: Transport error: 400 Error: Bad Request
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:221)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
at
org.tempuri.ServiceServiceSoap12Stub.ReverseString(ServiceServiceSoap12Stub.java:409)
at org.tempuri.Main.main(Main.java:30)
Caused by: org.apache.axis2.AxisFault: Transport error: 400 Error: Bad
Request
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:314)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:201)
... 5 more
Caused by: org.apache.axis2.AxisFault: Transport error: 400 Error: Bad
Request
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305)
... 6 more
Caused by: org.apache.axis2.AxisFault: Transport error: 400 Error: Bad
Request
at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:320)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:177)
... 8 more


/
END OF EXCEPTION
/

I used the WSDL2java utility to create the Stub from the web service exposed
by .NET. The exposed webservice works fine as I have tested it with a client
in C#. 

Can someone please help me with this?...I am stuck over here for a couple of
days. This can be quite a silly question, but since I am new to AXIS2, I do
not know how to resolve this problem. Thanks in advance.

Thanks and regards,
Pushkar
 
-- 
View this message in context: 
http://www.nabble.com/Consuming-.NET-exposed-web-service-by-an-Axis2-ADB-Client-gives-Error-400-%3A-Bad-Request-tf4269311.html#a12150977
Sent from the Axis - User mailing list archive at Nabble.com.


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



Axis2: Speciying style in services.xml

2007-08-14 Thread Bhojraj, Santosh
Hi:
  I am trying to create web services using Axis2 and would like to
specify the style as "rpc" when the <>.aar is generated. How do
I do this ? The style gets set to "document" when I deploy the .aar
file. I am able to do this when generating the WSDL by specifying the
parameter in the ant build file.
  Is there a link for the specification on this xml file ? 
 
Thanx!!
Santosh
 


Re: " Accessing a file from service Class "

2007-08-14 Thread Martin Gainty
the war task should include any/all files (include myconfig.xml) to be 
referenced
then any deploy tasks should un-war or decompress the files (including 
myconfig.xml) to the deployment folder which would be
either 
WEB-INF/lib
or
WEB-INF/classes

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: renjith kalappurackal 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, August 14, 2007 2:08 PM
  Subject: " Accessing a file from service Class "


  Hi All,
   
  I have a problem facing while try to read a file from a web services that is 
packaged as aar.
  My application  structure is as follows
   
  The server I am using is jboss-3.0.8_tomcat-4.1.24.
  And I wrote code to access file in my local machine as below in lets say 
Converter.java.
   
  MessageContext ctx = MessageContext.getCurrentMessageContext();
  AxisService asrv = ctx.getAxisService();
  fin = (FileInputStream) asrv.getClassLoader().getResourceAsStream(xml)
   
  Where xml being the name of the file lets say (myconfig.xml) And I placed 
this file in axis2/WEB-INF/classes. And put converter.java in a jar file in 
C:\jboss-3.0.8_tomcat-4.1.24\tomcat-4.1.x\shared\lib.
  And I deployed my services in axis2.war and placed axis2.war in 
C:\jboss-3.0.8_tomcat-4.1.24\server\default\deploy\webapps.
   
  This solution worked fine in local environment.
   
  But when I moved the solution to Linux server it failed becuase of 
NullPointerException in
  AxisService asrv = ctx.getAxisService();
   
  The structure of server is different being Converter.class in shared/lib 
directory of /home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/shared/lib. but axis2 
is deployed as exploded form under 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/ and this erro is 
happening whenI tried to access my config file that is in 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/axis2/WEB-INF/clasess/myconfig.xml
 from my service class (let say MyService.class) in AAR that 
  
/home/wpape/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/commence/erpsync/axis2/WEB-INF/services/myAAR.aar.
  
   
   This error is happening when MyService.classs after accessing 
Converter.class in shared/lib try to get the messageContext. 

   I think I did somethign terrible wrong here. Could anyone tell me the best 
way to access this myconfig.xml in 
/home/jboss-3.0.8_tomcat-4.1.24/tomcat-4.1.x/webapps/mydomain/axis2/WEB-INF/clasess/
 directory from a class that is placed in a jar in shared/lib that is being 
called by my service class in AAR.


  Thanks in advance,
  Renjith 


--
  Be a better Globetrotter. Get better travel answers from someone who knows.
  Yahoo! Answers - Check it out. 

Re: Axis2: Speciying style in services.xml

2007-08-14 Thread Martin Gainty
Axis2 Spring Questiona link to the style attribute explanation
http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage

Does this help?
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: Bhojraj, Santosh 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, August 14, 2007 4:37 PM
  Subject: Axis2: Speciying style in services.xml


  Hi:
I am trying to create web services using Axis2 and would like to specify 
the style as "rpc" when the <>.aar is generated. How do I do this ? 
The style gets set to "document" when I deploy the .aar file. I am able to do 
this when generating the WSDL by specifying the parameter in the ant build file.
Is there a link for the specification on this xml file ? 

  Thanx!!
  Santosh


access to ServletConfig from service class

2007-08-14 Thread feh

I've embedded Axis2 in an existing application running under Tomcat, such
that the AxisServlet is specified in web.xml, and all requests for
/app/services/* are routed to Axis.

Axis then takes care of calling my service methods for a given request. 

Does anybody know how I can get a reference to the ServletContext or
ServletConfig from within a service method?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/access-to-ServletConfig-from-service-class-tf4269706.html#a12152200
Sent from the Axis - User mailing list archive at Nabble.com.


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



[AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

2007-08-14 Thread Pantvaidya, Vishwajit
I installed the Axis2 service archiver plugin into my Eclipse - and
after that saw that my ant builds stopped working. I saw that was
because, it had in the process changed the eclipse ant_home to
C:\eclipse\plugins\Axis2_Service_Archiver_1.3.0\ ANT_HOME expects a
lib directory within the ANT_HOME - this violates that and therefore
seems to be an incorrect setting. Is this a bug?

 

I restored the ant_home to eclipse ant folder and then my builds started
to work again.



RE: [AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

2007-08-14 Thread Pantvaidya, Vishwajit
A correction - the service archiver folder does have a lib folder but
not all the ant jars.

 



From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 2:56 PM
To: axis-user@ws.apache.org
Subject: [AXIS2] Service archiver eclipse plugin changes ANT_HOME,
causes ant problems

 

I installed the Axis2 service archiver plugin into my Eclipse - and
after that saw that my ant builds stopped working. I saw that was
because, it had in the process changed the eclipse ant_home to
C:\eclipse\plugins\Axis2_Service_Archiver_1.3.0\ ANT_HOME expects a
lib directory within the ANT_HOME - this violates that and therefore
seems to be an incorrect setting. Is this a bug?

 

I restored the ant_home to eclipse ant folder and then my builds started
to work again.



[AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Pantvaidya, Vishwajit
I was running axis2 wsdl2java task with the xmlbeans binding option -
and got the error "Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/axiom/om/OMNode". My
impression is that I do not need axiom jars since I am using xmlbeans
binding. Can someone clarify?

 

Secondly - the wsdl2java task has a binding option to specify xmlbeans.
But I cannot find any such option on the Axis2 Codegen ant task
(

RE: access to ServletConfig from service class

2007-08-14 Thread Raghu Upadhyayula
Hi Feh,

You can get the ServletContext as follows (In Axis 1.3).  Which
Axis version are you using?
For Axis 1.3
  MessageContext context = MessageContext.getCurrentContext(); 
  HttpServlet servlet =
(HttpServlet)context.getProperty(HTTPConstants.MC_HTTP_SERVLET);
  ServletContext servletContext = servlet.getServletContext();

For Axis2 1.2
  MessageContext context =
MessageContext.getCurrentMessageContext(); 
  HttpServlet servlet =
(HttpServlet)context.getProperty(HTTPConstants.MC_HTTP_SERVLET);
  ServletContext servletContext = servlet.getServletContext();

Thanks
Raghu

-Original Message-
From: feh [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 2:04 PM
To: axis-user@ws.apache.org
Subject: access to ServletConfig from service class


I've embedded Axis2 in an existing application running under Tomcat,
such
that the AxisServlet is specified in web.xml, and all requests for
/app/services/* are routed to Axis.

Axis then takes care of calling my service methods for a given request. 

Does anybody know how I can get a reference to the ServletContext or
ServletConfig from within a service method?

Thanks!
-- 
View this message in context:
http://www.nabble.com/access-to-ServletConfig-from-service-class-tf42697
06.html#a12152200
Sent from the Axis - User mailing list archive at Nabble.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]



[RAMPART] Which is the official rampart home page?

2007-08-14 Thread Alberto Patino
Hi guys!

I'm trying to download RAMPART module 1.3 RC1 to run samples with
Axis2-1.3 as suggested by Ruchith , but I'm stuck trying to find the
RC1 version

I think the page:

http://ws.apache.org/rampart/

is the official one, but I don't see the link in the main page of apache,

On the other hand I found the RC1 version in the Ruchith blog:

http://ruchith.blogspot.com/2007/08/apache-rampart-13-rc1-is-available.html

And lastly, rampart info is found under the modules section from the axis2 page:

http://ws.apache.org/axis2/modules/rampart/1_3/security-module.html

Could it be possible to gather all the
Rampart related information into the http://ws.apache.org/rampart page?

Thanks a lot

-- 
Don't be evil!!!

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



Independent Log4j logging in Axis 2 services

2007-08-14 Thread Anthony Bull
Hi, has anyone managed to get multiple services running under the same 
axis2 instance to use independent log4j configurations?


I have two services, and am configuring log4j via log4j.properties files 
in each service - however, the first service starts logging to the log 
file for the second service as soon as the second service has been loaded.


cheers,
Ants.

--
Anthony
-
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-
www.bcsoft.co.nz
---
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---



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



Re: Independent Log4j logging in Axis 2 services

2007-08-14 Thread Anthony Bull
Thanks for the reply.  All my loggers are acquired by the following 
(where THIS_CLASS is the current class):


Logger logger = Logger.getLogger( THIS_CLASS.class);

I'm initializing log4j with a static initializer in the 
MessageReceiverInOut class of each service, similar to the following code:


static {
 // log4j.
 System.out.println("log4j init");
 try {
   Properties props = new Properties();
   props.load( THIS_CLASS.class.getClassLoader().getResourceAsStream( 
"log4j.properties"));

   PropertyConfigurator.configure( props);
 }
 catch ( Throwable e) {
   e.printStackTrace();
 }
 finally {
   System.out.println("log4j finished");
 }
}

Both log files are created, but the last one to be created gets all logs 
written to it exclusively, including the Axis2 container logs such as 
all the "Deploying web service" messages.


cheers,
Ants.


Martin Gainty wrote:
Appears you're acquiring the rootLogger (Logger.getRootLogger) instead 
of NameOfLoggerYouDesire

try
Logger.getLogger(NameOfLoggerYouDesire);
http://logging.apache.org/log4j/docs/api/org/apache/log4j/Logger.html

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: "Anthony Bull" 
<[EMAIL PROTECTED]>

To: 
Sent: Tuesday, August 14, 2007 8:16 PM
Subject: Independent Log4j logging in Axis 2 services


Hi, has anyone managed to get multiple services running under the 
same axis2 instance to use independent log4j configurations?


I have two services, and am configuring log4j via log4j.properties 
files in each service - however, the first service starts logging to 
the log file for the second service as soon as the second service has 
been loaded.


cheers,
Ants.

--
Anthony
-
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-
www.bcsoft.co.nz
---
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---



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









--
Anthony
-
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-
www.bcsoft.co.nz
---
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---



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



Fw: faultString: org.xml.sax.SAXException: Invalid element error when create java code using wsdl2java

2007-08-14 Thread Martin Gainty
on the top line of your WSDL change version from " 1.0"
to version="1.0"
then run the WSDL2Java command
WSDL2Java -uri file:///C:/Pfizer.wsdl

which created the CallbackHandler and ServerStub java source files
C:\src\com\pfizer\www\mapslims\
MapsLimsServerCallbackHandler.java
MapsLimsServerStub.java

Martin

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: Ashish Kulkarni 
To: axis-user@ws.apache.org 
Sent: Tuesday, August 14, 2007 11:57 AM
Subject: faultString: org.xml.sax.SAXException: Invalid element error when 
create java code using wsdl2java


Hi
I have a wsdl file, and i created java source using wsdl2java, i used parameter 
-w to create wrap Arrays ,
i wrote java code to create all the objects to call the web service, and i am 
getting the following error
faultString: org.xml.sax.SAXException: Invalid element in 
com.pfizer.www.bod.mapslims.req.UserAreaTypeTransaction - TransactionRecord
 


I am pasting the wsdl file here, any ideas how to resolve it


http://www.pfizer.com/mapslims/"; 
xmlns:apachesoap=" http://xml.apache.org/xml-soap"; 
xmlns:impl="http://www.pfizer.com/mapslims/"; 
xmlns:intf="http://www.pfizer.com/mapslims/ " 
xmlns:tns1="http://www.pfizer.com/bod/mapslims/req"; 
xmlns:tns2="http://www.pfizer.com/bod/mapslims/res " 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/ " 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

 
http://www.pfizer.com/bod/mapslims/req"; 
xmlns="http://www.w3.org/2001/XMLSchema ">
http://www.pfizer.com/bod/mapslims/res"/>

 


 

 



 


 




 







 





 





 




 

 

 

 

 

 

 

 

 

 

 

 

 

 





 



 





 

 




 







 



 




http://www.pfizer.com/bod/mapslims/res"; 
xmlns="http://www.w3.org/2001/XMLSchema";>
http://www.pfizer.com/bod/mapslims/req"/>


 


 


 




 



 



 




 


 



 




 





 



 


 




 



 


 


 


 







 



 



 

 


 









 

 



 







 







 





 







 

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

 

http://www.pfizer.com/mapslims/MapsLimsServer/SyncLotInfo"/>

 







 









 

http://localhost:4080/mapslims/services/MapsLimsServerPort"/>

 








Re: [RAMPART] Which is the official rampart home page?

2007-08-14 Thread Ruchith Fernando
Hi,

I did send a mail to the rampart-dev list [1] about the RC release :-)
and apologies about not updating the Rampart site[2].

We should move the axis2 rampart page into the rampart site and link
to the official site from the axis modules page.

Thanks,
Ruchith

1. 
http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200708.mbox/raw/[EMAIL 
PROTECTED]/
2. http://ws.apache.org/rampart/

On 8/15/07, Alberto Patino <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> I'm trying to download RAMPART module 1.3 RC1 to run samples with
> Axis2-1.3 as suggested by Ruchith , but I'm stuck trying to find the
> RC1 version
>
> I think the page:
>
> http://ws.apache.org/rampart/
>
> is the official one, but I don't see the link in the main page of apache,
>
> On the other hand I found the RC1 version in the Ruchith blog:
>
> http://ruchith.blogspot.com/2007/08/apache-rampart-13-rc1-is-available.html
>
> And lastly, rampart info is found under the modules section from the axis2 
> page:
>
> http://ws.apache.org/axis2/modules/rampart/1_3/security-module.html
>
> Could it be possible to gather all the
> Rampart related information into the http://ws.apache.org/rampart page?
>
> Thanks a lot
>
> --
> Don't be evil!!!
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
www.ruchith.org
www.wso2.org

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



Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Amila Suriarachchi
On 8/15/07, Pantvaidya, Vishwajit <[EMAIL PROTECTED]> wrote:
>
>  I was running axis2 wsdl2java task with the xmlbeans binding option – and
> got the error "Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/axiom/om/OMNode". My impression is that I do not need axiom jars
> since I am using xmlbeans binding. Can someone clarify?
>

can you send the full stacktrace? you got this when running wsdl2java tool
right?

Secondly - the wsdl2java task has a binding option to specify
xmlbeans. But I cannot find any such option on the Axis2 Codegen ant
task (
>
xmlbeans produces java classess (i.e it is a java binding). but there is no
xmlbeans C version. if you
use C the only option is to use the ADB. ADB has a C version.

if you interested more on C codegen please ask this question in Axis2 C
list.

- Vish.
>



-- 
Amila Suriarachchi,
WSO2 Inc.


Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Upul Godage
Hi,

For the second question, try attribute databindingName="xmlbeans"

For the first question, may be wsdl2java code is internally using axiom
functionality to work with the wsdl xml files, although the generated code
is xmlbeans.

Upul


On 8/15/07, Pantvaidya, Vishwajit <[EMAIL PROTECTED]> wrote:
>
>  I was running axis2 wsdl2java task with the xmlbeans binding option – and
> got the error "Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/axiom/om/OMNode". My impression is that I do not need axiom jars
> since I am using xmlbeans binding. Can someone clarify?
>
>
>
> Secondly - the wsdl2java task has a binding option to specify xmlbeans. But I 
> cannot find any such option on the Axis2 Codegen ant task ( which I desire to use. How can I specify xmlbeans there?
>
>
>
>
>
> - Vish.
>


Re: Consuming .NET exposed web service by an Axis2 ADB Client gives Error 400 : Bad Request

2007-08-14 Thread Amila Suriarachchi
This is a problem with your epr (end point reference).

When generating the stubs with the wsdl2java tool, it writes the epr
specified in the Port element (in the wsdl) to the stub file. Then if you do
not override this (by giving the epr to stub) it uses this already saved
epr.

Please check this epr is correct or not.

Amila.

On 8/15/07, Pushkar Bodas <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I am a newbie to AXIS2 and .NET too. I exposed a web service in .NET and I
> am trying to consume it by using AXIS2's ADB client. The way in which .NET
> creates the WSDL makes the WSDL2java utility of AXIS2 to generate request
> classes for even those web-methods, which do not take any parameters.
> Hence
> the scenario is that all the methods to be used, have to be passed an
> object
> whenever I have to use the Stub.Method(Object).
>
> When I do this, everything seems to go on fine, inclusing the creation of
> the SOAP Envolope too. But the OperationClient.execute(true) method in the
> Stub class throws an exception as the one shown below :
>
>
>
> 
> EXCEPTION
> ///
>
>
> org.apache.axis2.AxisFault: Transport error: 400 Error: Bad Request
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
> CommonsHTTPTransportSender.java:221)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:330)
> at
> org.apache.axis2.description.OutInAxisOperationClient.execute(
> OutInAxisOperation.java:294)
> at
> org.tempuri.ServiceServiceSoap12Stub.ReverseString(
> ServiceServiceSoap12Stub.java:409)
> at org.tempuri.Main.main(Main.java:30)
> Caused by: org.apache.axis2.AxisFault: Transport error: 400 Error: Bad
> Request
> at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons
> (CommonsHTTPTransportSender.java:314)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
> CommonsHTTPTransportSender.java:201)
> ... 5 more
> Caused by: org.apache.axis2.AxisFault: Transport error: 400 Error: Bad
> Request
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java
> :179)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java
> :73)
> at
>
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons
> (CommonsHTTPTransportSender.java:305)
> ... 6 more
> Caused by: org.apache.axis2.AxisFault: Transport error: 400 Error: Bad
> Request
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java
> :320)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java
> :177)
> ... 8 more
>
>
> /
> END OF EXCEPTION
> /
>
> I used the WSDL2java utility to create the Stub from the web service
> exposed
> by .NET. The exposed webservice works fine as I have tested it with a
> client
> in C#.
>
> Can someone please help me with this?...I am stuck over here for a couple
> of
> days. This can be quite a silly question, but since I am new to AXIS2, I
> do
> not know how to resolve this problem. Thanks in advance.
>
> Thanks and regards,
> Pushkar
>
> --
> View this message in context:
> http://www.nabble.com/Consuming-.NET-exposed-web-service-by-an-Axis2-ADB-Client-gives-Error-400-%3A-Bad-Request-tf4269311.html#a12150977
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.


[axis2] [IMPORTANT] JDK 1.4 compatibility - feedback requested

2007-08-14 Thread Glen Daniels

Hi Axis2 developers and users!

There has been a bunch of discussion lately revolving around the 
question of JDK1.4 compatibility.  It has been suggested that Axis2 move 
to JDK 1.5, in order to gain the benefits of things like generics, 
built-in concurrency (no backport lib), and annotations.  Some folks 
feel that there are enough people out there still in a 1.4 environment 
that we should hold off, and others think we should bite the bullet and 
move to 1.5.


HERE'S YOUR CHANCE TO PROVIDE VALUABLE INPUT!

Are you using, or planning to use, Axis2 in an environment that is 
locked to JDK 1.4?  If so, please let us know by responding to this 
thread and telling us (if you can) about the particulars of what's tying 
you to 1.4 - is it your app server?  Company policy?  Something else?


We'd really like to take good care of our users, and doing that involves 
figuring out whether we can jump into 1.5-land or if we need to keep 
things working with 1.4.


Thanks,
--Glen

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



Re: [RAMPART] Which is the official rampart home page?

2007-08-14 Thread Alberto Patino
Thanks for your answer

Now it's clear for me where is the main page for the rampart project:

http://ws.apache.org/rampart

2 weeks ago I tried to find the address of the mail list for the
rampart project but I was looking in the wrong place: the axis2
project main page, so I couldn't find it


By the way I'm running the RC1 against Axis2-1.3 and all is running
except by minors fixes to the build.xml and client code, and well,
updating the client certificate too

On 8/14/07, Ruchith Fernando <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I did send a mail to the rampart-dev list [1] about the RC release :-)
> and apologies about not updating the Rampart site[2].
>
> We should move the axis2 rampart page into the rampart site and link
> to the official site from the axis modules page.
>
> Thanks,
> Ruchith
>
> 1. 
> http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200708.mbox/raw/[EMAIL
>  PROTECTED]/
> 2. http://ws.apache.org/rampart/
>
> On 8/15/07, Alberto Patino <[EMAIL PROTECTED]> wrote:
> > Hi guys!
> >
> > I'm trying to download RAMPART module 1.3 RC1 to run samples with
> > Axis2-1.3 as suggested by Ruchith , but I'm stuck trying to find the
> > RC1 version
> >
> > I think the page:
> >
> > http://ws.apache.org/rampart/
> >
> > is the official one, but I don't see the link in the main page of apache,
> >
> > On the other hand I found the RC1 version in the Ruchith blog:
> >
> > http://ruchith.blogspot.com/2007/08/apache-rampart-13-rc1-is-available.html
> >
> > And lastly, rampart info is found under the modules section from the axis2 
> > page:
> >
> > http://ws.apache.org/axis2/modules/rampart/1_3/security-module.html
> >
> > Could it be possible to gather all the
> > Rampart related information into the http://ws.apache.org/rampart page?
> >
> > Thanks a lot
> >
> > --
> > Don't be evil!!!
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> www.ruchith.org
> www.wso2.org
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Don't be evil!!!

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



Re: [axis2] [IMPORTANT] JDK 1.4 compatibility - feedback requested

2007-08-14 Thread Alberto Patino
In our project, I strongly recommended the use of axis2, fortunately,
this projects is totally new, the only concern I had was considering
the use of WebSphere,  corporative rules demand the use of WAS as our
corporate Application Server, So I was very clear asting for the 6.1
release but people is reluctant with websphere 6.1 because the main
reason is that they don't have enough expertise with the newest
release, if I were locked with websphere 6.0 or minor I might not use
axis2 with java5 cause Webshere 6.0 depends on java 1.4.

In the other hand if Axis2 were rewritten with java5 in mind, this
would be an excellent excuse to adopt the use of WAS 6.1 or change it
for another Application Server ;-)



On 8/14/07, Glen Daniels <[EMAIL PROTECTED]> wrote:
> Hi Axis2 developers and users!
>
> There has been a bunch of discussion lately revolving around the
> question of JDK1.4 compatibility.  It has been suggested that Axis2 move
> to JDK 1.5, in order to gain the benefits of things like generics,
> built-in concurrency (no backport lib), and annotations.  Some folks
> feel that there are enough people out there still in a 1.4 environment
> that we should hold off, and others think we should bite the bullet and
> move to 1.5.
>
> HERE'S YOUR CHANCE TO PROVIDE VALUABLE INPUT!
>
> Are you using, or planning to use, Axis2 in an environment that is
> locked to JDK 1.4?  If so, please let us know by responding to this
> thread and telling us (if you can) about the particulars of what's tying
> you to 1.4 - is it your app server?  Company policy?  Something else?
>
> We'd really like to take good care of our users, and doing that involves
> figuring out whether we can jump into 1.5-land or if we need to keep
> things working with 1.4.
>
> Thanks,
> --Glen
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Don't be evil!!!

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