Re: Problem communicating strings with Apache Axis 1.3 toolkit

2006-02-23 Thread Adrian Dick
Hi, I have raised Jira issue AXISCPP-938 ( http://issues.apache.org/jira/browse/AXISCPP-938 ) to follow the progress of this problem. Regards, Adrian ___ Adrian Dick ([EMAIL PROTECTED]) Michael Thadani [EMAIL PROTECTED] wrote on 03/02/2006 00:14:17: Hi,

Re: WebServices very slow after some requests

2006-02-23 Thread Franz Coriand
Thanks for the hint with jprofile ... very awesome tool ... and it was a memory leak ;) Franz James Black schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Franz Coriand wrote: Hi all, we have the problem, that our webservices become very slow after some requests. For the

axis2: Retrieving the contents of an abstract class?

2006-02-23 Thread Justin Schoeman
Hi again, Still battling to get Axis2 working properly here... When using WSDL2Java to generate a server and client, everything seems to work just fine, but I can't seem to get at the values of an abstract class. Within the request document, there is an abstract property IDMethod. I can

stub + skeleton

2006-02-23 Thread david duncan
just finished axis User Guidewith a few questions :-there are 2 ways to deploy / call a webservice 1) (without using / generatestub + skeletons)-- example1 in axis samples -- call web service using -- Callcall= (Call) service.createCall();2) (generate stub + skeletons using WSDL2Java)

Re: MustUnderstand header

2006-02-23 Thread Dies Koper
Hello Girish, I've never worked with WCF nor Microsoft Indigo nor have any idea what they are, but if your client is a (Java) servlet and uses a JAX-RPC stub, I suppose you can just put the code that's now buried in this e-mail to register your handler into your servlet. Then add your

Acessing Web Service Problem

2006-02-23 Thread anshuk pal chaudhuri
Hi, I am trying to call a simple RPC web service using the client stubs. But I am getting an error which I am not able to resolve.The error is : AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException: White

Accessing Web Service Problem

2006-02-23 Thread anshuk pal chaudhuri
Hi, I am trying to call a simple RPC web service using the client stubs. But I am getting an error which I am not able to resolve.The error is : AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException: White

Re: Acessing Web Service Problem

2006-02-23 Thread Dies Koper
Hello Anshuk, The clue is written in the faultString. The question is why it talks about the public identifier and the system identifier, because I guess your SOAP message does not contain any DTD declarations. To make sure, use Axis' tcpmon tool to capture the response message. What does it

RE: MustUnderstand header

2006-02-23 Thread Girish_Kumar
Thanks Dies. I was looking for a non-programmatic way of adding handler to the client. Let me try in the way you explained. Regards, Girish Kumar -Original Message- From: Dies Koper [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 5:24 PM To: axis-user@ws.apache.org Subject:

Re: [axis2] Problem with Websphere 6 and Axis2 security module

2006-02-23 Thread Johan Andersson
Hello Ruchith and thanks for replying, The problem is not that WSS4J is not working, it is functioning properly (at least until I restart the webapp). The problem is that the rest of my Websphere server and other webapps is not. It seems that fiddling with the default DOM settings for the whole

Web Services exceptions

2006-02-23 Thread Sagi Anna
Title: Web Services exceptions Hi all, My WS client accesses Web Service, that throws number of different exceptions. No matter what WS throws, my client catches RemoteException (in sniffer I can see, that correct exception is thrown). Any idea why it happens or how I can isolate the

Re: need to compile Java code

2006-02-23 Thread Alban Hessler
Error in your classpath: it misses a R change c:\axis\lib\jaxpc.jar to c:\axis\lib\jaxrpc.jar Cheers, Alban Hessler Alasadi, Saad a écrit : HI, I add all jars to my classpath, but I still get errors. Here is my classpath:

Re: Web Services exceptions

2006-02-23 Thread robert lazarski
Take a look at this article: http://www.developer.com/java/web/article.php/3493491 One thing you may consider - which has worked well for me - is simply have all your types define a string and error code to return. In wsdl that would look like: complexType name=ReturnWebBase sequence

Re: [axis2] rpcMessageReceiver

2006-02-23 Thread atoi atoi
Thanks, works for me now too;-) I am using version 0.94 --- Deepal Jayasinghe [EMAIL PROTECTED] wrote: I just run ur code with small modification and it worked for me and got the folliwng result ns1:addInventoryResponse

wsdl2java or java2wsdl

2006-02-23 Thread James Clinton
Title: Message Arethere anysignificant advantages in building an Axis Web Servicesfrom the WSDL (wsdl2java), as apposed from the Java (java2wsdl) ? James - THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL AND MAY BE

Can and how .net client handle user-defined Web Services exceptions?

2006-02-23 Thread Shaoguang Cong
I defined a customizedexception called MyCustomException in the WSDL. I can catch this exception in Java client directly (using Axis1.3, JDK1.4). But I cannot find a way to do this for .net client. The "Add Web Reference" tool of .net seems not generate a class for MyCustomException. The.net

Attn: Problems with Axis 1.3 in Oracle 10g (10.1.0.2)

2006-02-23 Thread glenn bech
I'm writing this, to make sure it gets indexed, for further reference. Problems occur when using Axis 1.3 (And possibly 1.2 versions) on the Oracle 10g platform. The problem is possibly caused by the org.apache.axis.utils.XMLUtils class, and the provided Oracle XML Library (xmlparserv2.jar).

At my wits end - Axis2 and abstract types...

2006-02-23 Thread Justin Schoeman
Hi again, I am begging now - I have tried everything that I can think of. This is my last effort before scrapping Linux/Apache/Axis for this project and switching to Widoze/C# :-( The problem is: I need to implement a webservice for XMLVend (generated by a standards body) that uses

Question about java

2006-02-23 Thread Roberto Gil Sánchez
Hi all. I use axis with the servlet container jetty. Jetty is started in my application java. My application has some objets that it's realize its funcionality for the application works. there is an object in the application that a web services must to consult for obtain somes datas to create the

Re: At my wits end - Axis2 and abstract types...

2006-02-23 Thread robert lazarski
Sorry to leave you hanging Justin, been busy and this question required a bit of thinking. You can do inheritance and abstract classes via xml binding. See this jira for how it works: http://issues.apache.org/jira/browse/AXIS2-310 - this got fixed in axis 1.3 and I found a work around for

Re: At my wits end - Axis2 and abstract types...

2006-02-23 Thread Justin Schoeman
Either you have completely lost me, or we are thinking of different things. Constructors for the objects work, and casting them up for serialisation works. Deserialisation also works, but casting them down to the implemented class does not... -justin robert lazarski wrote: Sorry to leave

Re: wsdl2java or java2wsdl

2006-02-23 Thread robert lazarski
This should be an FAQ. Many people, myself included, recommend java2wsdl only as starting point. Once you have a basic wsdl, start using that as your template and from then on use wsdl2java. I myself skip the java2wsdl part and start editing a new wsdl. Some people, though, do prefer to use

Re: WSDD2Java + Admin util for deployment = Undescribably strange error...

2006-02-23 Thread Scott McCoy
You know, when I tried to make some of these changes, I ran into some trouble. For instance, if I define the soap header and body in different messages, my generated port type interface no longer contains the credentials object in the method signature. Any idea what I'm missing?On 2/22/06, Scott

Anybody got JWSDP and a couple of minutes?

2006-02-23 Thread Justin Schoeman
Hi all, I need a huge favour if someone has JWSDP installed, and a couple of minutes to spare... If you do, could you possibly run the wsdl and xsd files from: http://nrs.eskom.co.za/xmlvend/docs/Specification/November2005/XMLVend20.asp through wscompile to generate a server? I would like to

Re: WSDD2Java + Admin util for deployment = Undescribably strange error...

2006-02-23 Thread Scott McCoy
I have also noticed that the WSDL generated by the code generated by *my* WSDL seems to mostly conform to your suggestions.Thanks, - ScottOn 2/23/06, Scott McCoy [EMAIL PROTECTED] wrote:You know, when I tried to make some of these changes, I ran into some trouble. For instance, if I define the

Re: WSDD2Java + Admin util for deployment = Undescribably strange error...

2006-02-23 Thread Anne Thomas Manes
I suspect your problem was caused by using the wrong xsd namespace.On 2/23/06, Scott McCoy [EMAIL PROTECTED] wrote: Thanks for your input, although this does generate working code and my actual problem, was that in xsd. But before I complete this project, I do have the requirement of ensuring WS-I

Re: At my wits end - Axis2 and abstract types...

2006-02-23 Thread Anne Thomas Manes
Have you tried Axis 1?On 2/23/06, Justin Schoeman [EMAIL PROTECTED] wrote: Either you have completely lost me, or we are thinking of different things.Constructors for the objects work, and casting them up for serialisationworks. Deserialisation also works, but casting them down to the implemented

Re: AXIS error: makeTypeElement()

2006-02-23 Thread Anne Thomas Manes
I suggest you upgrade to Axis 1.3. It fixes many bugs.An upgrade to Axis 2 is a big deal -- it uses a different programming model, so you would need to rewrite a lot of code. But, if you have WSDLs for everything, you can use wsdl2code to generate most of it. But Axis 2 is still a work in

Re: stub + skeleton

2006-02-23 Thread Anne Thomas Manes
The Call interface is a low-level, dynamic interface, and it can be trickier when using complex types. The stub interface is more like RMI. Simpler, easier, but less dynamic and less control.Anne On 2/23/06, david duncan [EMAIL PROTECTED] wrote: just finished axis User Guidewith a few questions :

Re: At my wits end - Axis2 and abstract types...

2006-02-23 Thread Justin Schoeman
Yes, tried that. Axis1 does not even manage to serialise abstract classes... As you can see from the extract below, only type information is included for simple abstract classes, and complex abstract classes (idmethod) are completely empty: soapenv:Body

Re: Complex bean object

2006-02-23 Thread Anne Thomas Manes
Better to convert the Vector to an array.On 2/22/06, faizul sulaiman [EMAIL PROTECTED] wrote: Hi,I'm building a service which returns a complex javaobject that holds a vector of object. I generated the server site and client stub using axis1.3 tools.Everything was OK in the server site. However, I

Re: Problem with XML QName when sending it to a webservice

2006-02-23 Thread Anne Thomas Manes
When using the messaging API, you must create the entire document that goes into the SOAP Body, not just the parameters. According to your WSDL, the child element of the SOAP Body must be tns1:incrementUserItemCount, therefore that should be the root element of your document. AnneOn 2/22/06, Pedro

Re: Anybody got JWSDP and a couple of minutes?

2006-02-23 Thread Dies Koper
c:\f:\sun\AppServer\bin\wscompile.bat -import config-test-wsdl.xml error: modeler error: invalid entity name: confirmCustomerReq (in namespace: http://www.nrs.eskom.co.za/xmlvend/revenue/2.0/schema;) I've seen this error before, even with simple wsdl files, and never understood what it

Re: MustUnderstand header

2006-02-23 Thread Dies Koper
I never tried it myself, but with an Axis client, I think you should be looking at the client-config.xml (which does not exist by default). Have a look at the Axis website, Axis Wiki or maybe googling for it might help. Axis does not use files named web.xml nor webserviceclient.xml. Regards,

Ulf Licht/ESPRIT de Corp/DE is away.

2006-02-23 Thread Ulf . Licht
Ich werde ab 23.02.2006 nicht im Büro sein. Ich kehre zurück am 13.03.2006. I am out of office until 2005-03-13 and will reply to your message as soon as possible when I get back. Please contact Richard Schurig or Roman Dirgelas for urgent requests.

Re: Anybody got JWSDP and a couple of minutes?

2006-02-23 Thread Dies Koper
Sorry, forgot to download the XSD files. I get a bunch of compile errors. .\test_gen\XMLVendFaultResp.java:9: duplicate class: test_gen.XMLVendFaultResp public class XMLVendFaultResp extends test_gen.BaseResp { ^ .\test_gen\XMLVendServiceSoap.java:10: incompatible types found :

SOAP usage

2006-02-23 Thread david duncan
any other application of SOAP beside web services use SOAP?under what situation that i should use SOAP protocol to communicate between application but NOT using web services? (since web service choose SOAP as protocol)When do i need to use UDDI axis tutorial didn't show when and how to do

Re: Complex bean object

2006-02-23 Thread faizul sulaiman
Ok. For this example, I guest it is good to convert it to array. But in my project, I also got other services that need to be put in a vector or hashmap (actually,it is structure of a dictionary entry). That’s why I need to know whether this can be done? If not, I can just stop working with this

Re: Complex bean object

2006-02-23 Thread Dies Koper
Yes, just use arrays instead of vectors and maps. A map is just an array of objects with two fields: key and value. Look at the API of your map's entrySet() method and java.util.Map.Entry for details. I should not be hard to write this in XML and generate the Java classes. Regards, Dies

RE: MustUnderstand header

2006-02-23 Thread sajith
Hi, Well.. I was able to fix the issue by modifying the java classes and adding few line of coding(which is very similar to what Dies suggested). Sajith. -Original Message- From: Dies Koper [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 6:01 AM To: axis-user@ws.apache.org

Problem with WSDL2Java for the DataHandler type using ?wsdl

2006-02-23 Thread subir.sasikumar
Hi, I am using AXIS 1.2 over Tomcat 5.5.9 appserver with jdk1.5.0_03. I have deployed my web services in both Linux and Windows. I found the problem in only linux. The problem that I am facing is that the ?wsdl feature of the Axis is not generating the wsdl:types section correctly.

Re: Complex bean object

2006-02-23 Thread faizul sulaiman
Ok. I'll try this.. Thanks.. --- Dies Koper [EMAIL PROTECTED] wrote: Yes, just use arrays instead of vectors and maps. A map is just an array of objects with two fields: key and value. Look at the API of your map's entrySet() method and java.util.Map.Entry for details. I should not be

[Axis2] Writing Axis2 Client

2006-02-23 Thread Thushantha De Alwis
Hi All I have successfully deployed a WebService called Echo So I want to invoke that web service. For that I tried to write a client. When writing it I used the following code sample got from 0.93 release. try{ EndpointReference targetEPR =3D new EndpointReference(