RE: Beginners help

2004-04-14 Thread Mark Leone
I put some debug statements into the class that's throwing this Exception (org.apache.axis.wsdl.symbolTable.SymbolTable). I found something interesting. It looks like there is no problem with the operations in the binding. The Exception is thrown when the code is checking that each binding

Suggestions required for developing a Webservice..

2004-04-14 Thread Vinod Patil
Hi All, I want to develop a webservice as follows 1) The client submits a xml request in a pre fixed standard embedded in SOAP body. (eg : DATARQ EMPID123 /EMPID /DATARQ ) 2) This is received by the web service and it interprets it and sends back a response giving the Latitude and

Need suggestions on web service interop and design

2004-04-14 Thread HG
Hi all I have developed some WebServices using Axis...nothing big...just a couple of examples serializing beans and so between a java (Axis) server and a java client...however...now a project is arising where web services is going to be used in large scale... and to add even more complexity..the

RE: Beginners help

2004-04-14 Thread Davanum Srinivas
plz create a bug report anyways :) --- Mark Leone [EMAIL PROTECTED] wrote: I put some debug statements into the class that's throwing this Exception (org.apache.axis.wsdl.symbolTable.SymbolTable). I found something interesting. It looks like there is no problem with the operations in the

intializing WS

2004-04-14 Thread Andrea Fabris
Hi! I'm Andrea Fabris from italy, and i'm pretty new to WS in general and to Axis in particular. I'd like to write some WS that could be configurable through a conf file. I'd like to specify the location of the configuration file in the web.xml descriptor of Axis, so i can access the

problem with session

2004-04-14 Thread Riccardo Marangone
Sorry for my english, I am a beginner on w.s. and I need to iteroperate with an apache SOAP server. My axis server, for specific call, work as a client for an apache SOAP server. I aven't any wsdl of remote w.s., then I decide to write my self a client. I use org.apache.axis.client.Service with

query....

2004-04-14 Thread tanmay shah
When I'm trying to run a web services client, I'm getting this error org.xml.sax.SAXException Deserializing parameter 'XYZ' (not primitive) : could not find deserializer for type {urn}datatype (not primitive) how do i deserialize? tanmayPost Classifieds on MSN classifieds. Buy and Sell on MSN

Deserializing error at client for non primitive parameters

2004-04-14 Thread tanmay shah
When I'm trying to run a web services client, I'm getting this error org.xml.sax.SAXException Deserializing parameter 'XYZ' (not primitive) : could not find deserializer for type {urn}datatype (not primitive) how do i deserialize? (there is no compilation error) do i have to use the methods

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anne Thomas Manes
Henrik, The WS-I Basic Profile disallows the use of SOAP Encoding. It allows only Document/Literal and RPC/Literal. Technically, WS-I BP doesn't *require* support for RPC/Literal, though. Microsoft fought long and hard to exclude RPC-style from the WS-I BP, but they lost that vote. In any case,

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anne Thomas Manes
Henrik, The WS-I Basic Profile disallows the use of SOAP Encoding. It allows only Document/Literal and RPC/Literal. Technically, WS-I BP doesn't *require* support for RPC/Literal, though. Microsoft fought long and hard to exclude RPC-style from the WS-I BP, but they lost that vote. In any case,

Re: Need suggestions on web service interop and design

2004-04-14 Thread HG
Anne, Thanx for the fast info..Just the thing I needed. Now, the task doing schemas first, makes sense..That way you won't get tempted to expose platform specific stuff..Great. Maybe for once in a lifetime I should follow the .NET guides and do things the MS way :-) I can see that Axis 1.2 is

Re: HELP!!!! Strange Error with Axis generated client stubs axis web service

2004-04-14 Thread Marc Boorshtein
On 4/14/04 9:31 AM, Marc Boorshtein [EMAIL PROTECTED] wrote: Hello, I have an Axis web service being accessed by an axis generated client stub. It was working great the other day, but for some reason today when I try to create a service locator, I get the following exception: Failure :

RE: microsoft discontinuing dime spec?

2004-04-14 Thread Anderson Jonathan
Anne, Monika - Check out Rich Turner's blog entry: http://blogs.msdn.com/richturner666/archive/2004/03/10/87602.aspx Thankfully, the Microsoft guys involved with Indigo blog pretty regularly. Makes it easier to read the tea leaves. :) Regards, Jonathan Anderson Booz Allen Hamilton

RE: JAXB vs Axis generated classes

2004-04-14 Thread Anderson Jonathan
1. What are the benefits of using Axis generated classes as against using standard like JAXB? More robust XML Schema support is my guess - but I'm fuzzy on which Java - XML data binding engines support what. 2. Will JAXB generation be included as part of the next version of JAX-RPC spec? Not

RE: Need suggestions on web service interlope and design

2004-04-14 Thread Anderson Jonathan
Henrik, Axis 1.2 beta is out... http://archive.apache.org/dist/ws/axis/1_2beta/ Though if you're the adventurous type you can always pull straight from CVS and build it yourself. And yes, we're ALL struggling not only with building WS-I compliant SOAP services, but WS-I complaint SOAP services

Re: Need suggestions on web service interop and design

2004-04-14 Thread Nelson Minar
HG writes: I can see that Axis 1.2 is alpha...Anyone knows of the beta or final release plans..? There is a beta, but for some inexplicable reason it's not visible on the site. You can find it here: http://archive.apache.org/dist/ws/axis/1_2beta/ I'm having good luck with it. Anne Thomas Manes

Re: Need suggestions on web service interop and design

2004-04-14 Thread David Thielen
Speaking for myself (and I think lots of others), while a tutorial would be wonderful, if you could just tell us what method to use to create a server using java under access that .net can access - that's 90% of what we need. Especially if one of the existing axis examples implementes that

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anderson Jonathan
David, you may be understating the problem a bit. Building interoperable, WS-I compliant SOAP services with Axis is a little involved. See: http://marc.theaimsgroup.com/?l=axis-userm=107945370506044w=2 Regards, Jonathan Anderson Booz Allen Hamilton -Original Message- From: David

RE: How To Use TCPMonitor?

2004-04-14 Thread Zhao Sharon-CSC002
Rick, Thank you very much for the help. We are using the HTTPS for connecting to the server port. Does TCPMon:port 2080 still work? If not, which port number should I use? Sharon Zhao -Original Message- From: Rick Umali [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 7:10 PM

RE: Need suggestions on web service interop and design

2004-04-14 Thread Nelson Minar
David, you may be understating the problem a bit. Building interoperable, WS-I compliant SOAP services with Axis is a little involved. Yeah, a little too involved. Shouldn't this be easier? No specific criticism of Axis intended. I'm just amazed at how much effort I'm going through to pass

Java2WSDL and WSDL2Java 1.1- 1.2

2004-04-14 Thread Yakulis, Ross (Ross)
With axis 1.1 I was able to use Java2WSDL and WSDL2Java to generate a web service given a some java files in RPC/Literal RPC/Encoded Document/Encodec and Document/Literal. However, doing the same with 1.2 I receive errors using hte same source files. I assume this has to do with making the

Re: Java2WSDL and WSDL2Java 1.1- 1.2

2004-04-14 Thread Davanum Srinivas
You can use the ant task to specify these - see http://cvs.apache.org/viewcvs.cgi/*checkout*/ws-axis/java/samples/ejb/ant-build.xml for an example. -- dims --- Yakulis, Ross (Ross) [EMAIL PROTECTED] wrote: With axis 1.1 I was able to use Java2WSDL and WSDL2Java to generate a web service

persistent web service

2004-04-14 Thread Marcia Perry (DSD staff)
Hi, I'm wondering if a w.s deployed under Axis (and running in Tomcat) can have persistence such that it can receive event notifications asynchronously over a fairly long period of time. For ex., suppose I want to this: public String foo() { while

RE: Java2WSDL and WSDL2Java 1.1- 1.2

2004-04-14 Thread Yakulis, Ross (Ross)
How is the information passed to the Emitter class? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:58 AM To: [EMAIL PROTECTED] Subject: Re: Java2WSDL and WSDL2Java 1.1- 1.2 You can use the ant task to specify these - see

Re: Need suggestions on web service interop and design

2004-04-14 Thread James Black
Nelson Minar wrote: Yeah, a little too involved. Shouldn't this be easier? No specific criticism of Axis intended. I'm just amazed at how much effort I'm going through to pass arrays of numbers around. Just create an array of ints and pass that, and no problem. The client or server will

java.lang.VerifyError ..

2004-04-14 Thread Xavier . Fabre
Has anyone experienced the following error ? 18:35:34,637 WARN [jbossweb] WARNING: Error for /ipcmssoap/services java.lang.VerifyError: (class: org/apache/axis/server/AxisServer, method: getClientEngine signature: ()Lorg/apache/axis/AxisEngine;) Bad type in putfield/putstatic at

RE: Need suggestions on web service interop and design

2004-04-14 Thread David Thielen
Your link is really helpful - and where I was thinking we were heading. That said, any place that can help a newbie through the hand generation of the wsdl file? There is a ton of samples in axis but I can't find one that shows the document/literal case. However I do have 1.1, not 1.2. (I'd

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anderson Jonathan
Between you, me, and Axis User :) - amidst my searching to grasp the SOAP based SOA big picture, I'm starting to feel as if SOAP support is just being bolted onto the J2EE stack. JAX-RPC, SAAJ, JAXM, JAXR, yadda, yadda. The fact that it's hard to quantify exactly what Axis is (saying that it is

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anderson Jonathan
David, Do these help? :) It's a stupid doc/literal WSDL I threw together for testing. Note the hard coded absolute schemaLocation paths in the WSDL and XSD imports - you'll have to change them to feed them into Axis WSDL2Java. If you have XMLSpy, you can verify that all is well when you open

Re: Need suggestions on web service interop and design

2004-04-14 Thread Sanjiva Weerawarana
+1 .. this is a serious issue for the Java world to do something about. Sanjiva. Anderson Jonathan wrote: Between you, me, and Axis User :) - amidst my searching to grasp the SOAP based SOA big picture, I'm starting to feel as if SOAP support is just being bolted onto the J2EE stack. JAX-RPC,

RE: Need suggestions on web service interop and design

2004-04-14 Thread Paul . Krasucki
Jonathan, Good effort! While I was able to create simple doc/literal service which works with .NET (in this case InfoPath), the stumbling block is having arrays of simple types as return types. If you could extend your example to handle return types as e.g. string arrays that would be REALLY

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anderson Jonathan
Paul, Sounds like you might be hung up on W3C XML schema. Why not just do something like this? complexType name=BooksType sequence minOccurs=1 maxOccurs=unbounded element name=Book type=string/ /sequence /complexType element name=Books type=tns:BooksType/ That way, you could have XML

RE: Need suggestions on web service interop and design

2004-04-14 Thread Yakulis, Ross (Ross)
It can be eaiser. Download the Systinet developer tools for eclipse. Given the .java file it generated a doc/literal wsdl. Ross -Original Message- From: Nelson Minar [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:30 AM To: [EMAIL PROTECTED] Subject: RE: Need suggestions on

Re: How To Use TCPMonitor?

2004-04-14 Thread Rick Umali
On Wed, Apr 14, 2004 Sharon Zhao asked: Thank you very much for the help. We are using the HTTPS for connecting to the server port. Does TCPMon:port 2080 still work? If not, which port number should I use? I think the key is that you have to modify your client software to point to a different

Re: Beginners help

2004-04-14 Thread Aleksander Slominski
hi, you did not WSDL file but i would guess that binding is referencing incorrect (namespace) port type. if you use WSDL4J make sure that |*isUndefined http://www.cs.indiana.edu/%7Eyinjin/web-services/wsdlapi/javax/wsdl/PortType.html#isUndefined%28%29*()| is not true ... HTH, alek Mark

Axis 1.2 supports doc/lit better, they say

2004-04-14 Thread Barzilai Spinak
Everyone is saying that Axis 1.2 supports doc/li better. Anybody can tell me in which ways, especifically? BarZ Nueva forma de conectarse a internet en URUGUAY - Cuanto gasta hoy ? -- Tel. 0909.20.30 = Acceso 100% digital 56K! Promocion lanzamiento: $0,10 mas IVA el

RE: Axis 1.2 supports doc/lit better, they say

2004-04-14 Thread Anderson Jonathan
There are a number of doc/lit showstopper bugs in Axis 1.1 - the ones I encountered were in the WSDL2Java emitter, I believe. Check out JIRA, the Apache bug tracking tool. Go here: http://nagoya.apache.org/jira/secure/Dashboard.jspa Then click on Axis, then click on Find Issues. In the Text

RE: Need suggestions on web service interop and design

2004-04-14 Thread Yakulis, Ross (Ross)
Note, that while Axis cannot currently generate this wsdl file, the WSDL2Java in Axis will consume the wsdl. This seems more painless that the other documented process. Ross -Original Message- From: Yakulis, Ross (Ross) Sent: Wednesday, April 14, 2004 1:43 PM To: [EMAIL PROTECTED]

axis wsdl2java newbie

2004-04-14 Thread Pyatt, Adam
For the life of me, I cannot get the binding Stub file created, to compile for this wsdl. I am fairly new with developing web services, but I have got this wsdl to work with Glues wsdl2java tool. One of the clients trying to use this wsdl is running cold fusion mx, which uses Axis.

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anderson Jonathan
You are touching on an interesting and deep running debate, my friend. In order to build a SOAP service, should you be modeling the data types that you wish to exchange (the message payloads) in your native object oriented programming language (Java, C#, etc) or in your XML schema? Modeling the

RE: Need suggestions on web service interop and design

2004-04-14 Thread Joe_Rattz
Now, the task doing schemas first, makes sense..That way you won't get tempted to expose platform specific stuff..Great. Yeah, that's what I thought...wrong! Boy, I don't mean to complain (here it comes), but the folks developing web services have somehow missed the boat! Ok, you say that you

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-14 Thread Liu, Scott
Thanks, Anne. Does this imply that if I use Axis doc/literal web services framework it would be safe to assume the system memory is checked but in Axis messaging framework the system memory may not be optimized? Scott -Original Message- From: Anne Thomas Manes

java2wsdl ant task ignores its classpath tag

2004-04-14 Thread Rob Jellinghaus
I am trying to get started with java2wsdl. I am working with the EJB sample in the latest Axis nightly CVS (the first 20040414 one). As delivered, ws-axis/java/samples/ejb/ant-build.xml cannot actually run the java2wsdl targets. The README in that directory says to specify a classpath which

RE: Axis 1.2 supports doc/lit better, they say

2004-04-14 Thread Nelson Minar
The main thing I noticed first was that the document/literal WSDL generated by the Axis server was no longer insane. In particular, it wasn't trying to do section 5 SOAP encoding for arrays anymore.

RE: java2wsdl ant task ignores its classpath tag

2004-04-14 Thread Rob Jellinghaus
its classpath tag I am trying to get started with java2wsdl. I am working with the EJB sample in the latest Axis nightly CVS (the first 20040414 one). As delivered, ws-axis/java/samples/ejb/ant-build.xml cannot actually run the java2wsdl targets. The README in that directory says to specify

RE: Need suggestions on web service interop and design

2004-04-14 Thread Yakulis, Ross (Ross)
I understand the there are language specific types and so on, but given a single environment I should be able to take a java source file and perform Java2WSDL then WSDL2Java and have a service that works. This is currently not true for Axis if you stray from RPC/Encoded. Also, if I am careful

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-14 Thread Anne Thomas Manes
When using the RPC provider (RPC, Wrapped, or Document style), Axis uses SAX to parse the message and convert the XML to Java objects. When using the MSG provider (Message style), Axis converts the message into a DOM. From: Liu, Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-14 Thread Anne Thomas Manes
When using the RPC provider (RPC, Wrapped, or Document style), Axis uses SAX to parse the message and convert the XML to Java objects. When using the MSG provider (Message style), Axis converts the message into a DOM. From: Liu, Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-14 Thread Liu, Scott
Thanks, Anne, for the clarification. Scott -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 3:30 PM To: [EMAIL PROTECTED] Subject: RE: Is Axis creating a DOM object and hence it may cause memory issue? When using

More than one operation causes java.lang.reflect.InvocationTargetException

2004-04-14 Thread Joe_Rattz
I am running axis 1.2 alpha and am trying to convert a web service from rpc/encoded that worked fine in axis 1.1 to doc/literal. It didn't work in Axis 1.1 and since I saw 1.2 had additional support for doc/literal, I decided to try it...but without luck. I have simplified my WSDL down to

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anne Thomas Manes
I see you've discovered the impedance mismatch between language types and XML types. For example, Java can't subclass by restriction -- only by extension (hence Axis's conversion of your string restriction to a string extension). Here's some interesting reading:

RE: Need suggestions on web service interop and design

2004-04-14 Thread Anne Thomas Manes
I see you've discovered the impedance mismatch between language types and XML types. For example, Java can't subclass by restriction -- only by extension (hence Axis's conversion of your string restriction to a string extension). Here's some interesting reading:

RE: Need suggestions on web service interop and design

2004-04-14 Thread Rob Jellinghaus
If you like that paper I'll go you one better: http://www.research.microsoft.com/~emeijer/Papers/oopsla.pdf Cheers! Rob -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 4:06 PM To: [EMAIL PROTECTED] Subject: RE: Need suggestions on web

RE: More than one operation causes java.lang.reflect.InvocationTargetException

2004-04-14 Thread Anne Thomas Manes
When using Document/Literal, your message definition should contain only one part, not one part per parameter. That part must reference an element definition (not a type). That element definition (defined in the types section) is a wrapper element for your parameters. It defines the literal

RE: More than one operation causes java.lang.reflect.InvocationTargetException

2004-04-14 Thread Anne Thomas Manes
When using Document/Literal, your message definition should contain only one part, not one part per parameter. That part must reference an element definition (not a type). That element definition (defined in the types section) is a wrapper element for your parameters. It defines the literal

RE: Need suggestions on web service interop and design

2004-04-14 Thread Rob Jellinghaus
You are advocating an approach that builds Java language specific types first and generating WSDL + Schema from them, using a SOAP platform specific WSDL emitter. Not everyone is sold on this approach, given that the different SOAP platforms on the market right now all have a) differing levels of

Question

2004-04-14 Thread samir_chouthai
Hi, I have a question. I have 3 webservices - A, B and C.webservice C has an operation, called "someOperation". webservices A and B act as client for webservice C and invoke "someOperation". Is it possible in any way to distinguish between calls made by A and B ? Can webservice C knowwhohas

RE: Need suggestions on web service interop and design

2004-04-14 Thread Nelson Minar
What would be ideal would be a standard (hopefully JCP-defined, or perhaps W3C-defined) for converting JDK-1.5-attribute-enhanced Java classes to *standard* WSDL. What is .NET / Indigo doing for this? Is there a readable overview? They have the same problem - even more so, since .NET is

RE: Need suggestions on web service interop and design

2004-04-14 Thread Rob Jellinghaus
And even more interesting: http://lambda.weblogs.com/discuss/msgReader$6642 ok, that's all. Thanks for your patience, Rob -Original Message- From: Rob Jellinghaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 4:14 PM To: [EMAIL PROTECTED] Subject: RE: Need suggestions on

RE: Need suggestions on web service interop and design

2004-04-14 Thread David Thielen
Hi; What happens if you come from the .net side? We have to make some java code a web service that both .net and java can hit. But what if I create a C# class that models the interface. Then use .net to create the WSDL? Then use that WSDL to create the java server and client code?

RE: Need suggestions on web service interop and design

2004-04-14 Thread Yakulis, Ross (Ross)
I have made that work with Axis 1.1 where the servce side was created using .net and that wsdl was used to create the Axis and Systinet Java clients. As I remember it was not completely straight forward but ended up working. You needed to use basic types int, string, boolean and arrays of

util for viewing required SOAP request!!

2004-04-14 Thread Krishnendu Kunti
Hi Guys If axis has support for viewing a sample soap request for any deployed web service then at the client side the request body can be created (a document style WS client). Does axis (for that any WS platform) incorporate the feature to view the exact required SOAP request for a

Re: util for viewing required SOAP request!!

2004-04-14 Thread Mark Ericson
Krish, You might try SOAPscope's 'invoke' feature. It consumes a WSDL and generates a SOAP request by simply filling in a form. You can try it on www.xmethods.net by clicking the 'try it' link on any registered WSDL. You can also download a free copy of SOAPscope from the Mindreef site. -

RE: Need suggestions on web service interop and design

2004-04-14 Thread Davanum Srinivas
Have you created a JIRA bug report? (make sure u try Axis 1.2 Beta first) -- dims --- [EMAIL PROTECTED] wrote: Now, the task doing schemas first, makes sense..That way you won't get tempted to expose platform specific stuff..Great. Yeah, that's what I thought...wrong! Boy, I don't mean to

Axis / FUD / Bugs

2004-04-14 Thread Davanum Srinivas
rant Every now and then, for example today, i heard from someone that OH This is a well known axis bug. So check the archives for dev and user and bugzilla. No sign of anything amiss and no trace of the person / persons in any email discussion or bug report. This makes me hit my head against