Fw: Complex Type Deserialization

2003-07-31 Thread Dimuthu Leelarathne
Jeff,   Sorry for the incomplete solution I gave in the last mail. I realize my mistake when I think further. I think you might have to write a custom serialize and custom deserializer that uses the ArraySerializer and Deserializer and then register it to the type mapping registry.   Dimuthu

running wsdl2java with https

2003-07-31 Thread Leslie Zhang
Hi Guys, I have a problem of running the wsdl2java program with https. Does any one have an idea of how to run wsdl2java with https. Although my machine was able to connect to https://punto-bt.act.cmis.csiro.au/hdi/LinkageStandardisationService.wsdl when I invoked: java org.apache.axis.wsdl.WSD

Re: Complex Type Deserialization

2003-07-31 Thread Dimuthu Leelarathne
Jeff,   Axis has a problem for deserializing arrays inside custom data types. Acutally it is listed under bug list in axis. The number of the bug is 15384.   But axis is capable of deserializing arrays. So a possible workaround would be dynamically registering the array deserialiser for your

Re: Need WSDL for this SOAP message

2003-07-31 Thread Jim Murphy
Just to reiterate what Anne said... The wsdl message links to schema components in one of two ways. In doc/lit you use an attribute named "element". In rpc/enc (and rpc/lit) you use two attributes called "name" and "type". "element" must link to a named element declaration, like: This ties

Re: Where do axis w.s. execute?

2003-07-31 Thread Srinath Perera
Hi Perry usally axis does not run from the tomcat webapps dirctory. we add new context to the tomcat called axis by putting axis.xml into tomcat webapps. (sure you can run it by coping to the webapps at the tomcat but then u should not have that axis.xml .?? do u have it or not ) hope this

RE: Office 2003 Research Pane services in Axis...

2003-07-31 Thread Carey Nation
I'm gonna play with this on the weekend and update you in case if any news. Roman Rytov Ok, I've played a little more but I'm still at a loss. I wrote a asp.net web service that works. My axis one still doesn't. I've sniffed the traffic and here's what comes back: Microsoft: http://schem

RE: Complex Type Deserialization

2003-07-31 Thread Jeff Poetker
I knew that was coming, sorry. I was hoping that maybe somebody could speak up from a past run in with this problem. But, I've put together a simple example that produces the problem. Here is the WSDL for my example service: http://tempuri.org/"; xmlns:wsr="http://www.openuri.org/2002/10/soa

RE: Need WSDL for this SOAP message

2003-07-31 Thread Wendy Smoak
Title: RE: Need WSDL for this SOAP message Anne wrote: > When using doc/literal, your message definitions must reference an element > definition rather than a type definition. > So in your section you also need to define an definition for each message part. I can't get this to work.  O

Re: wrapped services && soapenc:Array

2003-07-31 Thread Anne Thomas Manes
Sounds like a bug. For doc/lit, Axis should generate an element with unbounded content. Anne - Original Message - From: "Cory Wilkerson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 6:06 PM Subject: RE: wrapped services && soapenc:Array > Well, this is what

reducing call.invoke time

2003-07-31 Thread Santoshkumar . Jagtap
Hi All, Could anybody please let me know how can i reduce the call.invoke invocation time in a multithreaded environment. santosh

RE: Unsubscribe works for me (Re: Secret handshake for mail list unsubscribe

2003-07-31 Thread Smith, Doug
Thanks for doing that - I guess I don't understand what's happening on my end. I'll be quiet now ;-) --doug -Original Message- From: Tom Myers [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:17 PM To: [EMAIL PROTECTED] Subject: Unsubscribe works for me (Re: Secret handshake for

Unsubscribe works for me (Re: Secret handshake for mail list unsubscribe

2003-07-31 Thread Tom Myers
Smith, Doug wrote: I've tried this with no luck. Note that I was able to successfully unsubscribe to the axis developers list. I really think the issue lies with the list, not with my mail client. ... Sorry if (a) somebody else has posted the equivalent already, or (b) there has actually been no

Re: ArrayOf_xsd_string/float/whatever

2003-07-31 Thread Jeff Greif
This is an artifact from SOAP 1.1 which has caused me a lot of trouble. Here's some information: 1. This type has two 'out-of-band' concepts outside of XML Schema. a. the wsdl:arrayType attribute (which does not appear in the PSVI of the schema) tells the WSDL processor that the type is an ar

RE: wrapped services && soapenc:Array

2003-07-31 Thread Cory Wilkerson
Well, this is what Axis is generating by default -- and I've told it it's a wrapped service --- it's interpreting everything else as doc/lit...just not this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 5:05 PM To: [EMAIL PROTECTED] Su

Re: wrapped services && soapenc:Array

2003-07-31 Thread Rhett . DeWall
Java2WSDL has options to produce doc/lit wsdl files, but I believe the default is rpc. "Cory Wilkerson"

wrapped services && soapenc:Array

2003-07-31 Thread Cory Wilkerson
Why does my wrapped service (doc/literal) define extensions of soapenc:Array? Shouldn't Axis generate wsdl that just describes an element with unbounded content of a given type? .Net won't swallow this sort of declaration. So, given a class "FooService" with method "fooMethod(String[] args)"

WSIF/Axis support to build SOAP Headers

2003-07-31 Thread Rhett . DeWall
What type of support does WSIF provide to build SOAP headers via the AXIS provider? For a given WSIFMessage I know that I can call: WSIFMessage.setObjectPart( WSIFConstants.CONTEXT_SOAP_HEADERS, domElement ); where domElement represents a DOM element that is the SOAP Header that I have built. W

WSIF/Axis support to build SOAP Headers

2003-07-31 Thread Rhett . DeWall
What type of support does WSIF provide to build SOAP headers via the AXIS provider? For a given WSIFMessage I know that I can call: WSIFMessage.setObjectPart( WSIFConstants.CONTEXT_SOAP_HEADERS, domElement ); where domElement represents a DOM element that is the SOAP Header that I have built. W

WSIF/Axis support to build SOAP Headers

2003-07-31 Thread Rhett . DeWall
What type of support does WSIF provide to build SOAP headers via the AXIS provider? For a given WSIFMessage I know that I can call: WSIFMessage.setObjectPart( WSIFConstants.CONTEXT_SOAP_HEADERS, domElement ); where domElement represents a DOM element that is the SOAP Header that I have built. W

ArrayOf_xsd_string/float/whatever

2003-07-31 Thread Cory Wilkerson
I realize this isn't the schema support group...but given the following definition...are we saying that ArrayOf_xsd_string is a subtype of soapenc:Array and we're restricting the value of arrayType to xsd:string? I had a look through the WSDL spec and saw that this is a way to provide the "defa

soapenv versus SOAP-ENV

2003-07-31 Thread java
Hi, The soapmessage axis creates for me uses the prefix soapenv. The server I send it to expects SOAP-ENV. I tried to change this in org.apache.axis.Constants but it keeps on generating it with soapenv. Is there an other place where I have to check or set this value. Or is there perhaps a bett

RE: Complex Type Deserialization

2003-07-31 Thread Mike Perham
The associated WSDL description and SOAP message would be helpful. -Original Message- From: Jeff Poetker [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: Complex Type Deserialization I'm having some trouble deserializing a complex type which

Complex Type Deserialization

2003-07-31 Thread Jeff Poetker
I'm having some trouble deserializing a complex type which contains an array of Strings. Currently I have a webservice running on weblogic server, and I'm trying to verify that it works well with webservice toolkits other than that supplied by BEA. So far I know the service works fine with .NET a

Axis 1.1 bug in SOAPHeaderElement(Element elem) ?

2003-07-31 Thread Rajvanshi, Shashank
I am using Axis 1.1 for doing SOAP message handling. I get a java.lang.NullPointerException at org.apache.axis.message.SOAPHeaderElement.(SOAPHeaderElement.java:109) I looked at the code and it is happening at line where Namespace URI is being checked without checking if it could be NULL. It is r

Re: WSDL4J Question: How to add soap:header elements to WSDL document?

2003-07-31 Thread Steve Pannier
dims, Thanks for the tip. Wished I'd known about it yesterday. After more digging, I did figure out how to do this. The following is a code snippet that adds the with it's , and also the elements: WSDLFactory factory = WSDLFactory.newInstance(); ExtensionRegistry extReg = factory.n

RE: Stub Caching

2003-07-31 Thread Steve Earl
Hi Conor, That's pretty much what I implemented. I was wondering if you had done anything more robust than what I already had :) Steve... >>> [EMAIL PROTECTED] 07/31/03 01:34PM >>> actually there's not much to post as it a simple prototype at the moment to validate the impact of a full blown c

RE: ERROR configuration.EngineConfigurationFactoryFinder - Unable to locate a valid EngineConfigurationFactory

2003-07-31 Thread Ben John
never mind...there was a typo in the classpath for the axis.jar. Thanks, Ben. -Original Message- From: Ben John Sent: Thursday, July 31, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: ERROR configuration.EngineConfigurationFactoryFinder - Unable to locate a valid EngineConfigurationFactory

Re: AdminClient not found - still thrashing

2003-07-31 Thread Marcia Perry (DSD staff)
Yes Shannon.. You are right--soap.jar is for the older Apache SOAP only. Thanks for answering me, Marcia ZHANG,SHANNON (HP-NewJersey,ex2) wrote: Hi Marcia, I just installed axis couple of days ago, so I am new, too. Correct me if I am wrong, but I believe the AdminClient class is in axis.jar and

Where do axis w.s. execute?

2003-07-31 Thread Marcia Perry (DSD staff)
Hi, I'm getting started w/ axis (axis-1_1 distrib w/ Tomcat v3.1.24 on linux rh 7.2, jdk1.3). I'm following the instructions, commands, etc. in the "Installing and deploying applications using xml-axis" doc and got confused while playing with the samples/stock web service about how/where axis w.s.

determining request return parameters

2003-07-31 Thread S.E.Parkin
Hi I was wondering if there is any particular way to determine what the return parameters are for a client process's call to an Axis service after the call has left the client process, as I would like to be able to determine whether the client request is synchronous or asynchronous (i.e. not ex

RE: Stub Caching

2003-07-31 Thread Power, Conor
actually there's not much to post as it a simple prototype at the moment to validate the impact of a full blown cache in the future. For the test I simply implemented the service locator as a singleton and set each of the stubs as a member variable in the locator. The first call to retrieve a serv

RE: Secret handshake for mail list unsubscribe

2003-07-31 Thread Smith, Doug
I've tried this with no luck. Note that I was able to successfully unsubscribe to the axis developers list. I really think the issue lies with the list, not with my mail client. --doug -Original Message- From: Claudio Nieder [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 6:09 AM

Re: encoding.ser.castor

2003-07-31 Thread steve . s . maring
Well, if you are plugging in your own serializers, then you certainly won't be interested in the data types generated by the WSDL2Java process. Those are designed to work with the BeanSerializer.

Re: encoding.ser.castor

2003-07-31 Thread James Cowan
I am interested in this as well. I use the Castor xsd compiler a lot - it generates really nice code. I do not really understand how you can use the castor compiler alongside the wsdl compiler - surely you can only use one or the other or am I missing the point? James - Original Message

ERROR configuration.EngineConfigurationFactoryFinder - Unable to locate a valid EngineConfigurationFactory

2003-07-31 Thread Ben John
I am getting this error. "ERROR configuration.EngineConfigurationFactoryFinder - Unable to locate a valid EngineConfigurationFactory" Please let me know if you have any clues on this. Thanks, Ben.

Re: encoding.ser.castor

2003-07-31 Thread steve . s . maring
David, I'm about to do this myself, with the exception of using my own set of CastorSerializer classes so that it will look for my custom mapping. So I'm very interested in this topic. I wonder if the encodingStyle should be somthing else? Have you confirmed that the (un)marshalling process is

encoding.ser.castor

2003-07-31 Thread David Kocher
Hi axis-users, yet another question (...) I'm just tinkering around with the org.apache.axis.encoding.ser.castor.* classes. I have type mappings in my axis deployment descriptor like the following: http://www.suva.ch/schemas/20030722/SalaryDeclaration"; qname="n

Re: Office 2003 Research Pane services in Axis...

2003-07-31 Thread ian_d_stewart
try added the following to the top of your XML: xmlns:search="urn:Microsoft.Search" And then prefix each Office-specific element with the 'search' namespace. Don't know if that will work or not, but that is what I would expect based on your description. HTH, Ian Ian D. Stewart Open Sys

RE: Office 2003 Research Pane services in Axis...

2003-07-31 Thread Roman Rytov
I played a bit with Office2003Betta and met the same problem as you described. I didn't have a chance to experiment with WSDD yet but what you said is a bit confusing:-) I hoped that would help. I have no idea what Office expects to get but .net example they mention in the article works fine. But

Serialization/Deserialization for Value Object Pattern

2003-07-31 Thread pablo-bh
I use the Value Object Pattern with flags indicating if the attribute has changed, like this: private string attibute; private boolean attributeHasChanged; (...) public void setAttribute(String attribute) { this.attribute = attribute; attributeHasChanged(true); // new task } public void attribu

Re: Secret handshake for mail list unsubscribe

2003-07-31 Thread Claudio Nieder
Hi, > This is a list that has lots of activity but one's stuck with it for life. > I've been a victim of unsuccessful unsubscription for six months. I haven't tried to unsubscribe from this particular list, but it should go this way: when you receive an e-mail from the list, you see in the heade

Re: wsdl:import URL (old question)

2003-07-31 Thread Anne Thomas Manes
According to http://www.w3.org/TR/wsdl#_Toc492291094, any URI can be a relative URI. Keep in mind, though, that the whole purpose behind the location attribute is to allow the WSDL processor to retrieve the schema file if necessary. It's not an uncommon practice to copy WSDL files around (which ten

RE: Java2WSDL propety names

2003-07-31 Thread Max Johnson
I believe this is down to the Java Beans naming standard. Check out section 8.8 of the spec. http://java.sun.com/products/javabeans/docs/beans.101.pdf - "capitalization of inferred names". Max -Original Message- From: Jonathan Melvin [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 11:49 To:

Java2WSDL propety names

2003-07-31 Thread Jonathan Melvin
I am returning a bean from a web service. Say the bean has 3 propeties as below PROP_ONE Prop_Two PRop_Four in the WSDL file these end up as PROP_ONE prop_Two PRop_Four Notice that the second property has had its first letter set to lowwer case while the other names have been left alone. Any i

Re: Java2WSDL: Can't user Java interfaces in method sigs?

2003-07-31 Thread Stuart Barlow
I have a similar problem, Where a Map parameter is turned into a HashMap parameter. Not an enourmous problem but still pretty annoying. Wendy Smoak wrote: I'm trying to expose this method as a web service: public String subscribe(Subscription sub); Subscription is an interface, and there's a Sub

R: wsdl:import URL (old question)

2003-07-31 Thread Tevoi Andrea
Hi Anne, sorry fo this old question, but reading the wsdl spec at http://www.w3.org/TR/wsdl#_document-n, i think that location could be relative instead of namespace that must be full. what do you think about? A.T. > -Messaggio originale- > Da: Anne Thomas Manes [mailto:[EMAIL PROTECTED

Intro to Web Services and Apache Axis Presentation

2003-07-31 Thread Sivakumar Jagadeesan
Hey Guys!I have put a presentation in "Intro to Web Services and Apache Axis" that I presented to Austin JUG. http://java2simple.blog-city.com/read/162200.htm Take a look at it and let me know what you guys think. Let me also know if I need to add some more information Rgds --S

RE: Java2WSDL: Can't user Java interfaces in method sigs?

2003-07-31 Thread Jonathan Melvin
Title: Message I don't think there is any reason in principal you shouldn't be able to do this, but it doesn't work in AXIS. I believe it does work on other engines (Oracle9iAS) -Original Message-From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 20:21To: '[EMA