encoding

2006-05-11 Thread Magnus Karlsson
Is it possible to use ISO-8859-1 as encoding instead of UTF-8? If so, where can I set this up? I've changed encoding in the wsdl-file from which the server side stubs are generated. Is this enough? After the server side code is built there are other files (as deploy.wsdd for example)still

Link to WSDL files

2006-05-11 Thread Magnus Karlsson
Hi! I've exactly the same problem as someone else on this mailing list (06 Jan 2006). That is: I can see the services with http://localhost/axis but the link to the WSDL files is not setup properly so I cannot click the link to see the WSDL files.What do I have to do in my setup to fix this

Re: AXIS C++ thread-safety

2006-05-11 Thread Nadir Amra
Theoretically I think it is thread-safe. But the routines being used are not and obviously should be replaced with the thread-safe ones. Open a JIRA issue. Nadir K. Amra Yury Novitsky [EMAIL PROTECTED] wrote on 05/04/2006 08:41:17 AM: Hi All, My question relates to AXIS C++ client: is

Re: [Axis2 1.0] SGCCalculator sample

2006-05-11 Thread Eran Chinthaka
Rob Henley wrote: Hi Eran excellent - actually i had read it, but I'd forgotten :-(. I've got this working in 2 ways: 1. (as described in http://ws.apache.org/axis2/1_0/userguide3.html), by setting ConfigurationContext. 2. by setting -Daxis2.repo on the java command line Ok. BUT the

Logger

2006-05-11 Thread Anne Vetter
Hi everyone,I'm trying to include some basic information in the header - as far as I know I've to do that with a message handler. And here comes the problem.Where do I have to pack that handler? How do I have to deploy it? I really didn't find much info about that topic anywhere ... Thanks in

Re: Loosing bytes with MTOM

2006-05-11 Thread Thilina Gunarathne
At first look seems there's a problem with the image utility classes.. It's better to use the FileDataSource in any case, since it's the most generic one and it'll make sure to send what ever the bytes in your original file... ~ThilinaOn 5/10/06, Patric Fornasier [EMAIL PROTECTED] wrote: Hi,I've

Re: [axis2]axis2 + mtom

2006-05-11 Thread Thilina Gunarathne
Have you tried with Axis2 1.0.. I fixed a content type issue lately, but wasn't able to check whether it'll solve the Java Mail issue... Gerenimo java Mail Sun's Java mail are different implementations of Java Mail spec. We can't use Sun's Java mail through Maven repositories due to licensing

Re: Loosing bytes with MTOM

2006-05-11 Thread Deepal Jayasinghe
Why do we want ImageDateSource ? I went trough IDS class and found that using that you can not even get image so I can not understand why we use IDS . If we are going to have IDS e we have to add a convenient API to IDS to get image directly out of that rather than getting out/in stream while we

[Axis2 1.0] WSDL2Java producing garbage

2006-05-11 Thread Ken Campbell
Hi, I've upgraded my (working) web service from 0.95 to 1.0; I regenerated my code using WSDl2Java taken from axis2-std-1.0-bin at the command line with: WSDL2Java -uri wsdl_location -ss -sd -g -d xmlbeans -o output_path -p my.package.hierarchy.structure.generated However, the built code

Re: [Axis2 1.0] WSDL2Java producing garbage

2006-05-11 Thread Ajith Ranabahu
Hi Ken, Yes Seems a bug to me. could you report a jira and attach the WSDL there ? Ajith On 5/11/06, Ken Campbell [EMAIL PROTECTED] wrote: Hi, I've upgraded my (working) web service from 0.95 to 1.0; I regenerated my code using WSDl2Java taken from axis2-std-1.0-bin at the command line with:

Re: [AXIS2] Replication For High Availability

2006-05-11 Thread Kensky Schulz
Hie Deepal, Thanks for response. In my scenario its an axis2 web application and on back I am using native xml database. From your reply I can assume axis2 provides high availability feature, but what if embedded database crashes, coz it provides its own mechanism of replication and master

RE: [Axis2 1.0] WSDL2Java producing garbage

2006-05-11 Thread Ken Campbell
Done. -Original Message- From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] Sent: 11 May 2006 11:18 To: axis-user@ws.apache.org Subject: Re: [Axis2 1.0] WSDL2Java producing garbage Hi Ken, Yes Seems a bug to me. could you report a jira and attach the WSDL there ? Ajith On 5/11/06, Ken

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-11 Thread Anne Thomas Manes
This WSDL looks fine.On 5/10/06, robert lazarski [EMAIL PROTECTED] wrote: Anne, might you be able to take a look at the attached wsdl ? It validates fine, but I see the same error, created a jira, and I'd like to track it down. Don't think this wsdl has changed - I thought it was working in

Re: [axis2]axis2 + mtom

2006-05-11 Thread Stefan Vladov
Hi, yes I wrote the previous mail before being well familiar with the problem I'm using axis2 1.0 as you suggested... also I saw there was a similar thread in the developer mailing list - http://marc.theaimsgroup.com/?l=axis-devm=114127380803712w=2 and i also tried using the same javamail

Re: [Axis2] Http Basic Authentication

2006-05-11 Thread Saminda Abeyruwan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Saminda Abeyruwan wrote: Lothar Nieswandt wrote: Hello all, I am trying to write a *simple* web service client with axis2. The server side requires http basic authentication. I can't find out how this is done *easily* with axis2. Somebody on the

Re: Logger

2006-05-11 Thread robert lazarski
Axis 1.x userguide shows a LogHander. The axis2 userguide does as well. HTH, Robert http://www.braziloutsource.com/On 5/11/06, Anne Vetter [EMAIL PROTECTED] wrote:Hi everyone,I'm trying to include some basic information in the header - as far as I know I've to do that with a message handler.

Attachment to webservice...

2006-05-11 Thread Pierre NOTEL
Hi all, I would like to send a mail (with a jpeg image in attachment) to a webservice. I have a multipart soap request : - 1st part : soapPart which tell the good operation on the webservice and give the first parameter of my operation (string) - 2nd part : image/jpeg part which contains my

Server error 500 in AXIS response

2006-05-11 Thread Roy
Hello,I use an AXIS client application 1.3 to call a service the response i get is this below:?xml version='1.0' ? SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:Body SOAP-ENV:Fault faultcodeSOAP-ENV:Client/faultcode

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-11 Thread Sebastian J. Schultheiss
Hi Anne, thanks for your response. We re-run the WSDL2Java Tool after removing the namespace attribute from the soap:body tags. However, the WSDL that is generated by the WSDL2Java tool (the one you find in the specified -o directory/resources) is not formatted like that, I've attached it. Why

Strange Codegen for RPC

2006-05-11 Thread mmacfadden
I have a wsdl that I have written that describes an rpc style web service. When I generate the code using WSDL2Java I get some strange results. Or at least it looks strange to me. the first thing I notice is that I get the following classes: Item - This represents the complex type I have defined

Re: Strange Codegen for RPC

2006-05-11 Thread Nicolas Guaneme
I have a wsdl when I done the delpy show me the service, but I try to access to url?WSDL show me this error: AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - makeTypeElement() was told to create a type

How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread Joshua . White
I generated my stubs using the axis-wsdl2java ant task specifying a username/password. When the service was unsecured, I used to be able to call it like this: MyService myService = new MyServiceLocator(); URL serviceUrl = new URL(http://localhost:7001/webservice/MyService?WSDL);

Want help in Validation in Handler

2006-05-11 Thread Kanojia, Jogesh \(GE Cons Fin, consultant\)
Title: Want help in Validation in Handler Hi, I am doing some validation in Handler. The Control is return back to client as soon as I throw Axis Exception. I want to return my error information in soap response message rather then throwing exception. The Structure of error is

Get SOAP header from Call instance?

2006-05-11 Thread Axel Bock
Hi, I am having BIG problems with a very, very, very simple Axis WS call. Basically I am trying to get a String back from a web service, which has only one method without parameters. I managed to generate stubs and call it, but I would really like to call it without having to build stubs. problem

Re: Get SOAP header from Call instance?

2006-05-11 Thread Davanum Srinivas
use call's addHeader (http://www-128.ibm.com/developerworks/xml/library/x-tipsoap.html) -- dims On 5/11/06, Axel Bock [EMAIL PROTECTED] wrote: Hi, I am having BIG problems with a very, very, very simple Axis WS call. Basically I am trying to get a String back from a web service, which has

Re: Get SOAP header from Call instance?

2006-05-11 Thread Axel Bock
Oh, sorry - I didn't mention. I guess you're assuming I'm using Axis 2. I'm not :)And my call does not have an addHeader() method, as much as I wish for it :))Greetinsg thanks, Axel. On 5/11/06, Davanum Srinivas [EMAIL PROTECTED] wrote: use call's

Re: Get SOAP header from Call instance?

2006-05-11 Thread Davanum Srinivas
Nope. i made no such assumption :) Please read the url carefully. note the package names. -- dims On 5/11/06, Axel Bock [EMAIL PROTECTED] wrote: Oh, sorry - I didn't mention. I guess you're assuming I'm using Axis 2. I'm not :) And my call does not have an addHeader() method, as much as I wish

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread Joshua . White
I tried the following and I still get a 401 error: MyService myService = new MyServiceLocator(); URL serviceUrl = new URL(http://localhost:7001/webservice/MyService?WSDL); MyServicePortType mspt = myService.getMyServicePortTypeSoapPort(serviceUrl); Stub stub = (Stub)mspt;

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread James Gough
I am new to this, so by all means this may not be the way to do it, but perhaps you can try: URL serviceUrl = new URL(http://username:[EMAIL PROTECTED]:7001/webservice/MyService?WSDL); Jim [EMAIL PROTECTED] wrote: I tried the following and I still get a 401 error:

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread Joshua . White
Thanks for the reply James. No dice though. Any other ideas? -joshua James Gough [EMAIL PROTECTED] 05/11/2006 02:39 PM Please respond to axis-user To: axis-user@ws.apache.org cc: Subject: Re: How to do basic http authentication with axis 1.3 client? I am new

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread Joshua . White
Never mind! [EMAIL PROTECTED] 05/11/2006 02:45 PM Please respond to axis-user To: axis-user@ws.apache.org cc: Subject: Re: How to do basic http authentication with axis 1.3 client? Thanks for the reply James. No dice though. Any other ideas? -joshua

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread James Gough
So that worked? [EMAIL PROTECTED] wrote: Never mind! [EMAIL PROTECTED] 05/11/2006 02:45 PM Please respond to axis-user To:axis-user@ws.apache.org cc: Subject:Re: How to do basic http authentication with axis 1.3 client?

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread Joshua . White
James, It was a PEBCAK error. I mistyped the username. =) Joshua James Gough [EMAIL PROTECTED] 05/11/2006 02:53 PM Please respond to axis-user To: axis-user@ws.apache.org cc: Subject: Re: How to do basic http authentication with axis 1.3 client? So that

Re: Get SOAP header from Call instance?

2006-05-11 Thread Roman Weidlich
Trying the EchoNonBlockingDualClient (addressing module is found) getting: org.apache.axis2.AxisFault: Address already in use: JVM_Bind

[Axis2 1.0] ADB version has problems, too

2006-05-11 Thread Sebastian J. Schultheiss
Hi there, We've tried to go with a new approach and created an ADB version of our service, since the databinding with xmlbeans seemed to be the problem before. We are still using a similar WSDL file as before, but now we get an error early on with the ServiceStub initialization. This is our

EchoNonBlockingDualClient -- JVM_Bind

2006-05-11 Thread Roman Weidlich
Trying the EchoNonBlockingDualClient (addressing module is found) getting: org.apache.axis2.AxisFault: Address already in use: JVM_Bind

[Axis2 1.0] Request for ANY working WSDL with Axis2 1.0 and WSDL2Java

2006-05-11 Thread Sebastian J. Schultheiss
Hi there! Does anyone have *any* WSDL file that can be passed to WSDL2Java in Axis2 1.0 that uses non-RPC style messaging and produces a valid service and client? We've been having problems with our valid WSDL files ever since Axis2 0.95. All we need is one working WSDL that has been tested

Service-test-client.jar

2006-05-11 Thread Sebastian J. Schultheiss
Hi there, sorry for the many emails, there seem to be a lot of questions today... Whenever you create a service with WSDL2Java and first build it, there is always a .jar file in addition to the .aar file in the build/lib/ directory, called servicename-test-client.jar Is this really intended

Re: [Axis2 1.0] ADB version has problems, too

2006-05-11 Thread robert lazarski
This time it seems like its just a commons-logging issue - though I can't remember ever seeing it fail like you show. Make sure you have commons-logging jars in place and the default commons-logging.properties in place. The last few axis2 releases have had log4j as the commons-logging

Re: EchoNonBlockingDualClient -- JVM_Bind

2006-05-11 Thread Eran Chinthaka
Roman Weidlich wrote: Trying the EchoNonBlockingDualClient (addressing module is found) getting: org.apache.axis2.AxisFault: Address already in use: JVM_Bind Do u have any listener opened in port 6060 ? signature.asc Description: OpenPGP digital signature

Re: [Axis2 1.0] Request for ANY working WSDL with Axis2 1.0 and WSDL2Java

2006-05-11 Thread Eran Chinthaka
Interesting comments :). Can you please create a bug report in JIRA (http://issues.apache.org/jira/browse/AXIS2) with your valid WSDL please. We might be able to help you. -- Chinthaka Sebastian J. Schultheiss wrote: Hi there! Does anyone have *any* WSDL file that can be passed to

Re: WSE 817 error - bad wsdl or just newbie stupidity?

2006-05-11 Thread James Gough
Thanks, Anne. I'm wondering if there is a way on the client side to signal to the server that you want it to use the Action in the body of the SOAP message and ignore the SOAP Actor in the headers? Jim Anne Thomas Manes wrote: Wed, 10 May 2006 06:06:02 -0700 So you should tell the

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-11 Thread Anne Thomas Manes
For some reason the tool put a line break between the l and ocation in the location attribute in the service definition. Please file a JIRA.Anne On 5/11/06, Sebastian J. Schultheiss [EMAIL PROTECTED] wrote: Hi Anne,thanks for your response. We re-run the WSDL2Java Tool after removingthe namespace

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread Dies Koper
Hello James, Joshua, Just in case, I'll quote the example from the JAX-RPC 1.1 spec that explains the way to do this. StockQuoteProvider_Stub sqp = // ... get to the stub; sqp._setProperty(Stub.USERNAME_PROPERTY, username); sqp._setProperty(Stub.PASSWORD_PROPERTY, password); float quote =

Axis2: Unexpected subelement fees

2006-05-11 Thread Dan Washusen
Hi All, I'm getting a weird error and I was hoping someone could tell me what I'm doing wrong because I have no idea what's going on...I've generated a client using the org.apache.axis2.tool.ant.AntCodegenTask class and filled in the todos in the generated test case, however when I run the test

pivot handler

2006-05-11 Thread Yev Kelman
Hi, does anybody know how to setup pivot handler programmatically (similar to client-config.wsdd) on a client side of web service? Thanks Yevgeniy Kelman

Re: pivot handler

2006-05-11 Thread robert lazarski
Do you mean invoke a handler on the client side programatically, without a client.wsdd ? That would be: //pre-populated, pass any set of vars as a Map to handler for custom use HashMap invokeProps; QName portQN = new QName(endpoint, pq); ServiceFactory sf = ServiceFactory.newInstance(); Service

Re: Axis2: Unexpected subelement fees

2006-05-11 Thread robert lazarski
Even though it may be big, could you attach your entire wsdl ? It also may help us figure out the problem is you show us you params you passed to wsdl2java. One other thing: Is the client request making it to the server, and perhaps returning a reponse the client can't parse? (late here, sorry if

RE: pivot handler

2006-05-11 Thread Yev Kelman
it is not an a soap rpc handler. I refer to a handler similar to JMSSender class. The problem is that under IBM i have a conflict - IBM also use client-config.wsdd, but they keep it inside one of there jars. Thanks -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent:

Re: Axis2: Unexpected subelement fees

2006-05-11 Thread Dennis Sosnoski
And the new error is very likely because your SOAP message has an empty ns1:brokerage/ element, which is not valid for an xsd:decimal value. - Dennis Dan Washusen wrote: Thanks for that Sanjiva, you were spot on. I did have the elements out of order in the SOAP envolope... I'm not

Re: Axis2: Unexpected subelement fees

2006-05-11 Thread Dan Washusen
Interesting, so how do I specify a null value for brokerage?I found http://redrice.com/schemavalid/faq/xml-schema.html#c2 but it seems a little cumbersome/crap... On 5/12/06, Dennis Sosnoski [EMAIL PROTECTED] wrote: And the new error is very likely because your SOAP message has an

Re: EchoNonBlockingDualClient -- JVM_Bind

2006-05-11 Thread Roman Weidlich
It seems port 6060 was occupied by something, thx. Eran Chinthaka wrote: Roman Weidlich wrote: Trying the EchoNonBlockingDualClient (addressing module is found) getting: org.apache.axis2.AxisFault: Address already in use: JVM_Bind Do u have any listener opened in port 6060 ?

How to save my changes after executing wsdl2java

2006-05-11 Thread Bali, Vikas
Hi I have one question... 1) I have created one Java class with say 2 methods A() and B(). 2) Then I executed Java2WSDL to generate the wsdl file. 3) and then I executed wsdl to java to get all set of java files like *Service.java;*SoapBindingImpl.java etc. 4) In the SoapBindingImpl.java I made

Re: EchoNonBlockingDualClient -- JVM_Bind

2006-05-11 Thread Eran Chinthaka
I sitll consider this as a bug, as if IIRC, we implemented to switch to the next port if one port is not available. Will create a JIRA out of this. Roman Weidlich wrote: It seems port 6060 was occupied by something, thx. Eran Chinthaka wrote: Roman Weidlich wrote: Trying the

Axis 2 v1.0 security sample

2006-05-11 Thread Nathan West
Hello, my Problem is that i get a URL Exception. My first Problem was, that the axis security sample client cant find his axis2.xml in the repository. So i used -Daxis2.xml... to solve that problem. But now i get this exception: 0[main] INFO org.apache.axis2.deployment.DeploymentEngine -

Re: EchoNonBlockingDualClient -- JVM_Bind

2006-05-11 Thread Ali Sadik Kumlali
Hi Eran, I also reported -but didn't create a jira log :)- related with this problem. So, if you want, you may also add information found in postings with Re: [Axis2] SimpleHTTPServer port conflict for multiple EchoNonBlockingDualClient threads subject. Regards, Ali Sadik Kumlali --- Eran