Re: Document root element is missing

2005-07-19 Thread Kumar
Hi Venkat & All, If I dont register any response handler then I am getting below AxisFault from the service : [java] org.xml.sax.SAXParseException: Unexpected end of file after null [java] at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) [java] at org.apache.axis.SOAPPart.

Re: Problems with enabling the SOAPMonitor and TCPMonitor!

2005-07-19 Thread Kumar
Hi Guys, Are you able to successfully use TCPMonitor or the SOAPMonitor to monitor remote web service ? - Kumar.

Re: Axis 1.2.1 to .NET Interoperability Question

2005-07-19 Thread Anne Thomas Manes
Leslie, One recommendation: Don't try to expose a Vector (or any other collection type) through your interface. Convert your Vector into an array, and it will work a lot better. .NET will have a problem dealing with all the ArrayOf_xsd_anyType types you have. Axis automatically generates a bunch

Re: Resolve problem with digital handshake

2005-07-19 Thread Paul Thomas
Found the solution: You must put the following line before you invoke the call: System.setProperty("axis.socketSecureFactory", "org.apache.axis.components.net.SunFakeTrustSocketFactory"); Paul Hi there, I am trying to connect to an endpoint which is https and I get the following error: Axis

Dynamic ServiceLocator

2005-07-19 Thread Mathieu Larchet
Hello, I'am using wsdl2java to generate client classes for my service. wsdl2java generate a ServiceLocator.java class which contains direct references to my service endpoint (something like http://server.mydomain.com/axis/MyService). I want to specify in my client only the WSDL url. The service l

Re: NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-19 Thread Anne Thomas Manes
Linus, Try changing your apachesoap:Element type to xsd:anyType, and then define a mapping for anyType to a DOM Element. Anne On 7/14/05, Linus Kamb <[EMAIL PROTECTED]> wrote: > I get the exception dump below when trying to return an array of > org.w3c.dom.Elements. The XML is fine. The method

Re: Generation of properly completed WSDL2Java Skeletons????

2005-07-19 Thread Anne Thomas Manes
Abdullah, If any of your existing classes expose collection types, you'll experience interoperability issues if you try to expose them directly. In general, it's risky to try to directly expose Java classes as web services. Web services should expose only simply types, structures of simple types,

Re: .NET server, Axis 1.2.1 client, poorly formed messages

2005-07-19 Thread Anne Thomas Manes
John, The empty namespace on the child element of the SOAP Body is caused by the fact that the WSDL specifies "rpc" style in the definition, but it doesn't specify a namespace attribute in the definitions. (When using RPC style, you must specify a namespace attribute in .) I'm really astonished

Re: SOAP message 'missing' element?

2005-07-19 Thread Anne Thomas Manes
inherits its style from . If you don't specify a style, it defaults to "document". The only two valid values for WSDL style are "document" and "rpc". "wrapped" style is only used in the WSDD -- never in WSDL. >From the WSDL perspective, "wrapped" is a programming convention, not a style. In order

Re: .NET cannot handle null date or decimal values sent by Axis 1.2.1

2005-07-19 Thread Anne Thomas Manes
This is a known problem in .NET. It doesn't support nulls in a number of different types. Rather than sending a null (nillable="true") you have to simply not send the element (nillable="false" minOccurs="0"). Anne On 7/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I am trying to co

Re: [wsdl2java] java.io.IOException: Element is referenced but not defined.

2005-07-19 Thread Anne Thomas Manes
You don't have an element called "response" defined in your output schema. Anne On 7/13/05, Angelo Immediata <[EMAIL PROTECTED]> wrote: > Hi all; i have this wsdl file: > > > name="webServ" > targetNamespace="http://eng.it"; > xmlns:impl="http://eng.it"; > xmlns:intf="http://e

Re: Issue with .NET client consuming a AXIS WS

2005-07-19 Thread Anne Thomas Manes
.NET has a problem consuming soapencoding:string types. Change this: To this: Anne On 7/13/05, Gary Zhu <[EMAIL PROTECTED]> wrote: > > Hi all, > > I deployed a WS on AXIS and was able to consume it through AXIS client. > However, .NET client seems to be havi

RE: Issue with .NET client consuming a AXIS WS

2005-07-19 Thread Merten Schumann
Gary, had the same problem in the past, you could check at http://mail-archives.apache.org/mod_mbox/ws-axis-user/200503.mbox/thread s.html the thread "is it possible to change soapenc:string to xsd:string in generated WSDL?" cu Merten > -Original Message- > From: Anne Thomas Manes [ma

MTOM Support in Axis?

2005-07-19 Thread John, Anil
Title: MTOM Support in Axis? Greetings, I am curious to find out what the timeline for MTOM support is for Axis.  Especially given that Sun and Microsoft demo'd MTOM InterOp between their Web service toolkits at JavaOne recently. Regards, - Anil

Re: MTOM Support in Axis?

2005-07-19 Thread Davanum Srinivas
theres some initial code in Axis2. -- dims On 7/19/05, John, Anil <[EMAIL PROTECTED]> wrote: > > > Greetings, > > I am curious to find out what the timeline for MTOM support is for Axis. > > Especially given that Sun and Microsoft demo'd MTOM InterOp between their > Web service toolkits a

Re: MTOM Support in Axis?

2005-07-19 Thread Davanum Srinivas
Before you get too excited about that so-called "interop". see these :) - http://www.bloglines.com/blog/Thilina?id=11 - http://blogs.cocoondev.org/dims/archives/003279.html - http://blogs.cocoondev.org/dims/archives/003213.html -- dims On 7/19/05, John, Anil <[EMAIL PROTECTED]> wrote: > > > G

Re: Dynamic ServiceLocator

2005-07-19 Thread Martin Grotzke
Hi Mathieu, On Tue, 2005-07-19 at 15:39 +0200, Mathieu Larchet wrote: > Hello, > > I'am using wsdl2java to generate client classes for my service. > wsdl2java generate a ServiceLocator.java class which > contains direct references to my service endpoint (something like > http://server.mydomain.co

Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

2005-07-19 Thread richard falconer
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. Hi, I'm having trouble getting the axis server to recognize the javax.activation.jar and getting the above error when deploying my service. I want to stream

RE: MTOM Support in Axis?

2005-07-19 Thread John, Anil
>so-called "InterOp". It worked as an initial demonstration of capability. At a high level I am excited about the fact that there is now a vendor supported standard. As an implementer of technology who has to deal with the headaches of InterOp, I care very much about implementations of standards i

java.lang.NoClassDefFoundError: javax/xml/rpc/Service

2005-07-19 Thread Dipty Maybhate
Hi Everyone, I have implements a web services client using AXIS. I am trying to make a jar file with all the jars and classes needed to run the client. When I run the jar it throws the following exception C:\Program Files\Java\jdk1.5.0\bin>java -jar API.jar Exception in thread "main" java.lang.No

Weblogic and Axis 1.2 - packaging EJBs and axis

2005-07-19 Thread Krishnan Kannan
Hello all, I am new to Axis and I am trying to use it to expose the Stateless Session EJBs in our application as webservices on Weblogic 8.1sp4. So, I bundled up axis and it's libraries as "axis.war" and included this in our application "myapp.ear" and deployed it on Weblogic. Now, I can s

Re: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

2005-07-19 Thread Thorsten Jungblut
Hi, > - Unable to find required classes (javax.activation.DataHandler and > javax.mail.internet.MimeMultipart). Attachment support is disabled. Additionally to the activation.jar, you'll need the mailapi.jar from java's mail api. This library is located somewhere on suns website. Best regards

Help with externalizing soap url in wsdl

2005-07-19 Thread Mick Knutson
I currently have the soap address hard coded in my wsdl: http://pmtdev:6060/soapd"/> So I want to externalize this setting, but still run wsdl2java each build. How can I do this? What is the best practice. Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F

RE: Weblogic and Axis 1.2 - packaging EJBs and axis

2005-07-19 Thread THOMAS, JAI [AG-Contractor/1000]
If you are adding Axis as a separate webapp, try adding your util jar to its manifest file. You can also add Axis servlet to your web application as opposed to having a separate one. Jai -Original Message- From: Krishnan Kannan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 12:2

Deserialization in handler causes an exception

2005-07-19 Thread Anand Ganapathy
Hi, I am using Axis 1.2.1 Final and I am building a service using JMS transport. My messages have a soap header and body. In the header is a field that specifies which service is being invoked. I parse this header in a handler and then set the target service. For some reason, if the header is des

[Axis2] where can i find: org.apache.crimson.tree.XmlDocument

2005-07-19 Thread Nathaniel G. Auvil
Where can i find a jar with: org.apache.crimson.tree.XmlDocument? I thought Apache Crimson was replaced by Xerces a while back? That Class is used in: org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter __ Do You Yahoo!? Tired of spa

setting HTTP headers in Axis Stub

2005-07-19 Thread Robert Dietrick
I'm using a ServiceLocator to get an instance of my Stub class capable of interacting with my remote service. That is, MyServiceIF client = MyServiceServiceLocator.getMyService(serviceUrl); Then I use the client object (a subclass of org.apache.axis.client.Stub) to make calls to my service.

RE: Getting NullPointerException with Multi dim arrays

2005-07-19 Thread Swathi Kanury
The definition is valid according to soap and wsdl specifications. I saw many posts with this ArrayOfArrayOfStrings data type. But there were no solutions posted anywhere. The problem is to extract the array in the response in below format. http://www.w3.org/2001/XMLSchema-instance"; xmlns:soape

serialVersionUID?

2005-07-19 Thread Kador, Daniel
Hi, I've noticed that Axis-generated classes don't have a private static final long serialVersionUID member. This isn't an error, but Eclipse reports it with a compile warning. I've researched a little and found out that having this member is not required, but is highly recommended to ensure int

Re: serialVersionUID?

2005-07-19 Thread jeff
It's not a problem we need to worry about, Dan because XML decouples different systems. When a serialVersionUID is not provided for a class, the Java subsystem generates one based upon the class content. Hence, when the content changes, e.g. by adding a field, the auto-generated serialVersionUID c

Re: serialVersionUID?

2005-07-19 Thread Javier Gonzalez
you can tell eclipse to ignore that warning in preferences->java->compiler->Errors/Warnings->Potential Programming Problems. If you don't want to ignore, then you'll have to hit "quick fix" like crazy on your problems list :D On 7/19/05, Kador, Daniel <[EMAIL PROTECTED]> wrote: > Hi, > > I've no

Re: java.lang.NoClassDefFoundError: javax/xml/rpc/Service

2005-07-19 Thread Javier Gonzalez
You have classpath issues. You must explicitly name all the jars in your classpath declaration (having them in the same directory isn't enough) in the command line (java -classpath ...) or set the classpath env variable before running java -jar. A better idea would be to create a shell script (.ba

Log4j (and other) errors.

2005-07-19 Thread Thompson, Dave M. (IPG IT CP Arch)
Hi, Just installed axis and all sw needed to make it 'happy'. In working through the User Guide, cannot get any of the userguide samples to work. Always get 'WARN Please initialize the log4j system properly' and then some other error. Don't have a clue as to what is required; assumed that follow

Re: Log4j (and other) errors.

2005-07-19 Thread Krishnan Kannan
Hello Dave, To resolve the log4j initialization error you have to specify a configuration file for log4j. You can do that by passing in a Java property on the java command line as : java -Dlog4j.configuration=myconfig.xml my.package.name.myclass The myconfig.xml is configuration file with y

RE: Log4j (and other) errors.

2005-07-19 Thread Miller, Janet
I had the same problem and I'm trying to remember how I fixed it. I do remember having a jre installed under c:\Program Files and maybe there was a problem with directory names having spaces in them. I reinstalled my jdk in c:, rechecked my classpaths, and then it worked. I thought I had to move

Re: [Axis2] where can i find: org.apache.crimson.tree.XmlDocument

2005-07-19 Thread Davanum Srinivas
we've fixed this in latest SVN. you won't need crimson. -- dims On 7/19/05, Nathaniel G. Auvil <[EMAIL PROTECTED]> wrote: > Where can i find a jar with: org.apache.crimson.tree.XmlDocument? I thought > Apache Crimson was > replaced by Xerces a while back? > > That Class is used in: > org.apac

Re: Deserialization in handler causes an exception

2005-07-19 Thread Anne Thomas Manes
You might want to create a custom provider... On 7/19/05, Anand Ganapathy <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Axis 1.2.1 Final and I am building a > service using JMS transport. My messages have a soap > header and body. In the header is a field that > specifies which service is being

Re: NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-19 Thread Linus Kamb
This worked. Although I have to invoke the service the "old-fashioned" way, using Service and Call.invoke() as opposed to using the generated *ServiceLocator and *ServiceSoapBindingStub classes so I can set the register the type mapping. Maybe there is a way set the client side type mapping

Re: Axis 1.2.1 to .NET Interoperability Question

2005-07-19 Thread Anne Thomas Manes
One problem that I see is that your response messages all include two elements of different type with the same QName. Number 1 -- that's a really bad practice, and Number 2, I suspect .NET can't handle it. For example, you have: I suggest you change

Re: NullPointerException sending array of org.w3c.dom.Elements in 1.2.1

2005-07-19 Thread Anne Thomas Manes
You specify the client-side type mapping using a client.config file. Anne On 7/19/05, Linus Kamb <[EMAIL PROTECTED]> wrote: > > This worked. Although I have to invoke the service the "old-fashioned" way, > using Service > and Call.invoke() as opposed to using the generated *ServiceLocator and

Re: Basic SOAP Understanding Question

2005-07-19 Thread Anne Thomas Manes
Per the SOAP spec (and clarified in the WS-I Basic Profile), the SOAP processor is supposed to determine how to process an incoming request based on the "signature" of the incoming message. The "signature" is defined as the QName of the child element of the SOAP Body. The WS-I Basic Profile defines

Re: [axis] complex message element

2005-07-19 Thread Anne Thomas Manes
You must pass a JavaBean that has one member, which is a string. If you run wsdl2java on your WSDL file, it should generate this JavaBean for you. This service is defined as an unwrapped document/literal service (the input message element does not have the same name as the operation), therefore Ax

Re: operation tag

2005-07-19 Thread Anne Thomas Manes
Can you post the WSDL file? On 7/13/05, Antonio Capurso <[EMAIL PROTECTED]> wrote: > Hi to all, > I'm facing with a problem using a web service (that is a deployed Bpel > process). > > The expected input for my web service is the following: > > http://www.w3.org/..."; name="payload"> > http:

Re: passing basic data.

2005-07-19 Thread Anne Thomas Manes
Stick with Axis 1.2 until we at least have a beta release for Axis 2. On 7/13/05, vicky axis <[EMAIL PROTECTED]> wrote: > I have a set of existing web-services which take in strings as arguments and > return strings back to the client... In AXIS 2, i have come across examples > codes which accept

Re: BizTalk mulitpart Error when communicating with an Axis service

2005-07-19 Thread Anne Thomas Manes
Patrick, I haven't looked at this in detail, but I notice that the targetNamespace in your WSDL ("http://namespace.accenture.com/";) doesn't match your WSDL targetNamespace in your WSDD ("urn:ProvidentProvisioningTNS"). I have no idea if this might be causing your error in BizTalk, but who knows.

Re: Axis 1.2.1 -> .NET interop problem

2005-07-19 Thread Anne Thomas Manes
Quite possibly. What version of Axis are you using? We had a lot of bugs dealing with arrays. Anne On 7/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Anne, > > Thanks for your advice. Can you tell me what is causing the extra testArray > wrapper? It's not clear to me how Axis is

Re: xml in http response

2005-07-19 Thread Anne Thomas Manes
Convert the XML to a string and then return the string. On 7/11/05, Mayur Shetye <[EMAIL PROTECTED]> wrote: > Is there any api / api-call I can use to do the same ? > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, July 11, 2005 11:53 AM > To: axis

Re: WSS4J Password Type

2005-07-19 Thread Anne Thomas Manes
Per the OASIS WS-Security 2004 spec, the value of the "Type" field must be a URI, not a QName. This is one of the changes that occurred between older versions of WS-Security and the final OASIS standards. If you want to be spec-compliant, you must use http://docs.oasis-open.org/wss/2004/01/oasis-20

Re: Axis XML generation in requests

2005-07-19 Thread Anne Thomas Manes
Use document style and define the element types in your WSDL. (If you don't define the types, it defaults to xsd:anyType, and then Axis must specify the type in the message.) Anne On 7/11/05, John Baker <[EMAIL PROTECTED]> wrote: > Hi, > > Consider this XML fragment from an Axis client request:

Re: Axis XML generation in requests

2005-07-19 Thread Anne Thomas Manes
If you're using RPC style, then you can add this parameter to your WSDD: Anne On 7/19/05, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > Use document style and define the element types in your WSDL. > (If you don't define the types, it defaults to xsd:anyType, and then > Axis must specify the t

Axis vs. Sun incompatibility??

2005-07-19 Thread Luca Fabbri
Hello!   I am producing a web service using Sun's stack included with NetBeans 4.1, which needs to be consumed by a ColdFusion client (which uses Axis). As long as the types returned by the web service are basic, I have no problems. However if the types returned are complex, the WSDL pro

Re: Axis 1.2.1 -> .NET interop problem

2005-07-19 Thread Venkat Reddy
AFAICT, you shouldn't see the extra Array wrapper with latest Axis CVS. - venkat On 7/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Anne, > > Thanks for your advice. Can you tell me what is causing the extra testArray > wrapper? It's not clear to me how Axis is generating the ex

referring to parameters

2005-07-19 Thread vicky axis
Hi, I am able to access the parameters defined in axis2.xml value   through the axis engine config... axis.getParameter("name");     I need to refer to some parameters (say name) through my handlers for logging purpose... how am i supposed to do this, handler level parameter declaration and referra

Re: Dynamic ServiceLocator

2005-07-19 Thread Mathieu Larchet
Martin Grotzke wrote: Hi Mathieu, On Tue, 2005-07-19 at 15:39 +0200, Mathieu Larchet wrote: Hello, I'am using wsdl2java to generate client classes for my service. wsdl2java generate a ServiceLocator.java class which contains direct references to my service endpoint (something lik

Re: [Axis2]referring to parameters

2005-07-19 Thread Deepal Jayasinghe
Hi Vacky;     You can add parameters to handlers in the same way , the following code snippet will help you do that           org.apache.axis2.echo.Echo     Thanks, Deepal~Future is Open~     - Original M

Re: [Axis2]referring to parameters

2005-07-19 Thread vicky axis
Deepal , This might seem preety lenghty   Thanks for your Reply My Module.xml                 981771771                      &nb sp; 981771771                        981771771                 & nbsp