Attn: Problems with Axis 1.3 in Oracle 10g (10.1.0.2)

2006-02-23 Thread glenn bech
I'm writing this, to make sure it gets indexed, for further reference. Problems occur when using Axis 1.3 (And possibly 1.2 versions) on the Oracle 10g platform. The problem is possibly caused by the org.apache.axis.utils.XMLUtils class, and the provided Oracle XML Library (xmlparserv2.jar). Wh

RE: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-02 Thread glenn bech
The far best article I've read so far on the topic of deciding "what style" to use is this one http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ It goes through all different combinations of style and encoding, with complete XML listings for the SOAP Messages etc. I advice

RE: Digital signatures on AXIS?

2006-02-02 Thread glenn bech
In my opinion, this is a bit more complex than just setting up Axis the right way. If you need to do such things as "This message was signed by john smith", you will need some kind of PKI infrastructure. You have to think of how you store and distribute your keys. How will 'client A' be able to

RE: could someone help me in java client to invoke webservices?

2006-02-01 Thread Glenn Bech
Public class Test {      Public static void main(String[] args) {   String wsdlURI = "http://localhost:/axis/myService.wsdl"; String nsURI = "http://schemnamespace/2004/01/22/"; String endPointURI = "http://localhost:/axis/services/Provisioning/"; String serviceName = "MyServ

RE: Using BeanSerializer in standalone applications

2006-01-31 Thread glenn bech
First of all I’m a bit curious why you want to use axis and bean serialization in a stand alone application. There are far better frameworks than Axis for converting beans to XML. For example, check out JAXB and reference implementations http://java.sun.com/webservices/jaxb/index.jsp Castor can a

RE: Large File Streaming?

2006-01-30 Thread glenn bech
Hi, I Remember having a discussion with a colleague of mine recently. I think I know what this problem is, If you check the source, that Axis uses a BufferedInputStream/BufferedReader when retrieving the message. The only problem is that the buffer is initialized to the size of the incoming messa

RE: problems in AdminClient

2006-01-30 Thread glenn bech
Hi, I cant tell you how to solve your problem, but I can tell you what the problem is .) You lack the org.w3c.dom.DOMException on your classpath when you run AdminClient. This class is not in any Axis library, but should be a part of your Java installation. Java 2 Platform, SE 1.4 contains a Ref

RE: Passing properties via MessageContext

2006-01-29 Thread Glenn Bech
from service impl's    public void init(MessageContext msgcts) {     this.msgcts = msgcts;       } http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java?view=markup   HTH,   ~Thilina     On 1/27/06, glenn be

RE: Passing properties via MessageContext

2006-01-27 Thread glenn bech
The problem is that it is impossible, to my knowledge, to access the message context from your service class. I've seen some pages on the web describing a way to include the message context in the method signature of the operation etc, but I remember thinking of it as "hacky" -) The only way I

RE: Deploying a web service

2006-01-27 Thread glenn bech
Hi, Your problem may be that the generated deploy.wsdd contains tags with That searches for mailto:[EMAIL PROTECTED] Sent: 26. januar 2006 20:55 To: axis-user@ws.apache.org Subject: RE: Deploying a web service Reading the WidgetPrice example in the Axis User Guide, it notes that

RE: (Sorry) Client side serialization of abstract types. (Was: Complex problem)

2006-01-26 Thread glenn bech
ypes. (Was: Complex problem) You need to specify the types for these two elements:     Anne On 1/25/06, glenn bech <[EMAIL PROTECTED]> wrote: (Sorry for the premature send) Following the idea outlined here http://www.xfront.com/ElementHierarchy.html I have an object hiearachy and are trying

(Sorry) Client side serialization of abstract types. (Was: Complex problem)

2006-01-25 Thread glenn bech
oups and abstract types, see: http://www.w3schools.com/schema/schema_complex_subst.asp http://www.w3.org/TR/xmlschema-0/#SubsGroups http://www.zvon.org/xxl/XMLSchemaTutorial/Output/ser_substitution_st0.html http://www.xml.com/pub/a/2000/11/29/schemas/part1.html?page=7 (page down a bit) http://www.x

RE: Complex problem

2006-01-24 Thread glenn bech
of a complexType definition. This:                                                             Should be this:                                                           Anne On 1/23/06, glenn bech <[EMAIL PROTECTED]> wrote: Hi All, This is a rather lengthy post, I hope someone will take

Complex problem

2006-01-23 Thread glenn bech
1 http://www.glennbech.com/abstractiontest/abstract/"/> As you can see, the "Create" element has a nested "ItemAttributes" element, that again nest a "CreateItemDefinition" instead of the "CreateComputerParameters" that should have been serialized. Is this setup too complex for Axis to handle? Is this setup just to compelx in general? Should I call the standards department at my customer's company and tell them to re-define the provisioning standard so it is possible to implement it ? All Advice are welcome ! Best regards, Glenn Bech

RE: multirefs

2006-01-17 Thread glenn bech
___ From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 16. januar 2006 18:25 To: axis-user@ws.apache.org Subject: Re: multirefs Multirefs are used only with RPC/encoded. Anne On 1/16/06, glenn bech <[EMAIL PROTECTED]> wrote: I have two different web services (1 & 2) and tw

multirefs

2006-01-16 Thread glenn bech
I have two different web services (1 & 2) and two different clients (A & B). When Client A or B runs against service 1, they create a request XML that looks like the one below (with "multiref's"). This is not the case when client A or B runs against service 2. In a but clueless and would really l

RE: Problem parsing/retrieving information from SOAPBody in a handler

2005-12-16 Thread glenn bech
More curious behaviour... I suspected name space problems, after doing some more googling on problems with getChildElements(). Doing some more debug logging... While working on the SOAP Message http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="

Problem parsing/retrieving information from SOAPBody in a handler

2005-12-15 Thread Glenn Bech
Hi! I really hope someone can provide some insight on this as It's been driving me crazy for a while. Short story; I can't seem to be able to retrieve the elements of a SOAPBody from my "BasicHandler". I'm writing ha handler that works on a response message from a "LOGIN" service. The task of

RE: How to change PORT for WSDL

2005-12-13 Thread glenn bech
What you mean, is that the WSDL file the client reads, before connecting to your webservice contains a link to port 8080, right? (Service Declaration in the WSDL looks aproxemately like this: http://myhost.myserver.com:8080/test"/>

Code generation problem. Strange Classname

2005-12-09 Thread glenn bech
I have a WSDL with a refenrence to an XML Schema file. This .xsd contains the following element declaration

RE: Missing xsi:type attribute on abstract element

2005-10-05 Thread glenn bech
and then use that element in your message, such as: -Original

RE: Missing xsi:type attribute on abstract element

2005-10-05 Thread glenn bech
that alleviates a lot of confusion with axis... -Original Message- From: glenn bech [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 5:05 AM To: axis-user@ws.apache.org Subject: Missing xsi:type attribute on abstract element Hi, I process the following .wsdl file with support for wrapped docu

Missing xsi:type attribute on abstract element

2005-10-05 Thread glenn bech
Hi, I process the following .wsdl file with support for wrapped document/literal off. After deployment, I write a dummy implementation of the SDI, and test my stub against the server. The *response* looks like this ; http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2

RE: Serialization of abstract classes

2005-10-04 Thread glenn bech
d and companyId attributes of some type that extends GetMODefinition? or are they attributes of GetMODefinition... from the element you originally posted, it seems that they're NOT part of the definition of GetMODefinition... some more thoughts... -Original Message- From: glenn bech

RE: Serialization of abstract classes

2005-10-04 Thread glenn bech
axis deserializing or the client creation... also see if you get the "right" xml too... just some thoughts... clint -Original Message- From: glenn bech [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 8:55 AM To: axis-user@ws.apache.org Subject: RE: Serialization of

RE: Serialization of abstract classes

2005-10-04 Thread glenn bech
g the web service with "something" or are you editing the xml by hand and passing that? I've never encountered a problem with abstract serialization... remember though that if you pass in a abstract type, axis won't be able to instantiate it because it's abstract. I

RE: Serialization of abstract classes

2005-10-04 Thread glenn bech
erything a substitution group does is 'covered' by using derived types... I'd try to serialize/deserialize something simple first... something like: I'd guess that somehow the substitution group is coming into pla

Serialization of abstract classes

2005-09-30 Thread glenn bech
Hi, I have some issues with serialization/deserialization of concrete implementation of abstract schema types. I have a schema with a concrete and an abstract element, aproxemately like this; My Concreate implementa

substitution groups

2005-09-27 Thread glenn bech
Hi All, Am I right, assuming that the support for substitution groups has not been implemented in axis? http://issues.apache.org/jira/browse/AXIS-1353) I’m watching & voting :-) Any idea if any progress is expected on this issue? How far from a complete WS-I basic profile 1.0 compliant product