Re: Problem loading JMS protocol handler on AIX

2007-09-26 Thread Beat Ris
Hi all the problem of this all has been found. By some reason (maybe class loader) on the unix systems the jms handler from axis can not be loaded even it is correct registered in the java.protocol.handler.pkgs system property. Using an own URLStreamHandlerFactory solved the problem also on unix

RE: Java 1.4.x compatibilty

2007-09-26 Thread Gennady Shumakher
I was able to work with axis2 saaj and saaj-api with JDK 1.4. Futhermore I do not see any JDK 1.5 dependecy explicitly defined in poms of these modules. Could you elaborate on saaj jdk 1.5 dependency? Thanks, Gennady -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]

Re: Java 1.4.x compatibilty

2007-09-26 Thread Thilina Gunarathne
> Is it possible to run this client in the Java SDK 1.4.x environment? yes. > Previously, I believe there have been discussions on this forum that only 1.5 > is >supported. Axis2 has few modules which depend on JDK1.5... But they don't get in your way unless you want to do something really specifi

Exposing JAVA Overloaded methods as service

2007-09-26 Thread Raghavan
Hi All, I have created a class which has two over loaded methods. The method signature is as follows public String getMessages(String username, String status) The overloaded method signature is as follows public String getMessages(String username, String status,Connection con) where the Connectio

setOperationContext not being called

2007-09-26 Thread Matthew Roberts
Hi, As I understand it, if you have a public void setOperationContext(OperationContext operationContext) throws AxisFault function in your XXXSkeleton.java file, then that function is automatically called on startup. However, I have done this in my code and the function is just not be

Re: services.xml reference?

2007-09-26 Thread Nadir Amra
A more complete definition is given in: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/resources/services.xsd?view=log Nadir K. Amra Charitha Kankanamge <[EMAIL PROTECTED]> wrote on 09/26/2007 11:14:06 PM: > Sai Chow wrote: > > >Hi, > >I've looked up and down the ap

Unable to pass data to webservices using Axis2 1.3

2007-09-26 Thread Anumodh Sreedharan
Hi, I've a web service that uses a wsdl of doc-literal style. I use Axis2 1.3, Spring and hibernate for this purpose. The method that I follow is to first create the data Transfer objects from the wsdl using the WSDL2Java tool. After that, I code the rest of the service (business, DAO...) and f

Re: services.xml reference?

2007-09-26 Thread Charitha Kankanamge
Sai Chow wrote: Hi, I've looked up and down the apache axis2 site and not able to locate the detail specs for services.xml. Could someone send me the url please? Thank you. Sai No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.3

Re: [ANN] Apache Rampart 1.3 Released

2007-09-26 Thread Par Nagi
Hi, Could you kindly let me know if you have tested (or know if it will work) a situation where: A service client connects to Rahas (STS), obtains a SamlToken by calling the RequestSecurityToken and using Rampart, places the SamlToken in the header of a SOAP message to a target service? Finally,

AXIS2 Sandesha 2: Failure when loading Rampart/Rahas or when security header element is added programmatically

2007-09-26 Thread Par Nagi
Hi, Sandesha2 fails when either Rampart or Rahas modules are loaded. Even if we don't load these, if we add security headers in the SOAP message using OMElement samlToken = ... client.addHeader(samlToken); then Sandesha2 fails. If I comment the addHeader out then Reliable Messaging works

Re: axis2.log missing

2007-09-26 Thread Jochen Rieß
Hi there, I've faced a similar problem. I figured out that due to the fact that axis itself uses log4j the common & easy way of putting a log4j.properties inside the deployed webservice does not work. You have to configure the logging for your classes manually, i.e. telling your webservice wh

Re: axis2.log missing

2007-09-26 Thread Srinath Perera
did you try putting it in the classes directory of the Axis2 war ? On 9/24/07, vpl <[EMAIL PROTECTED]> wrote: > > Hi, > > I've browsed the axis user mailing list and could not find a clear answer to > this new-comer ... question. Please help > I'm unsing the axis2.war deployed into a tomcat 6.0.14

Re: problem: AXIS client <=> .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Anne Thomas Manes
Okay -- the message generated by the Axis client is clearly wrong. Can you show me your client code? Anne On 9/26/07, Wojciech Buczak <[EMAIL PROTECTED]> wrote: > Sure, > > Please find the WSDL attached > > Cheers > Wojtek > > -Original Message- > From: Anne Thomas Manes [mailto:[EMAIL PR

ssl-enabled web service client problem

2007-09-26 Thread Huitang Li
Hi, I am trying to create an axis2 web service client to access a ssl-enabled web service (https://..). I got the following error. I think that the problem is caused by the server certificate on the web service side. Probably if I import that server certificate and root certificate into

RE: problem: AXIS client <=> .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Wojciech Buczak
Sure, Please find the WSDL attached Cheers Wojtek -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 11:51 PM To: axis-user@ws.apache.org Subject: Re: problem: AXIS client <=> .NET service (wrong content of the SOAP messages) Gmail

Re: problem: AXIS client <=> .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Anne Thomas Manes
Gmail cut off most of the WSDL. Could you send it as an attachment please? Thanks, Anne On 9/26/07, Wojciech Buczak <[EMAIL PROTECTED]> wrote: > > > Sure! > > Thanks for your help! > > PS. This is a standard OPC-XML da WSDL, which specifies basic operations for > accessing OPC servers from SOAP.

Re: Getting Raw XML From Axis Return Type

2007-09-26 Thread Anne Thomas Manes
Use the messaging API. It will return the result as a DOM. On 9/26/07, hundel <[EMAIL PROTECTED]> wrote: > > Hi all. Thanks for all the great advice on the forum. > > We're exercising a web service via Axis 1.4 from Java. The Call has a > complex return type. The object type is a business docum

Re: problem: AXIS client <=> .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Anne Thomas Manes
I'm not able to access the WSDL. Can you post it here for us? Anne On 9/26/07, Wojciech Buczak <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I've encountered a problem while using AXIS-generated java client that tries > to call a .NET web service. Using AXIS 1.4 I've generated the client's st

Re: [Axis2] security headers missing

2007-09-26 Thread Todd Allen
The fault was caused by the fact that the security headers in the SOAP request did not contain a timestamp. This is not mentioned anywhere in the rampart samples included with the distribution. Is it possible to require only a user and password without a timestamp? Axis2 1.1 and Rampart 1.1

Re: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-26 Thread Mike Krell
I have a couple of questions. Are X, Y, and Z in different JVMs or separate machines? The webservice that you are call, does it ever receive the soap message and do work on it or does it just modify the soap to a different XML? Is it the modified xml that is sent to Z where all the magic happens

Re: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-26 Thread David Villegas
Thanks for the idea, Ajith and Paul... I have been following synapse's docs and it seems very promising. However, I have a doubt about how this can help me... I see the role of Mediators and Proxies in the scenario: X ---> Y (X being the client and Y the web service) where you need to intercept

problem: AXIS client <=> .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Wojciech Buczak
Hi, I've encountered a problem while using AXIS-generated java client that tries to call a .NET web service. Using AXIS 1.4 I've generated the client's stub from WSDL of the OPC DA XML web service and tried to call some of it's interfaces. While some of them work fine, calling some others end

Java 1.4.x compatibilty

2007-09-26 Thread Shalab Goel
Hello, I have a Axis2 client running against .NET web service that consumes and generates a stream via two separate operations. I am using Axis 2 1.2 version for client development using ADB. Is it possible to run this client in the Java SDK 1.4.x environment? Previously, I believe there have

services.xml reference?

2007-09-26 Thread Sai Chow
Hi, I've looked up and down the apache axis2 site and not able to locate the detail specs for services.xml. Could someone send me the url please? Thank you. Sai No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.31/1031 - Release Da

Reusing an Axis2 OperationClient -- how, exactly?? Does anyone have a non-trivial OperationClient sample?

2007-09-26 Thread Merritt, Norris
I have been trying without success to reuse an OperationClient to send multiple messages without having to reconstruct the OperationClient, ServiceClient, and related objects for each message transmission. I am pursuing this as part of an effort to get my client to reuse the same HTTPS connection

RE: Error while trying to use original wsdl in Axis2 1.3

2007-09-26 Thread Bhatra, Junaid
It might be because your WSDL appears invalid. Remove the part="getWeatherService" attribute from and try again. - Junaid -Original Message- From: Todd Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 9:53 AM To: axis-user@ws.apache.org Subject: Re: Error while tryin

Problem loading JMS protocol handler on AIX

2007-09-26 Thread Beat Ris
Hi all I use Axis 1.2 final and have a WebService using JMS as transport. On my windows box running with Sun's JRE 1.4.2_09 all works fine. Now we have deployed the software to AIX (5.2) which used IBM's JRE 1.4.2. In the AIX I get following exception: java.net.MalformedURLException: unkno

Axis2 client error - (WSSecurityEngine: Callback supplied no password for : ....)

2007-09-26 Thread Rajesh, Peter (CLAIMS, WIP)
Hi, While I try to access a service in a remote webservice through a simple java Axis 2 client with Rampart security, below error message is displayed. Please let me know the reason for this error and any workaround for this. org.apache.axis2.AxisFault: General security error (WSSecurityEngine

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread robert lazarski
Have you deferred your classloading preference to axis2 jars in a boss-app.xml as shown here? http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration HTH, Robert > Hi Sumeda, > > i use Axis2 1.3 and Jboss 4.0.5.GA > > If i move only axis2-saaj nothing happens (it still use jboss impl)

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread Lorenzo
Hi Sumeda, i use Axis2 1.3 and Jboss 4.0.5.GA If i move only axis2-saaj nothing happens (it still use jboss impl) If i move also axis2-kernel module fail deploy module and services: 18:54:54,035 ERROR [ModuleDeployer] The OpenSPCoopModule.mar module, which is not valid, caused org.openspcoop.pdd

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread sumedha rubasinghe
Hi, The problem here is both Jboss & Axis have their own SAAJ Implementation. What is the version of Jboss & Axis2 your using? Do you intend to run other applications on this server as well? You do not need to move several jars.The classes you need are located inside axis2-saaj-.jar. /sumedha

Re: Document/literal bare in POJO services?

2007-09-26 Thread Deepal jayasinghe
This b'coz some problem in your services.xml , please try and see it is a valid xml document. true Thanks Deepal > First of all, thanks a lot for this information (although I think it > should go somewhere onto the online documentation). > > However, now I am getting some errors while deploying t

Getting Raw XML From Axis Return Type

2007-09-26 Thread hundel
Hi all. Thanks for all the great advice on the forum. We're exercising a web service via Axis 1.4 from Java. The Call has a complex return type. The object type is a business document. Our company is well-suited to deal with the document XML directly, but the java object is not of much use to

Axis2 1.1: Sign Timestamp

2007-09-26 Thread Chris82KS
Hello, I use Rampart 1.1 and I want to sign a timestamp. I use folowing configuration inmy services.xml: Timestamp Signature Encrypt server.properties username {Element}{http://www.w3.org/2005/08/addressing}To; {Element}{http://www.w3.org/2005/08/ad

[AXIS2] ClassPath problems in JBoss

2007-09-26 Thread Lorenzo
Hi all, i have this problem: i deployed mi axis2 app on jboss into a .ear myapp.ear |- lib |- mdb.jar |- META-INF |- manifest.mf |- ejb-jar.xml |- jboss.xml |- web.war<-- axis2 |- META-INF |- manifest.mf |- WEB-INF |- modules |- mymodule.mar

Re: [AXIS 2: RM] Engaging Sandesha2 causes client to block, timeout and fail...

2007-09-26 Thread Par Nagi
The CreateSequenceResponse does not have the following XML stanza: URI of Target for some reason, even though addressing is engaged and the CreateSequence Request message has a that specifies the target URI. One other point is that the CreateSequence Request DOES NOT have a . Any t

Re: Customize tags

2007-09-26 Thread Paul Fremantle
Those two XMLs are identical except for the namespace. SOAP *requires* the body element to be namespace qualified. So it would be breaking the SOAP spec to do what you are suggesting. So, sorry, no its not possible. Paul On 9/26/07, Golam Chowdhury <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > >

Customize tags

2007-09-26 Thread Golam Chowdhury
Hi, Axis2 generates: 43.40391 -80.04648 2006-07-28 00:40:02.0 What I want is: 42.2323 80.2323 2006-09-22 Any help is greatly appreciated. Thanks Golam

RE: Urgent - Exception Mapping with Axis2

2007-09-26 Thread Jay Zawar
just to correct: AxisFault.getDetail is not "empty", it is null. > -Original Message- > From: Jay Zawar > Sent: mercredi 26 septembre 2007 16:32 > To: axis-user@ws.apache.org > Subject: Urgent - Exception Mapping with Axis2 > > > Hi people, > > I am really puzzled about Axis Code gener

Urgent - Exception Mapping with Axis2

2007-09-26 Thread Jay Zawar
Hi people, I am really puzzled about Axis Code generators and the way custom exceptions are passed. I do not even find good documentation on it. I've been on this problem for almost a week now, and still do not find any answer. My problem: I can invoke web services without problems, but I do no

Re: [axis2-1.3] wsdl2java takes forever - unbearably long

2007-09-26 Thread John G. Norman
I also am seeing extraordinary time generating stubs: From 15 minutes to 10+. My machine has 3 GB RAM, and the memory allocation to javac is ample. This use of jalopy without telling users is pretty horrible. It looks to me like it might have pretty-printed my whole project, so now everything's o

RE: AXIS2 session create, access, and invalidate

2007-09-26 Thread Golam Chowdhury
Thanks Thilina for your reply, Wondering, if you could give me some example. I know to enable the session I have to add the " in the service.xml ??? using serviceContext how do I access the session and store information in the session. public void init(ServiceContext serviceContext) {

Re: Axis2 1.3: Generated stubs have *Marker methods?

2007-09-26 Thread John G. Norman
Here is what goes on: The generated stub introduces new protected attributes. Before there was only local Now there is not only local but localTracker The Tracker attribute is used to detect when the setter is called, so that the field can serialized conditionally. The gotcha for me is that if

Re: Error while trying to use original wsdl in Axis2 1.3

2007-09-26 Thread Todd Allen
Ensure the name in the services.xml file matches the name in the WSDL. Case matters! In services.xml: In WSDL: Anumodh Sreedharan wrote: /Hi,/ /I’m trying to create a web service using an already available wsdl using Axis2 1.3. I’ve set useOriginalwsdl to true in the services.xml. But,

POJO web service not deploying...

2007-09-26 Thread alexandra . stehman
Greetings, I have built & deployed a basic WS basd on the POJO model & instructions: http://ws.apache.org/axis2/1_3/userguide-buildingservices.html#deploypojo I copied the service directory over and now have a directory structure as shown in the attached screenshot (deleted). I see JBoss deplo

Re: Exchanging XML Documents

2007-09-26 Thread Fátima Milla Olaya
Paul Fremantle a écrit : Hi OMElement is the represenation of XML that Axis2 uses. It is similar to DOM. Do you already have the XML in an object (DOM, SAX, StAX, String, byte[]), or do you want to create the XML in your program? There are answers for all of these but I figured it would be eas

Why does axis-user@ws.apache.org report spam threshold exceeded?

2007-09-26 Thread alexandra . stehman
I am trying to post a question about generating WS from POJO's using Axis but my message keeps bouncing. The extent of the error detail I get is: 552 spam score (8.2) exceeded threshold

POJO web service not deploying...

2007-09-26 Thread alexandra . stehman
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Exchanging XML Documents

2007-09-26 Thread Paul Fremantle
Hi OMElement is the represenation of XML that Axis2 uses. It is similar to DOM. Do you already have the XML in an object (DOM, SAX, StAX, String, byte[]), or do you want to create the XML in your program? There are answers for all of these but I figured it would be easier to start with your scen

[AXIS 2: RM] Engaging Sandesha2 causes client to block, timeout and fail...

2007-09-26 Thread Par Nagi
Hi, I have a Service that is deployed, following the instructions in the Sandesha2 user guide. * The Service.xml for this service engages Sandesha2 by including: * The axis2.xml file in the Axis web app. has been updated to include the (in four places) * The service AAR deploys fine and I can

Exchanging XML Documents

2007-09-26 Thread Fátima Milla Olaya
Hi, I want to exchange arbitrary XML documents with my webservice. In the WSDL definition I use xsd:anytype and when I create the java classes with wsdl2java the object is OMElement. How can I manage this object to parse to an XML file? Thanks --

RE: ADBException: Unexpected subelement Code

2007-09-26 Thread Erwin Reinhoud
Hello Amila, I see that your request does not contain the Type attribute (see section below). For the moment i found that generating a client stub will only allow one option (the last, in this case Bas64) to be available otherwise a runtimeException is given. For the serverside i think the s

Re: cannot compile the SWAClient

2007-09-26 Thread Thilina Gunarathne
Hi, > I m working through the examples of axis2 just to figure out how to > create a soap message with attachments in the MM7 format to send it to > my provider. I found the swaclient to learn how soap works, but the Interesting... > > The type javax.wsdl.Definition cannot be resolved. It is indire

Re: Axis2, Session not keeping.

2007-09-26 Thread Andrew Martin
Store session information like this: MessageContext.getCurrentMessageContext().getSessionContext().setProperty(key, val) Retrieve it like this: MessageContext.getCurrentMessageContext().getSessionContext().getProperty(key) Andrew James Neff wrote: > in my services.xml I have the attribute scope="

[END] find issue Re: [AXIS2] 1.1.1 soapsession, addressing, error when i connect a second client

2007-09-26 Thread Fabrice Airault
http://marc.info/?l=axis-user&m=117316427720305&w=2 http://issues.apache.org/jira/browse/AXIS2-1991 in axis2.xml set 3 instead of 30 locked="false">3 fabrice Fabrice Airault wrote: i forget to give the client error; org.apache.axis2.AxisFault: Invalid Service Group Id urn:uui

cannot compile the SWAClient

2007-09-26 Thread Thomas Barth
Hi, I m working through the examples of axis2 just to figure out how to create a soap message with attachments in the MM7 format to send it to my provider. I found the swaclient to learn how soap works, but the following example cant be compiled because of the error: The type javax.wsdl.Definition

Re: [AXIS2] 1.1.1 soapsession, addressing, error when i connect a second client

2007-09-26 Thread Fabrice Airault
i forget to give the client error; org.apache.axis2.AxisFault: Invalid Service Group Id urn:uuid:1A97EC2C88AAE98C191190795240692 at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271) at org.apache.axis2.description.OutInAxisOperationClient.ex

[AXIS2] 1.1.1 soapsession, addressing, error when i connect a second client

2007-09-26 Thread Fabrice Airault
hi, I have a problem when i am using axis2 with addressing and soapSession. I connect a first client on my service and all work fine. when a second client do a connection on my axis2-server, the destroy method is call on my first service instance. I can't have more than one service instance.

Re: Axis Java 1.5 Release?

2007-09-26 Thread José Antonio Sánchez
Sorry, I misread your message and I thought you were talking about Java versions and not about Axis versions. On 9/26/07, José Antonio Sánchez <[EMAIL PROTECTED]> wrote: > I've used Axis in Java 1.5 and 1.6. Sun's JDK is backward compatible > so there is no problem with Axis being compiled for JDK

Re: Axis Java 1.5 Release?

2007-09-26 Thread José Antonio Sánchez
I've used Axis in Java 1.5 and 1.6. Sun's JDK is backward compatible so there is no problem with Axis being compiled for JDK 1.4. On 9/25/07, Winograd, Theodore <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on a project that relies on Axis 1.4. I've noticed in the > Subversion repository that