Re: forcing registration of serializer/deserializer for beans that do not appear directly as args

2005-02-17 Thread Sebastien Mayemba Mbokoso
@Tim If you follow what i said in a first email on how to properly map an array bean (Bean[]) in the Bean. The explicit type mapping in the WSDD doesn't appear the next time. I am using Axis web service with that options : provider="java:RPC" style="wrapped" use="literal" Sebast

Re: Is there a way to get the auto-generated WSDL document at compile time?

2005-02-17 Thread Sebastien Mayemba Mbokoso
@Jay Do you try to perform all the needed process. I am talking about using first Java2WSDL and after WSDL2Java. Maybe if you use the right options in the first step (Java2WSDL) the generated WSDD shall be the same that you already created ? I strongly think the more difficult in the Axis Ant T

Re: Custom Deserializer/typeMapping problem

2005-02-17 Thread Sebastien Mayemba Mbokoso
Mike, if you want to use your own serializer/deserializer try to adapt this tutorial : http://www-106.ibm.com/developerworks/webservices/library/ws-castor/ They do a data binding with castor. So they need to integrate in their WSDD and the generate stubs Castor serializer/deserializer. Look at wh

RE: Is there a way to get the auto-generated WSDL document at compile time?

2005-02-17 Thread Jay Glanville
Just checking to see if anyone had an answer for this question ... JDG > From: Jay Glanville [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 15, 2005 11:15 AM > To: [EMAIL PROTECTED] > Subject: Is there a way to get the auto-generated WSDL > document at compile time? > > Hello all. > > W

Re: basic question about axis

2005-02-17 Thread Bill Keese
AxisServlet /services/* So every request with "/services/*" would be passed to the AxisServlet, right? Right Now how would the AxisServlet find the service / class that needs to be invoked? JWS files are found automatically; you don't have to do anything. For services that are wri

RE: basic question about axis

2005-02-17 Thread Vikas Phonsa
Bill, In the web.xml for one of the axis sample apps, I have AxisServlet /services/* So every request with "/services/*" would be passed to the AxisServlet, right? Now how would the AxisServlet find the service / class that needs to be invoked? Thanks Vikas -Original Message

Re: basic question about axis

2005-02-17 Thread Bill Keese
I'm not sure what you are asking exactly. Tomcat routes incoming requests based on the path and extension type, as specified in web.xml. For example, any requests for jws files are routed to Axis: AxisServlet *.jws You can look at the web.xml in the sample app released with axis. Vik

Re: Custom Deserializer/typeMapping problem

2005-02-17 Thread Bill Keese
Since you are in wrapped/literal mode shouldn't the encoding style be ""?  Or you could try using rather than .  Also, the tag looks strange.  It seems unnecessary but if you do add then I think you need a deserializer for that structure too. Mike Cassisa wrote: I

Re: Axis sends weird SOAP requests

2005-02-17 Thread Anne Thomas Manes
It's true that, based on the WSDL definition for the getAll Products operation, Axis should send an empty body: . I would call this a bug. But, it's also true that this WSDL is not WS-I compliant becuase you have multiple operations with the same wire signature (an empty body). Systinet is able to

Mapping correctly a array type in a bean

2005-02-17 Thread Sebastien Mayemba Mbokoso
Hi all, here is what i noticed today in work in Axis. This for sample the beans i used : public class A { //some getters/setters } public class B { //some getters/setters A[] a; public A[] getA() { return this.a} public void setA(A[] a) { this.a = a} } When i use the Axis Ant Ta

Re: forcing registration of serializer/deserializer for beans that do not appear directly as args

2005-02-17 Thread Tim K. (Gmane)
OK, it worked without doing anything special for the array. The extra classes are included in the wsdd and it works, but if a Bean[] appears explicitly as an argument of a method there's also an explictit type mapping in the wsdd for the Bean[], but not when using --extraClasses. It works, but I

Re: Deploy problems - any thoughts please

2005-02-17 Thread Sebastien Mayemba Mbokoso
Do you are trying to deploy some beans which contains another beans which contains another beans etc. I don't know exactly what Axis perform for discovering relationships in the beans. But i think it uses reflection or instrospection. Maybe there is no end in your relationship ! Maybe you have to i

Re: Problem with java2wsdl ant task for document/literal (was Re: webservice won't deploy at all)

2005-02-17 Thread Sebastien Mayemba Mbokoso
In the documentation, they say you can juste have either LITERAL or ENCODED for the Axis 'use' option. On Thu, 17 Feb 2005 12:47:05 -0500, James Black <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I removed > > style="wrapped" > use="literal" > > from my ant

basic question about axis

2005-02-17 Thread Vikas Phonsa
Hi Everybody, I have a very basic question about how axis intercepts calls to the deployed services. An axis based web services application is not much different than a regular web application deployed with the war structure except that we load a bunch of axis servlets on startup and we have a se

RE : To any .NET friends out here...

2005-02-17 Thread Faucher, Christian
Title: Message Cool!  Thanks for your help, Ioan.   Question to all:  what is the trick so that my parameters dont get prefixed with namespace, ?wsdl generated WSDL?  Some entry in WSDD file?   Christian Faucher -Message d'origine-De : Ioan Berbece [mailto:[EMAIL PROTECTED] En

Re: axis on-the-fly wsdl generation problem

2005-02-17 Thread Michael Thome
Final followup, FYI. In the end, the problem turned out to be java2wsdl of wsdl2java of the following type of xsd fragment:                 It appears that it cannot handle the anonymous complexType when referenced by a subelement.  For instance, the approximate equi

RE: To any .NET friends out here...

2005-02-17 Thread Ioan Berbece
Title: Message Remove the namespace prefix from the global element names (NCName). See the attachments.   From: Faucher, Christian [mailto:[EMAIL PROTECTED] Sent: February 17, 2005 12:53 PM To: [EMAIL PROTECTED] Subject: To any .NET friends out here...   Hi,   I

To any .NET friends out here...

2005-02-17 Thread Faucher, Christian
Title: Message Hi,   I would appreciate if any .NET friends out here could validate the attached WSDL file against .NET and, in case something is wrong, let me know what is it.   Unfortunatly, I dont have .NET installed on my PC and I am not familiar with it, the reason why I am asking the co

re: Problem with java2wsdl ant task for document/literal (was Re: webservice won't deploy at all)

2005-02-17 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I removed style="wrapped" use="literal" from my ant task, java2wsdl, and now I can deploy my webservice. If I want to use the ant task to generate my files, how do I tell it to use document/literal wrapped. Thanx. - -- "Love is mutual self-giving that e

RE: Axis security, when web-app can't use Basic Web Authenticatio n

2005-02-17 Thread aveitas
Not sure if this fits your requirements, but if you want to use HTTP Basic Authentication **without** having the servlet container manage it for you, try using: org.apache.axis.handlers.http.HttpAuthHandler This class strips out the user name and password from the HTTP Headers and sets the userna

re: webservice won't deploy at all

2005-02-17 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have tried to get my webservice to deploy, and have had no luck. The other 4 deploy fine. I am including my deployment wsdd file to see if there is something that ~ is causing it to not deploy. Tomcat is showing no errors in the logs, and the modific

Custom Deserializer/typeMapping problem

2005-02-17 Thread Mike Cassisa
I am having a problem getting my Deserializer to be used after registering it’s Factory with the typeMapping element in the dd.  I have tried many different combinations but regardless of what I do the SimpleDeserializer is selected.  I believe this is happening because axis is interpreting

RE: Axis security, when web-app can't use Basic Web Authenticatio n

2005-02-17 Thread THOMAS, JAI [AG-Contractor/1000]
Sharam, This approach is interoperable since you are effectively setting these data in message header.  For e.g. .NET client use methods provided by .NET to do the same.   Jai   -Original Message-From: Sharam Fouladgar-Mercer [mailto:[EMAIL PROTECTED]Sent: Thursday, February

RE: Axis security, when web-app can't use Basic Web Authentication

2005-02-17 Thread Sharam Fouladgar-Mercer
I like that solution, especially because of the ease of a client supplying credentials (call.setUsername()). But is there an interoperable solution that would work with .NET in a similar manner?   -Sharam From: THOMAS, JAI [AG-Contractor/1000] [mailto:[EMAIL PROTECTED] Sent: Thursday, Febru

RE: JWS question

2005-02-17 Thread Patrick Martin
If you invoke it through SOAP, you will get a nice SOAP:Fault with more details of the error. HTH -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: 08 February 2005 20:46 To: [EMAIL PROTECTED] Subject: JWS question I have a single java class that has two public metho

RE: Axis security, when web-app can't use Basic Web Authenticatio n

2005-02-17 Thread THOMAS, JAI [AG-Contractor/1000]
There are couple of approaches you can take, but here's what I would do.    - Implement an Authentication handler and Authorization handler extending BasicHandler    These handlers would directly invoke your authentication/authorization methods and validate credentials.   - Set authenticat

Re: Error generating WSDL with xsd:string attribute in AXIS 1.2RC2

2005-02-17 Thread thomas willomitzer
Hello. I've found a workaround to the problem stated below. Tracing through the Axis code i found out that the WSDL Emitter gets confused with namespaces. I've removed all simpleType's like I've left all enumer

Re: Wrapper/lit, Messaging Interop with .NET

2005-02-17 Thread Paul Callahan
You can certainly use message style... .NET can work with your XML Schema-defined message parts. A good way to test interop (from the message part standpoint) is to use the xsd.exe commandline utility in .NET to chomp your XSD file you have created for your Axis "message" style service. This wil

Wrapper/lit, Messaging Interop with .NET

2005-02-17 Thread Faucher, Christian
Title: Message Hi,   I read few threads which recommend to use wrapped/lit for interop between Axis (server in my case) and .NET (client app in my case).   I was wondering if Messaging style is also well supported with .NET?    In the case of my application, we want to receive an XML structu

Re: one webservice won't deploy

2005-02-17 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sunil Kothari wrote: | Hi James, | If you are running Axis under Tomcat then look at Tomcat console or log | files. ~ I found no errors in catalina.out or server.log, which is why I am confused. - -- "Love is mutual self-giving that ends in self-recove

Re: one webservice won't deploy

2005-02-17 Thread Sunil Kothari
Hi James, If you are running Axis under Tomcat then look at Tomcat console or log files. Sunil DISCLAIMER: Any Information contained or transmitted in this e-mail and / or attachments may contain confidential data, proprietary to Majoris Systems Pvt Ltd., and / or the authors of the informatio

pleas help: can't get WSDL in Browser with ?WSDL

2005-02-17 Thread jata-c
Hi, I implemented a webservice which works fine. The WSDL was defined by a third party so I shouldn't change it. One problem occures however, when I try to get the WSDL in the Browser with http://localhost:8080/axis/services/SubjectList?wsdl. The error message is:

re: one webservice won't deploy

2005-02-17 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I use ant to deploy my webservices, and 4 of the 5 deploy. The one that doesn't, doesn't give any kind of error, it just doesn't get written into the wsdd file. Any idea why this may be happening? I don't even know where I should start looking. The webs

Axis sends weird SOAP requests

2005-02-17 Thread [EMAIL PROTECTED]
Hi all, I'm investigating how good/bad Axis and Systinet work together. And I think I found a fault at Axis' side. When I send a request with no parameters, Axis generates the following SOAP message: POST /WholeSalerService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap

Re: array of recursive beans (doc/literal style)

2005-02-17 Thread Davanum Srinivas
Hi Dino, It was nice meeting you yesterday. Thanks for helping with Interop problems :) -- dims On Wed, 16 Feb 2005 19:16:24 -0800, Dino Chiesa <[EMAIL PROTECTED]> wrote: > > Hm > I don't really know what the problem is, then. > > I started with the WSDL you sent me, and removed the weir

Axis security, when web-app can't use Basic Web Authentication

2005-02-17 Thread sol myr
Hi ,   I'd greatly appreciate advice on the following. In short: what do you do when a web-service requires clients to login (supplying user + password), *but* the server/web-app can't be configured to use basic web authentication ?   We have an Axis web service, which requires login (namely, clien

Flickr API with axis

2005-02-17 Thread [EMAIL PROTECTED]
Hi I am investigating using the Flickr API with axis SOAP and am still at an early stage. My first block is this The flickr API asks for a different version of the soap-envelope to that generated by Axis, but generates correct Schema and Schema instance. Is this my problem? Am I doing this the h