Re: [Axis2] Problem running wsdl2java on wsdl with multiple imports

2007-03-06 Thread Amila Suriarachchi
The problem was you had two complex types contain same element name eg.

Re: Axis2 1.1.1 WSDL2JAVA - Not generating java classes for

2007-03-06 Thread Amila Suriarachchi
On 3/7/07, Jess Fisher <[EMAIL PROTECTED]> wrote: From the attached wsdl file:wsrp_v1_interfaces.wsdl, the following are defined: But, when running Axis2's WSDL2Java, the corresponding java classes (for the wsdl:portType) are not created. Using Axis 1.4's WSDL2Java, the corresposing java cl

Re: [Axis2] Axis2 without wrapping the response

2007-03-06 Thread Amila Suriarachchi
On 3/7/07, Florian Wachs <[EMAIL PROTECTED]> wrote: Thanks for your fast answser. I´m creating a small QuizService (I´m quite new to axis2) and still have the following problem: My little webservice is based on POJO´s and I get the service running. But my problem is that Axis2 is "wrapping" my r

Re: MTOM Attachments and PushbackInputStream

2007-03-06 Thread Thilina Gunarathne
Hi Derek, It's great that you started to nail down the attachment performance issues.. I've also started to do some refactorings to the Attachments handling classes.. I still have some test cases failing., which means it'll take some more time to get the changes in.. Let's crack this together :)

Re: Services.xml

2007-03-06 Thread Charitha Kankanamge
Hi Roshan, Have a look at the following http://ws.apache.org/axis2/1_1_1/axis2config.html#Service_Configuration regards Charitha Punnoose, Roshan wrote: Hi, Is there a web page describing all the options possible for services.xml? (Or maybe an xsd?) Roshan Punnoose Phone: 301-497-6039

RE: No implementation defined for org.apache.commons.logging.LogFactory

2007-03-06 Thread Brennan Spies
Try -Dorg.apache.commons.logging.LogFactory= org.apache.commons.logging.impl.LogFactoryImpl (or a more specific factory, if you wish) _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 3:48 AM To: axis-user@ws.apache.org Subject: No implementatio

Re: Field mean in msg with DIME attachment

2007-03-06 Thread Glen Mazza
http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2616.html? Search on each heading (content-type, accept, etc.), you would like a definition for. Glen Am Mittwoch, den 07.03.2007, 03:36 +0100 schrieb Pierpaolo Pagnoni: > I've build a ws to send an attachments by DIME protocol. > I've sniffed the mes

Field mean in msg with DIME attachment

2007-03-06 Thread Pierpaolo Pagnoni
I've build a ws to send an attachments by DIME protocol. I've sniffed the messages with tcpmon but i don't understand what mean the following fields maked with -??- -OK- POST /axis/services/AttachServiceMine HTTP/1.0 -??- Content-Type: application/dime -??- Accept: application/soap+xml, applicati

Re: XML Request & Response using WSDL2Java (AXIS)

2007-03-06 Thread Glen Mazza
I don't know if you've gotten an answer to this yet--but *worst* case, I think you can go through the source code of Apache TCPMon (google) for pointers. TCPMon is a small application that outputs both the request and response of SOAP messages, so, clearly, it knows how to retrieve the information

A matter of understanding

2007-03-06 Thread Daniel Kasmeroglu
Hi there, I've got an issue and I've got a workaround for this. I simply want to understand what's wrong. My project provides a simple service which allows to return an attribute within a XML file. This is the way the API is looking: String getAttribute( String xmldoc ); It is also specified

Re: < but no > in calling .NET Service from axis2

2007-03-06 Thread Dennis Sosnoski
This is not a problem. < characters in data need to be replace with the < entity because they would otherwise be interpreted as the start of a tag. > characters, on the other hand, are only significant once you've seen a < and are in a tag. That's why XML requires < characters to be replaced, b

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-06 Thread aravind1001
Curtis, I faced the same problem. It also leaks around 250KB per call. Though I couldn't figure out the root set that is holding references to a lot of OMElementImpl and OMTextImpl objects. The JVM was also crashing every few days. Change the code generated to cache the ConfigurationContext and

< but no > in calling .NET Service from axis2

2007-03-06 Thread william kinney
Hello, For some reason when i call a .NET service from axis2, the < characters get replaced with <, but the > does NOT get replaced with >. e.g.: 23320312 I do not understand why. This is happening with ServiceClient in

Axis2 1.1.1 WSDL2JAVA - Not generating java classes for

2007-03-06 Thread Jess Fisher
>From the attached wsdl file:wsrp_v1_interfaces.wsdl, the following are defined: But, when running Axis2's WSDL2Java, the corresponding java classes (for the wsdl:portType) are not created. Using Axis 1.4's WSDL2Java, the corresposing java classes were generated. I run th

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-06 Thread Davanum Srinivas
You can cache configContext itself! -- dims On 3/6/07, sean curtis <[EMAIL PROTECTED]> wrote: When running some recent tests against our webserver that contains our client code, it seems that the client causes a huge bottleneck in performance. Perhaps we have it configured incorrectly, but d

Axis2 Client performance issue - AxisConfiguration Caching

2007-03-06 Thread sean curtis
When running some recent tests against our webserver that contains our client code, it seems that the client causes a huge bottleneck in performance. Perhaps we have it configured incorrectly, but doing some initial looking at the source code, the question came up: When using the following code

Re: MTOM Attachments and PushbackInputStream

2007-03-06 Thread Derek Clayton
Hi Davanum Unfortunately, the server is in .NET so I would only be able to provide the client and some other sample data which alone might not be useful. However, I did some research in to the Axis2 and Axiom source using a client that was trying to read a ~1.8M binary attachment (XOP/MTOM).

RE: Installation Problems

2007-03-06 Thread Glen Mazza
5.5.what? Again, check to make sure you are running the latest production release of the 5.5 series (which would be 5.5.20, according to here[1]). You may wish to test with Tomcat 6.0 or 5.5.20 on *another* machine as well to see if you can isolate the problem (computer, Axis, Tomcat)--any comput

XML equivalent of object in client classes

2007-03-06 Thread Sampige, Srinivas
Hi I have built a webservice client using WSDL2JAVA. The tool created the java classes for the types (XSDs) specified in the WSDL. I am trying to figure out how to have those objects return the XML equivalent of the data? For example - postSchedule(Schedule schedule)is the webservi

Unresolved Externals When Building Axis

2007-03-06 Thread David Miller
Hello, I am not sure if this is the correct list for my question, so if I should be posting to the developer mailing list, just let me know and I will re-post. I am trying to make a debug build of Axis 1.6b on VC6 (WinXP SP2). I have run VCVARS32.BAT at the command prompt, and when I run ant aga

[Axis2]Problem installing eclipse plugins for Code Gen & Service Archiver

2007-03-06 Thread lee hanu
I am using eclipse 3.1 and axis2 1.1.1. I am trying to install the axis2 plugins for eclipse. I deleted a the old plugin files as instructed in the readme.txt file and copied the latest plugin files to the eclipse/plugins folder and I get the following error when I try to start the plugin from ecl

Re:access to attachments with streams

2007-03-06 Thread Pierpaolo Pagnoni
Look at the example "attachment" in AXIS 1.4 distribution. I've realized a web service snooping in this example Bye Pierpaolo > Hello, > > how can I get access to SOAP attachments with streams? I want to create an > attachment part with a data handler that has a stream as data source. > Do you h

RE: Installation Problems

2007-03-06 Thread Callner, David A.
Tomcat5.5 -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 2:33 PM To: axis-user@ws.apache.org Subject: RE: Installation Problems I don't think you mentioned the precise version of Tomcat that you're running. Are you running the *very latest

[AXIS2] How send Fault messages in Axis2?

2007-03-06 Thread Jose Benjamin Perez Soto
Hello, The example of Axis2 of handlingfault is good, but when it is wanted to show in the navigator not deploy, it rather sends the following message: Unable to generate WSDL for this service If you wish Axis2 to automatically generate the WSDL, then please use one of the

[Axis2] Axis2 without wrapping the response

2007-03-06 Thread Florian Wachs
Thanks for your fast answser. I´m creating a small QuizService (I´m quite new to axis2) and still have the following problem: My little webservice is based on POJO´s and I get the service running. But my problem is that Axis2 is "wrapping" my response objects. For example I defined a method getQue

Services.xml

2007-03-06 Thread Punnoose, Roshan
Hi, Is there a web page describing all the options possible for services.xml? (Or maybe an xsd?) Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD -

RE: Installation Problems

2007-03-06 Thread Inder Dhillon
Hello I am using the latest version of Tomcat i.e. Tomcat 6.0 Inder -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 3:33 PM To: axis-user@ws.apache.org Subject: RE: Installation Problems I don't think you mentioned the precise version of Tom

XML Request & Response using WSDL2Java (AXIS)

2007-03-06 Thread Jaya Pattaswamy
Hi, Can anybody help me in telling how to get a SOAP request & response through axis api. Actually I have developed a web service client using wsdl2java utility, but i need to access the actual soap response to be logged and stored into the database. So what i'm looking for is a some kind of h

Sending Derived types to Webservice doesn't work

2007-03-06 Thread David Elliott
This note is a continuation of "Issue with Axis when sending abstract class to .NET webservice" I have change my .NET Web Service and no longer has any abstracts. It looks like public class Person{ public string name; public Address address;} public class Address{ } public class HomeAdd

RE: Installation Problems

2007-03-06 Thread Glen Mazza
I don't think you mentioned the precise version of Tomcat that you're running. Are you running the *very latest* production release in the 5.0.x or 5.5.x series? If not, that could easily be the problem--test with the latest production release and find out. What happens when you run it on Tomcat

logging not pretty printing all messages

2007-03-06 Thread teknokrat
I am using Axis 1.4 and I have a client-config.wsdd file containing I notices that the in message is pretty printed but not the out message. is there a problem here? what is the correct format? Also, the value of t

[Axis2] Problem running wsdl2java on wsdl with multiple imports

2007-03-06 Thread footh
I am trying to run wsdl2java on this wsdl: http://ws.xwebservices.com/XWebBlog/V2/XWebBlog.wsdl which contains a schema import which in turn contains its own schema import. When running wsdl2java from the command line I receive the stack trace below. Might anyone have an idea of why it is faili

RE: Installation Problems

2007-03-06 Thread Callner, David A.
No I cannot access the axis2 page. This is where the exception is thrown. All I've done is taken the axis2.war file and deployed it in the webapps directory. Tomcat is working fine with other webapps that I've deployed. I've just tried to deploy the axis2.war. That's it. -Original Messa

Re: Installation Problems

2007-03-06 Thread Glen Mazza
Can you access the Axis2 administration application at (something like) http://localhost:8080/axis2? If yes, this may be more of a Tomcat manager webapp error than a Axis2 one. It appears that the Tomcat manager is trying to display an error500.jsp internal server error message but its JSP compil

Re: Response SOAP and WSA action

2007-03-06 Thread David Illsley
Hi, It depends on how you're configuring Axis2. You can either add a wsaw:Action attribute in your wsdl or an outputActionMapping element to the operation configuration in your services.xml David On 06/03/07, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: Hi, How do I set up the response of a web

RE: [Axis 1.4.x] Strategies for handling exceptions

2007-03-06 Thread Rasile, Rob
Hey Joshua... here's what I've done: First, some context for the example: I'm using session management (soap sessions) and by default (ie. without a fault handler) axis2 returns an axis fault when an invalid soap session id is sent from a client request. Basically I needed to return a formatt

Re: [AXIS2]WSDL2JAVA & ExtensionMapper Questions

2007-03-06 Thread P Floyd
Amila, I am using Axis2.1.1.1 and here are the options I am using for the build. Response SOAP and WSA action
Hi, How do I set up the response of a web service to have a specific SOAP action or a WSA action String? Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END

Installation Problems

I downloaded the axis2.war file and installed it in my tomcat5/webapps directory. The axis2 directory shows up in the manager view for tomcat. When I click on the axis2 page I get an compile error. This is the error I'm getting in the catalina.out file. I have Tomcat5 with java1.5. Does anybod

Re: AW: sesion managment, scope=soapsession

Thanks a ton Rob for tracking this problem down. Thanks Josef for your patience :) I fixed the default axis2.xml and updated the comment there. thanks, dims On 3/6/07, Stadelmann Josef <[EMAIL PROTECTED]> wrote: Hi Rob, Hi Deepal Thank you very much Rob, what you write below is the solution to

Re: Axis and Apache XML-RPC api

Many thanks Anne for your reply. Kind regards, Oscar El vie, 02-03-2007 a las 09:12 -0500, Anne Thomas Manes escribió: > See inline ... > > On 3/1/07, Oscar <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm a newbie in web services and after lots of reading I'm trying to > > evaluate Apache A

Re: [AXIS2] Using PKCS#11-compliant keystore

Antonio, I've CC'ed rampart-dev@ mailing list. Please join the discussion there. thanks, dims On 3/6/07, Antonio Borrelli <[EMAIL PROTECTED]> wrote: Hi all, i'm trying to use the rampart module to secure my Web Service realized with axis2 engine. I reach it using a jks keystore build by java

[AXIS2] Using PKCS#11-compliant keystore

Hi all, i'm trying to use the rampart module to secure my Web Service realized with axis2 engine. I reach it using a jks keystore build by java keytool, but now i want to realize another step using a keystore compliant to PKCS#11 (i want to read my private key and/or my X.509 certificate from a

Re: [Axis 1.4.x] Strategies for handling exceptions

Rob, That sounds pretty cool. Would you mind posting a small example? Thanks, Joshua On 3/5/07, Rasile, Rob <[EMAIL PROTECTED]> wrote: One way is to create your own custom fault module (with a fault handler) and add it to the in-fault/out-fault flow execution chain (which are comprised of

No implementation defined for org.apache.commons.logging.LogFactory

Hi, I wonder if anyone can help with the following problem we are having using axis: We have a simple piece of code to call a webservice. This works fine when we run the program from the command line (java -cp ... prog.class). However, we put the same code into a db2 stored procedure, compi

[axis2] Can I pass WS implementation data to MessageReceiverInOut.invokeBusinessLogic?

Hi, in the MessageReceiverInOut.invokeBusinessLogic() I want extend the location where any exceptions are caught, and I want to log the xcp-message along with some further information, so that no exception can slip through even if the client ignores a SOAP fault. My plan is to edit the method

Re: [Rampart] How i can install it on Axis2 1.1.1 ?

Please use rampart-dev@ws.apache.org for rampart related posts. Thanks, Ruchith On 3/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi! The readme file of Rampart tell me of to run "ant" in the sample directory to install the module on Axis2. I would to know if there is another way like to

Re: [Rampart] How i can install it on Axis2 1.1.1 ?

Hi, You can simply copy the .jar files in the "lib" directory (Other than the axiom-*.jar files) into the main "lib" dir of axis2. And then copy the module (.mar) files as required. Thanks, Ruchith On 3/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi! The readme file of Rampart tell me o

Re: Support of Asynchronous call in Apache Axis 1.1

Thanks for the information guys! On 3/5/07, Doug Davis <[EMAIL PROTECTED]> wrote: I thought his question was limited to Axis 1.1 - Axis 1.4 and higher does support it. thanks -Doug __ STSM | Web Services Architect | IBM Software Group (9

[Rampart] How i can install it on Axis2 1.1.1 ?

Hi! The readme file of Rampart tell me of to run "ant" in the sample directory to install the module on Axis2. I would to know if there is another way like to put his .jar files in the lib dorectory of Axis for example. Thank you -- Con Prom

access to attachments with streams

Hello, how can I get access to SOAP attachments with streams? I want to create an attachment part with a data handler that has a stream as data source. Do you have a code snippet that demonstrates this? Thank you in advance. Regards, Manuel -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...

How to access Servlet Context in Handler/Provider class

Hi all, Anybody can help how to access Servlet context from my Handler/Provider class. I want to share some data among some servlets across irrespective of client sessions. Thanks in advance Sarvu Get your own "800" number Voicemail, fax, email,

Re: WS-Addressing SOAP binding question

David Illsley wrote: No you don't, you just need to confugure the client to 'use a separate listener' and the runtime will do the rest. See the EchoBlockingDualClient sample described at [1] thxs for the link David. I will follow up cheers David [1] http://ws.apache.org/axis2/1_1_1/usergu

Re: WS-Addressing SOAP binding question

No you don't, you just need to confugure the client to 'use a separate listener' and the runtime will do the rest. See the EchoBlockingDualClient sample described at [1] David [1] http://ws.apache.org/axis2/1_1_1/userguide-samples.html On 05/03/07, Jim Alateras <[EMAIL PROTECTED]> wrote: Call

Axis2: How to use arbitrary Java classes as method parameters

Hi all, I use Axis2 version 1.1.1 and I try to create a webservice with a method that takes my own java class as a parameter. How can I do this? The generated code contains OMElement types instead of my class types. Can anybody help me please? Regards Ines

Re: [Axis2] axs2 and attachments

Thank you very much. Now everything is working nice. -- View this message in context: http://www.nabble.com/axs2-and-attachments-tf3348698.html#a9327982 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubs