How to write a non axis2 client

2008-05-07 Thread Narula, Manish
Hi, I used a sample given by axis2 to write a webservice called pojospringguide. The aar file is deployed, now I want to invoke the web service using non axis2 client. Regards, Manish Narula - This message and any attachments are intended only f

RE: Sharing data among services in same service group.

2008-05-07 Thread Subhro Moitra (smoitra)
Thanks Keith For replying. I did what you said. Both the scopes are "transportsession". But still the stub2.newOperation1() call is returning null. Please help!! Thanks, Subhro. From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 8:5

Re: [Rampart] What is the correct way to secure a JAX-WS service?

2008-05-07 Thread Nandana Mihindukulasooriya
Hi Alex, Have you looked at this thread [1] ? thanks, nandana [1] - http://markmail.org/message/dkwjvskrh3gysvnw?q=list:org%2Eapache%2Ews%2Eaxis-user+can+I+use+use+rampart On Wed, May 7, 2008 at 10:26 PM, Savitsky, Alex < [EMAIL PROTECTED]> wrote: > Hi, > > Usually, Axis2 services are

Re: problem: could not read log4j.properties file

2008-05-07 Thread Michael Bauer
Check the file permissions. That has bit me more than once on JBoss. Make sure the user running the JBoss process can read the file. On May 7, 2008, at 10:11 AM, neha sood wrote: hi i have log4j.properties file but it is not being read..i have that file in config directory of my project.

Axis2 homepage displays without images and links don't work.

2008-05-07 Thread Julian Noye
Hi Guys I am trying to deploy my web service onto a server. I am deploying the axis2-web application as well. The problem is the Axis2 homepage displays without the images and style, also the links to listServices etc do not work. I think it cannot find the images and css directories. I have ren

RE: remaining 403 errors

2008-05-07 Thread Chris Richmond
OK, to try another implementation of calling the webservice I created a simple AXIOM client based on the sample, but get this error when I try to call the service I have been trying to call: SEVERE: null org.apache.axis2.AxisFault: System.Web.Services.Protocols.SoapException: Server did not re

[UPDATE] RE: remaining 403 errors

2008-05-07 Thread Chris Richmond
Ok, I have created a test java application that simple loops and creates an ADB proxy on each loop. So it takes my webservice out of the mix, and I still get this exception after trying to call it several times in succession, so it appears that trying to create many ADB clients in rapid succession

RE: Choosing a path

2008-05-07 Thread Kurt Kavanaugh
-Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 2:39 PM To: axis-user@ws.apache.org Subject: Re: Choosing a path I wrote some of the docs you are referring to, so allow me to respond ;-). First of all, in web services the xml is typicall

remaining 403 errors

2008-05-07 Thread Chris Richmond
Hello again, I have been working on this issues off an on for weeks now and still cannot resolve it. I have a Tomcat Axis2 webservice that provides a CreateUser method, and when clients call that method my service in turn uses ADB generated proxies to a third party service and makes calls ther

Re: Choosing a path

2008-05-07 Thread robert lazarski
I wrote some of the docs you are referring to, so allow me to respond ;-). First of all, in web services the xml is typically not validated, due to performance reasons. However, since you mention xmlbeans, you're in luck as all the generated classes have a validate() method. So you can actually va

Choosing a path

2008-05-07 Thread Kurt Kavanaugh
I have been doing some reading... and more reading... :-) So many choices. But all start with business requirements. In a nutshell. I like the Axiom model and the ability to write code vs generated code. On the other hand I want XSD conformance. We also need to have a fairly rich XML mo

[Rampart] What is the correct way to secure a JAX-WS service?

2008-05-07 Thread Savitsky, Alex
Hi, Usually, Axis2 services are secured using Rampart, by engaging the module, and specifying the policy in services.xml. However, this won't do for services deployed via JAX-WS annotations, as there's no services.xml file there. The module could still be deployed, as long as it's placed in WEB

Re: wsdl2java generating code that is not compilable

2008-05-07 Thread Aravind . Yarram
can some one help me here pls! Regards, Aravind R Yarram [EMAIL PROTECTED] 05/07/2008 10:03 AM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject wsdl2java generating code that is not compilable Helo all, I have a WSDL types defined like below.

Re: WSDL2Java Exception

2008-05-07 Thread keith chapman
Hi Fadila, Would it be possible for you to post your WSDL and schema here please. That'll make it easy for us to help you out. And which axis version is your server using? Thanks, Keith. On Wed, May 7, 2008 at 5:02 PM, <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using axis2 1.3. I've deployed a

Re: Sharing data among services in same service group.

2008-05-07 Thread keith chapman
Hi, I think the problem here is that the two services are in two scopes. When transport session is used its the underlying transport that depends how the session is managed. For e.g when http is used the HTTPSession is used to manage the session. Can you try deploying both services on the same sco

Re: Provide original WSDL

2008-05-07 Thread keith chapman
Hi Natalia, When useOriginalWSDL is set to tru axis2 gets it WSDL4JDefinition off a parameter in the service and serialize it. You can set this parameter as follows, axisService.setParameter(WSDLConstants.WSDL_4_J_DEFINITION, wsdl4JDefinition); Have a look at the private Definition readInTheWSDL

Re: problem: could not read log4j.properties file

2008-05-07 Thread Rushikesh Thakkar
Neha, log4j.properties file needs to be present somewhere in the classpath. A properties file is loaded by class loader at the time of starting the web-application. So it has to be present either in some jar file in WEB-INF/lib folder or in WEB-INF/classes folder. So, if your application doe

Re: problem: could not read log4j.properties file

2008-05-07 Thread neha sood
hi i have log4j.properties file but it is not being read..i have that file in config directory of my project.i have copied it into project/webapp/WEBINF/but here no classes folder was present ..so i created one and copied into dat since...in all projects it is available there.. still its not wo

wsdl2java generating code that is not compilable

2008-05-07 Thread Aravind . Yarram
Helo all, I have a WSDL types defined like below.

Sharing data among services in same service group.

2008-05-07 Thread Subhro Moitra (smoitra)
Hi All, I have the following services.xml http://www.w3.org/ns/wsdl/in-out"; class="com.xx..z.service.xmlbeans.MultiPortTypes2Message ReceiverInOut"/> com.xx..z.service.xmlbeans.MultiPort Types2Skeleton servic

Re: encoding of SOAP responses

2008-05-07 Thread Paul Fremantle
No. The "XML" fragment you have sent is invalid XML, and so no XSLT processor will be able to read it. Paul On Wed, May 7, 2008 at 2:08 PM, Stadelmann Josef <[EMAIL PROTECTED]> wrote: > Thanks Paul, > > can I do that with an XSL / XSLT approach? > > Josef > > > -Ursprüngliche Nachricht

AW: encoding of SOAP responses

2008-05-07 Thread Stadelmann Josef
Thanks Paul, can I do that with an XSL / XSLT approach? Josef -Ursprüngliche Nachricht- Von: Paul Fremantle [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. Mai 2008 14:59 An: axis-user@ws.apache.org Betreff: Re: encoding of SOAP responses If you read the XML spec http://www.w3.org/TR/

http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error: cvc-enumeration-valid

2008-05-07 Thread Kai Petersen
Hi, I try to make a Security-Token-Service with a Token form of WS-Security from OASIS. Problem: If I make wsdl2java using xmlbeans I get the following stacktrace. If I convert it with adb it works, but I think something should be wrong, and I don't want to get problems at a later task. Versi

AW: Basic Axis/Axiom usage question

2008-05-07 Thread Stadelmann Josef
And how would you do this? In Visual Basic - I have an element with a name-field and a value-field both containing strings. Element-objects are then collected in a collection which is called a work-space, and be accessed by a key And this workspace-objects are collected in a workspace-collect

Re: encoding of SOAP responses

2008-05-07 Thread Paul Fremantle
If you read the XML spec http://www.w3.org/TR/2006/REC-xml-20060816/ You will see that [] \ ^ and a number of other characters are not supported within XML tag names. I suggest you change your format to be: Paul On Wed, May 7, 2008 at 1:46 PM, Stadelmann Josef <[EMAIL PROTECTED]> wrote: > Hel

Re: prolem: could not read log4j.properties file

2008-05-07 Thread Michael Bauer
You need a log4j.properties file, else loging doesn't work. You should be able to find a decent example of one on the web. On May 7, 2008, at 7:28 AM, neha sood wrote: hi i m getting the folloewing error.. log4j:ERROR Could not read configuration file [/usr/local/apache- tomcat-5.5.12/WE

Re: [Axis2] soap:address location is no whats in the WSDL file...Help please

2008-05-07 Thread Michael Bauer
I currently don't have an axis2.xml. On a JBoss system, with a compressed WAR containing all the axis2 jars and files, where would be the best place to put one? I am thinking /conf with the rest of the config files. This way, when I get to an HA setup with multiple app servers, I can hav

AW: encoding of SOAP responses

2008-05-07 Thread Stadelmann Josef
Hello Paul, hello AXIS2 (J/C) experts hello XML, XSL, XSLT, LIBXML2, encoding experts! I have to pass the following result back top my client also receive it at the server later? Regarding encoding (better allowed and non-allowed characters) I have to transive the following XML between client a

WSDL2Java Exception

2008-05-07 Thread fadila.mumbasic
Hi, I'm using axis2 1.3. I've deployed a new webservice and I can see it in the list of deployed services. I would like to generate the client stub using the wsdl created by axis. But whenn I call WSDL2Java the following exception is thrown: [java] org.apache.axis2.wsdl.codegen.CodeGeneratio

prolem: could not read log4j.properties file

2008-05-07 Thread neha sood
hi i m getting the folloewing error.. log4j:ERROR Could not read configuration file [/usr/local/apache-tomcat-5.5.12/WEB-INF/classes/log4j.properties]. [createdb] java.io.FileNotFoundException: /usr/local/apache-tomcat-5.5.12/WEB-INF/classes/log4j.properties (No such file or directory) [created

Provide original WSDL

2008-05-07 Thread Natalia Ignatowicz
Hi, I'm trying to provide my original WSDL-file for users of my webservice, so "useOriginalwsdl" is set to true. This works fine when I deploy my service through an AAR. But for several reasons, I'm deploying my service programmatically at runtime. Now the WSDL is not found and Axis says "Unabl

server-config.wsdd File name

2008-05-07 Thread paul.ockleford
Hi, I am quite new to axis and until now have been using a wsdd file written by somebody else at my work place, the file name is server-config.wsdd. I have now been given another file to deploy on another web application, and this one is called server-config_LTCA.wsdd. When I deploy this file I

Re: Slow response for SOAP request passing Strings > few hundred bytes

2008-05-07 Thread Jorgen
After some further effort it still appears to me that this is a TCP issue. As soon as the transferred String size does not fit into one TCP segment, the client waits for acknowledgement from the server having received the segment. For some reason in my case this takes time, could be a server confi

Facing NULL pointer exception in initializeValues (Axis2-kernel jar)

2008-05-07 Thread Sharma, Sachin
Hi, using axis2 jars for past one year in reports project, regarding interaction with microsoft reporting webservices. But without any change in axis2 jars, as well as without any upgrade in report-server following exception comes, when I try to view a report that doesn't exist on reportserver:

EndpointReference parameters

2008-05-07 Thread Vinh Nguyen (vinguye2)
Hi, I have a service that is located via a wsa:EndpointReference. The EndpointReference is defined to have a URI as well as several reference parameters. Is there an example somewhere that shows how to call this type of service using this complex EndpointReference? I noticed that in the gener