Axis and BEA Weblogic 8.1

2004-09-28 Thread Wei Hsu
Hi all,   Has anyone tried deploying AXIS in BEA Weblogic 8.1?  While AXIS works perfectly fine for me in Weblogic 7.0, my AxisServlet and AdminServlet fail to preload on startup for some reason in 8.1.  I've tried using 1.2 beta and 1.2 beta3, and the same ServletException takes place du

best practices for versioning of soap faults?

2004-09-13 Thread Wei Hsu
Hi all,   I'm curious as to what ya'll think is the best solution for versioning the sop faults returned from the server back to the client.  Is there any "best practices" available for this?  I currently version my wsdl's using namespace naming, and so I plan on doing the same with soap

IncompatibleClassChangeError

2004-09-09 Thread Wei Hsu
Hi all,   I'm trying to upgrade from 1.2beta to the more current versions.  But whenever I try to deploy using the AdminClient, I keep getting a java.lang.IncompatibleClasChangeError.  I've tried using beta2, beta3, and cvs version from today - same error.  I also tried making sure that t

Turning off stacktrace for SOAP Fault

2004-09-02 Thread Wei Hsu
Hi all,   I am currently using Axis 1.2 beta to expose a service.  I am having problem getting axis to not send the stack trace back to the client.  I tried setting the globalConfiguration by adding  , but it's still not working.  Do I need to do anything else?  Are there any other approa

RE: Adding SOAP header to SOAP Faults

2004-08-20 Thread Wei Hsu
be a separate fault chain declaration to clearly delineate between request flow logic and exception handling logic.  But this will suffice.   Wei   -Original Message- From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 12:37 PM To: '[EMAIL PROTECTED]' Subject:

RE: Adding SOAP header to SOAP Faults

2004-08-20 Thread Wei Hsu
Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 11:50 AM To: [EMAIL PROTECTED] Subject: RE: Adding SOAP header to SOAP Faults   Sounds like we need a fault response chain.   From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 1:47 PM To: [

Adding SOAP header to SOAP Faults

2004-08-20 Thread Wei Hsu
Hi all,   I'm trying to add a customized SOAP Header to all responses returned from the server to the client.  So far I'm doing this with a handler registered in the response flow.  This works fine for normal responses, but not for SOAP faults.  Please correct me if I'm wrong, but I don't

Declaring Arrays in Doc/Lit Wrapped Style

2004-08-19 Thread Wei Hsu
Hi all,   I have a question about the XML declaration for an array in doc/lit wrapped style.  For a server side method with the following signature:   String test(String[] value)   I had been representing it with the following element:                  This allows

Threadding with Axis Serializer/Deserializer

2004-08-14 Thread Wei Hsu
Hi all,   I know that you can currently configure both the Service and the Handler so that they can be singleton's or created per access.  I was wondering whether that is the case for the serializers also?  Do you need to write thread-safe code, or are new instances created during each ma

why use wsdd's operation element

2004-08-11 Thread Wei Hsu
Hi all,   The Reference Guide makes note of the following under the "Deployment (WSDD) Reference" section:   Also, it is worth mentioning that the operation element is used to further define the methods being offered, but it does not affect which methods are made available.   So m

Fault Processing infrastructure in AXIS

2004-08-03 Thread Wei Hsu
Hi all,   I am building a Wrapped service using AXIS 1.2 beta.  I was wondering if there was any way for me to centrally process the AxisFault/Exceptions generated by AXIS before they are marshaled back to client applications.  For instance, I know that when a handler currently throws an

Typemapping question

2004-07-26 Thread Wei Hsu
Hi all,   I am currently developing a doc/lit wrapped service using AXIS 1.2 Beta.  I found an unusual behavior for AXIS when I tried to declare Service scoped Typemapping, and so I'm trying to figure out whether this is the intended behavior, a known bug, or a new bug that needs to be fi

RE: BeanSerializer and xml attributes

2004-06-28 Thread Wei Hsu
MAIL PROTECTED] Sent: Monday, June 28, 2004 1:01 PM To: [EMAIL PROTECTED] Subject: RE: BeanSerializer and xml attributes   Per the definition of "wrapped" in JAX-RPC (and in the way .NET works), wrapped does not support attributes - only a sequence of elements.   From: We

BeanSerializer and xml attributes

2004-06-28 Thread Wei Hsu
Hi all,   I was wondering if anyone knows whether axis's BeanSerializer actually supports xml attributes.  Currently when I try to send a doc/lit wrapped message with the following xml element:         a     2     The BeanSerializer always ignores the attribute "propStr2" and

Best practice for resolving overloaded method names for Doc/Lit W rapped

2004-06-24 Thread Wei Hsu
Hi all,   I am in the process of exposing an existing service as a Doc/Lit Wrapped Service.  I know that Doc/Lit Wrapped does not support method name overloading, so i am left with the task of trying to resolve it for my services.  I was just wondering if there was any industry-standard '

RE: Exposing an EJB as a doc-literal web service

2004-06-15 Thread Wei Hsu
- From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 6:30 PM To: '[EMAIL PROTECTED]' Subject: RE: Exposing an EJB as a doc-literal web service     Wrapped style imposes a lot of restrictions on the schema structure of your message: no attributes, only sequences (n

RE: Exposing an EJB as a doc-literal web service

2004-06-15 Thread Wei Hsu
to test the service. What happens is the EJB on >>the >>server only get the value for param1, but param2 is null. On the client >>side >> >>I checked that the Axis generated SoapBindingStub which >>actually invoked the call using org.apache.axis.client.Call in

RE: Exposing an EJB as a doc-literal web service

2004-06-07 Thread Wei Hsu
Title: RE: Exposing an EJB as a doc-literal web service Actually, the build-in Axis EJB Provider can expose the EJB as a doc-literal web service.  In the simplest case, all you have to do is change one line in your deploy.wsdd: From to If you want to use straight up doc-lit and no

SOAP Response message exchange pattern

2004-06-07 Thread Wei Hsu
Hi all,   I am trying to see if I can make AXIS take advantage of web caching, which only works with HTTP GET.  To my knowledge, regular AXIS invocations all require HTTP POST, since it uses the SOAP Request-Response Pattern.  So I was wondering if AXIS supported the SOAP Response Message

namespace question for doc/lit wrapped

2004-05-18 Thread Wei Hsu
Hi all,   I'm running into a namespace issue when I try to use doc/lit wrapped on AXIS 1.2 beta.  I just wanted to confirm if this is a bug or if I'm doing something wrong.    My java signature is as follows:   SalesOrderID createSalesOrder3(SalesOrderID soid)   I have declared a t

"No such operation" error when using doc/lit wrapped

2004-05-10 Thread Wei Hsu
Hi all,   I am trying to deploy a doc/lit wrapped service using AXIS 1.2 beta.  However when I try to invoke the method using the stubs generated by wsdl2java, AXIS keeps throwing "No such operation" exception.  What exactly needs to be done on both the client and the server side for AXIS

namespace question

2004-04-28 Thread Wei Hsu
Hi all,   I have a question on how namespaces are assigned when running AXIS's WSDL2Java tool on the WSDL.  I seem to have come across an inconsistency, and I was hoping maybe some of you can clear this up for me.    So since I am trying to create a doc/literal wrapped service, I reali

AXIS Interoperability with WebMethods GLUE

2004-04-23 Thread Wei Hsu
Hi all,   I was wondering if anyone here has had any problem integrating a webMethods GLUE client with an AXIS server.  That's what I'm currently looking to do, so I was hoping I can take some steps to avoid any well known interoperability issues (if they exist).  I'll gladly accept "they

DuplicateFileException using AXIS_1.2Beta's WSDL2Java

2004-04-19 Thread Wei Hsu
Hi all,   I've been using AXIS 1.1's WSDL2Java for about a month without any problem.  But when I try to run the same WSDL using WSDL2Java from 1.2 Beta, it throws the DuplicateFileException error on me where it claims I "may have mapped two namespaces with elements of the same name to th

RE: problem using WSDL2Java on RPC/Literal

2004-04-16 Thread Wei Hsu
he correct thing. Try adding elementFormDefault="qualified" to your schema. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Wei Hsu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 14, 2004 3:11 AM To: [EMAIL PROTECTED] Subject: problem using WSDL2Ja

RE: Axis' built-in Providers

2004-04-13 Thread Wei Hsu
Title: RE: Axis' built-in Providers Thanks a lot for clarifying that.  That's what I had assumed, but I just wanted to make sure. Any idea how we can get this information into the user-guide or the reference guide?  Is there a standard process?  It seems like it would benefit a lot of people

Axis' built-in Providers

2004-04-13 Thread Wei Hsu
Hi people,   I am interested in developing services using doc/literal, but I am slightly confused by what I need to do exactly in AXIS.  In the user-guide, it mentions how the document or wrapped style is indicated in the WSDD by   for document style for wrapped style   However, it

RE: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Wei Hsu
ou need rpc semantics on the server-side, you can take a look at Axis' "wrapped" style (which is still doc-literal in the WebServices world). - Junaid            Wei Hsu  

problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Wei Hsu
Hi all,   I've been trying to run WSDL2Java on my RPC/Literal WSDL, but I keep running into a seemingly simple problem.  In the WSDL, I've created a createSalesOrderRequest message as the following:         Here, assume n1 belongs to namespace my.example.com and the namespac

Integrating JAXB with Axis

2004-03-22 Thread Wei Hsu
Hi all,   Going through the mail archive, it seems like Axis isn't quite ready to be integrated with JAXB.  But I wasn't very clear on what specific difficulties there were when trying to integrate the data binding power of JAXB with the web service capabilities of AXIS.  Can someone with

Value of integrating Castor with Axis

2004-03-22 Thread Wei Hsu
Hi all,   I have been using exclusively AXIS' WSDL2Java for data binding.  I recently came upon the article "Create Web service using Apache Axis and Castor" (http://www-106.ibm.com/developerworks/webservices/library/ws-castor/) which talked about decoupling the data binding process from

compliance with jax-rpc and saaj for axis 1.1

2004-03-18 Thread Wei Hsu
Hi all,   I was looking at the release notes for Apache Axis, and they are currently listed for Axis 1.2.  I was just wondering whether 1.1 is also 100% compliant with jax-rpc and saaj. Thanks.   -Wei

axis support for soap attachments in doc/literal

2004-03-17 Thread Wei Hsu
Hi all,   Has anyone here had any experience working with attachments for a document literal service in AXIS?  Also, how does SOAP with attachment for AXIS stack up with attachment support in Apache SOAP?  Really appreciate any insights you can give.  Thanks!   Wei

RE: Doc/Literal support in axis

2004-03-16 Thread Wei Hsu
Title: RE: Doc/Literal support in axis That was very helpful.  Thanks a lot Jon! -Wei -Original Message- From: Anderson Jonathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 16, 2004 8:15 AM To: [EMAIL PROTECTED] Subject: RE: Doc/Literal support in axis Hey gang,     Tim

Doc/Literal support in axis

2004-03-11 Thread Wei Hsu
Hi all,   I am currently in the process of modifying a RPC/Encoded web service to use RPC/Literal instead.  But while reading about interoperability issues, I realized that .NET among others does not support RPC/Literal, so I am looking to use doc/literal instead.  But I keep reading abou

RE: generating stubs with wsdl2java

2004-03-08 Thread Wei Hsu
:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 9:56 AM To: [EMAIL PROTECTED] Subject: RE: generating stubs with wsdl2java   Try using document / literal instead of RPC / literal (if it is OK to use document / literal)   HTH -Original Message- From: Wei Hsu [mailto

generating stubs with wsdl2java

2004-03-05 Thread Wei Hsu
Hi all,   I am trying to run wsdl2java on a RPC/Literal wsdl file to generate client side stubs.  But no matter what I do, I can't seem to get the namespace for the binding stub to be generated correctly.  My question is, how do I modify the wsdl file so that the generated stub would incl

wsdl2java

2004-03-03 Thread Wei Hsu
eally appreciate any assistance!   Wei Hsu

wsdl2java and namespace

2004-03-03 Thread Wei Hsu
hrough modifying the stubs or wsdl/schema.   Secondly, is there any way to add namespace declaration to an element in the SOAP calls?  For instance, I want to add xmlns:big="big" to createSalesOrder so that when I make the SOAP call, it would show .    Thanks for any help in advance!   Wei Hsu

wsdl2java and multiref

2004-03-01 Thread Wei Hsu
o use multiRef within the soap body, which is causing some problems for me. Is there anyway to turn off that round-about referencing?   All help greatly appreciated. Thanks!   Wei Hsu