than implementing attachments and it
also gets around any interop issues as I am just passing the binary content as
a simple type (byte[]). What is the downside, if any, and are there any
'gotchas' I am going to get caught o
towards any code examples/WSDL/WSDD etc. of Axis based web services that are
using DIME attachements. I am having some trouble finding any good
documentation on how to do this.
Any help much appreciated.
/Steve
Steve Brammer | Capgemini
uld anybody
please give me a full example of how o do that ?
If there is another way of debugging my server side classes I would
really like to get to know it :)
Thanks a lot in advance.
Steve
t is fixed in any higher
release.
/Steve
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: 24 January 2005 22:20
> To: [EMAIL PROTECTED]
> Subject: Re: elementFormDefault="qualified"
>
> Steve,
>
> was there anything you
Thanks for all your help. Everything is working fine now :-)
/Steve Brammer
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient
dge of Java. Could I just enter the lines myself and
recompile if I get hold of the source?
What would you recommend? Should I try and get 1.2 RC1 working or is
there a later version of 1.1 available that I don't know about.
Thanks for your help.
/Steve Brammer
> -Original Mess
Sorry for the confusing typo in the original message.
The last paragraph should read...
What do I need to change so that the elementFormDefault="qualified" gets
into the
generated WSDL? Can I put something in the deployment descriptor (.WSDD)
file or do I
need to change something els
and this is giving me an interop issue consuming the web service in .Net.
What do I need to change so that the elementFormAttribute="qualified" gets into
the generated WSDL? Can I put something in the deployment descriptor (.WSDD)
file or do I need to change s
sdl2java"/>
http://schemas.xmlsoap.org/soap/encoding/";
qname="ns10:RequestParameterObj"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:cbir.xm.serviceObjects.RequestParameterObj"
xmlns:ns10="http://cbir/client/wsdl2java"/>
http://cbir/client/wsdl2java"/>
http://cbir/client/wsdl2java
Does anyone know what the problem could be, am I missing something
important?
Perhaps I should mention, that RequestImage is an attribute of
RequestParamterObj, if that is important at all?
It all worked fine in the beginning of writing the webservice, until I
had to pass my own type to it :(
Thanks a lot in advance.
cheers
Steve
stick with document/literal or wrapped
document/literal only.
Anne
On Fri, 17 Dec 2004 12:00:31 +0100, HG <[EMAIL PROTECTED]> wrote:
> Hi Steve
>
> As far as I remember WS-I Basic Profile suggest the .NET way of doing
it,
> meaning document-literal (wrapped) style.
> I can
.NET Web Service
Would it work if instead of making .Net RPC-style, you make Java's
doc/lit/wrapped style?
Steve Ichniowski wrote:
>I got it working, will post Java code if others desire to see it.
>
>I think the main thing was to make the .NET service an RPC-style
>service.
&g
I got it working, will post Java code if others desire to see it.
I think the main thing was to make the .NET service an RPC-style
service.
-Original Message-
From: Steve Ichniowski
Sent: Thursday, December 16, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Java Client accessing a .NET
Given this very simple .NET web service in C#, can someone get a Java
client using Apache Axis to access it? I am trying at this moment to do
so.
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.Web.Se
__
Campbell & Company, Inc.: The information in this e-mail may contain privileged/confidential information. If you are not the intended recipient, you must not read, use, copy or disseminate the information or tak
Anyone know of some up-to-date books or references on how
to access a .NET web service from a Java client that uses
Apache Axis as it’s SOAP engine?
O’Reilly’s Java and SOAP (2002) has a small
section on it, but it is very small
and the book says Axis was very new at the time and that
I'd like to see it too...
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 12:17 PM
To: [EMAIL PROTECTED]; Emmanuel Boudrant
Subject: RE: Attachment
Hi,
I've got a working example. If you would like me to email it to you,
let me know.
Tami
o:[EMAIL PROTECTED]
Sent: Friday, September 24, 2004 4:10 AM
To: [EMAIL PROTECTED]
Subject: Re: New Service method
Steve Carton wrote:
>I'm trying to figure out creating a client and have code which creates
a
>new Service object as follows:
>
>Service s = new Service();
>
>And t
Is there a better way to establish the service so that the time can be
reduced?
Steve Carton
This may or may not be the solution but thought I'd offer it up just in
case...
You're error message says no *trusted* certificate. Could it be that the
cacerts file for your client does not have the CA of the server as a trusted
CA.
I had a similar problem whereby my web-service was running
application within the EAR file.
Hope this makes sense.
Cheers,
Steve
From: "THOMAS, JAI [AG-Contractor/1000]" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: RE: Client SSL Authentication AR
After much head scratching I realised that the default Axis implementation
that ships with Websphere Studio Application Developer v5.1.2 is Axis v.1.0.
I replaced all the Axis 1.0 jar's with the v1.1 and hey presto, works like a
charm. :-)
___
Hi All,
This is driving me insaneI have a java web-service based on Axis running
under Websphere v4 and IBM HTTP Server (aka Apache).
I have configured SSL on the web server and this works fine. I now want to
go one step further and configure the web-server for client certification
based a
You must call
setReturnType() if you have called addParameter().
I also tried setting the return type to AXIS_VOID, and to null and
setting the return class to Void.Type. I get different errors, but none
of these work. How am I supposed to be doing this?
Steve
Yes, you are right. I'm using rpc/encoding. I'll have to keep the doc/lit
stuff in mind. For now, rpc does the job for me
Steve
- Original Message -
From: "Anand Natrajan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 200
It works for me in Axis 1.1 with Tomcat 5
Steve
.
- Original Message -
From: "Charles Roy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 1:55 PM
Subject: WSDL2Java overloading functions
> Hi,
>
> Is it possible to overloa
m "HTTPSender".
I've looked at the code, and it appears that it
will only tack on the name/password if it is already attached to the SOAP
header or encoded in the URL. As a test, I've hard-coded the name/password
in the client code, via call.setUsername() and call.setPassword
ow. Maybe someone can help shed some light on this for me?
Thanks for any help.
Steve
I am using the 1.1 release for tenative
release to customer this week ... then we are anxious to begin testing
with 1.2 :)
-- Steve
Davanum Srinivas <[EMAIL PROTECTED]> wrote on
07/19/2004 11:23:41 AM:
> are u using 1.2 beta2?
>
> --dims
>
>
> - Original Mes
Are there any settings or other tuning
measures one can employ with Axis?
ie "Production" flag or thread
pool settings or the like in server-config.wsdd ???
I have a server that gets beat pretty
bad once a second client starts to access.
-- Steve
The following Axis error crashes the
WebLogic Server - it happens when I break out of an Axis generated client
37529 ERROR [ExecuteThread: '13' for
queue: 'weblogic.kernel.Default'] org.apache.axis.Message - java.io.IOException:
java.net.SocketException: Broken pipe
at java.net.SocketOut
sage "Broken
Pipe" - I've tried to see if there are any close() type APIs I should
call for the SOAP Binding class generated via Axis but there is no such
API in the event the server equivalent is not cleaning up properly.
Suggestions? Ideas?
-- Steve
Note the following on WebLogic generates an error
when I execute Axis client code vs. no errors when I execute command directly
via browser - ideas? suggestions?
--
On WebLogic I have a service MACCWS that I execute
a getVersion() call via
You can include the axis jar files in your application and add the sections
from the axis web.xml file to enable the bindings for the AxisServlet.
Then axis will have access to the classes deployed in your webapp.
Steve
> -Original Message-
> From: Keith Tingle [mailto:[EMAIL PRO
Axis continues to have difficulties
handling some custom bean based class / types that I have - I have added
typeMapping (beanMapping) for these - but I get problems once I've entered
the second one.
IS "someNamespace" & supposed
to be specified for every entry or is that replaced for each one wi
ava]
at org.apache.axis.client.Call.invoke(Call.java:2171)
[java]
at org.apache.axis.client.Call.invoke(Call.java:1691)
-- Steve
"Gustavo De Simone" <[EMAIL PROTECTED]>
wrote on 07/05/2004 12:19:53 PM:
> Hi,
> When you need to use complex objects (bean objects)
i
eMACCBean.jar,
ejb=RuntimeMACCEJB, method=create, methodInterface=Home, signature={}.faultstring>
Please advise how to circumvent this problem
Thanks,
Steve
,
-- Steve
Davanum Srinivas <[EMAIL PROTECTED]> wrote on
06/16/2004 05:27:39 AM:
> org.apache.axis.utils.Admin
>
> On Wed, 16 Jun 2004 13:08:19 +0200, Donnerstag, Juergen
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > is it possible to generat
able
to install my service (via .wsdd file) and access it correctly.
I never see a server-config.xml or web.xml
file be created nor do I see where BEA actually creates a copy of the runtime
image for Axis.
Thanks for any help which can be provided.
-- Steve
: [despammed] Re: Why can't I modify a SOAP message?
Are you sure you have no exception raised ? Because the exception
cathing block uses "System.out.println" instead of "log", perhaps you
didn't take a look at your servlet's console or it's corresponding file...
Stev
I have a simple servlet which reads in a soap message, parses the
XML payload and attempts to add a single element to the existing
(soap message just read in)soap message. I receive the soap message
(from client) and display the elements to log file - no problem.
However, when I add an element to
SOAPelem.getAsDOM();
The DOM response is Element elemResp.
The attachments received from the server are DataHandler[] dhTab[].
-Message d'origine-
De : Steve Pruitt [mailto:[EMAIL PROTECTED]
Envoyé : lundi 9 février 2004 17:00
À : [EMAIL PROTECTED]
Objet : JAX-RPC with attachments ques
I have a simple servlet which reads in a soap message, parses the
XML payload and attempts to add a single element to the existing
(soap message just read in)soap message. I receive the soap message
(from client) and display the elements to log file - no problem.
However, when I add an element to t
.class);
I am not sure how to qualify my return type.
Also, after looking at other example code, do I need:
call.addParameter(..);
Not sure how to define this for Element.
-Steve Pruitt
When I generate a wsdl using Axis's http://localhost:8080/axis/services/Component?wsdl
query parm, I get a truncated wsdl. I am missing the abstract parts and operations.
If I use java2wsdl, the complete WSDL is generated. Has anyone seen this problem
before?
http://schemas.xmlsoap.o
I
think I understand. Are the both strings returned as attachments? If
so, I was hoping to return the xml as my soap body, if this is even
possible. I will look at the holders package.
Thanks,
Steve
Pruitt
-Original Message-From: Pathuru, Kiran
[mailto:[EMAIL PROTECTED
someone point me to a good example, I can't find one.
Thanks,
-Steve
Pruitt
This is
frustrating. My service sends an attachment along with some body
content. Can someone spot where I am going wrong?
Thanks much in
advance.
The code to create
the soap response is:
SOAPMessage reply = mf.createMessage(); //mf is
javax.xml.soap.MessageFactory
SOAPPart sp =
so, can I encrypt messages only one-way? That is, can
I encrypt messages *to* my service, but not *from* the
service?
Regards.
Steve Pannier
The axis documentation says it follows the xml-rpc specification for data typing
guidelines. The specifications states xsd:time and xsd:date map to java.util.Calendar.
When I try to send an soap argument like:
09:33:16
I receive:
Exception in thread "main" java.io.IOException: org.xml.sax.S
All,
I have a service with an argument declared as java.util.Date. When I use axis' wsdl
generating tool, the resulting wsdl declares the part as xsd:dateTime. Shouldn't this
be xsd:date? How do I get the right xsd type generated?
-Steve Pruitt
t was going on.
Hope it helps! LMK if it does or doesn't. If we
create enough stir over this we might get one of the
committers to commit the patch!
Cheers.
Steve Maring
--- Wolfram Ditzer <[EMAIL PROTECTED]> wrote:
> Hello
>
> I use a WSDL2Java generated Client for a webs
de in a
seperate namespace.
Cheers.
Steve Maring
--- Oliver Wulff <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Maybe, it's not mentioned if it's a bug in
> document/literal for Axis 1.1
> rc2. Probably, it didn't work at all (also for
> rpc/encoded) in rc2
l web service on top of a method like:
public void addPerson( Person person )
I'd rather not return boolean or something. I don't
want my web service layer to drive my business logic.
Many Thanks.
Steve Maring
__
Do you Yahoo!?
The New Yahoo! Shopping
ollows.
Many Thanks.
Steve Maring
http://ws.addressbook.maring.org";
xmlns:impl="http://ws.addressbook.maring.org";
xmlns:intf="http://ws.addressbook.maring.org";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:wsdlsoap="
Anyone else knowledgeable in Soap Faults have any comments on this?
Steve
> Steve,
>
> I am not knowledgeable enough to comment on whether your expectations are
too
> high or not. However, it all boils down to WSDL to a particular language
> binding and how that binding m
d not subclass from Throwable, even though
NoSuchEmployeeFault is described in wsdl:fault elements
in the WSDL.
Am I expecting too much here? Is there a better way for
me to test that my custom faults are described correctly
in my WSDL?
Is there anybody who can set this lost soul straight?
Regards.
d *all* the configuration information
shown in the samples/faults deploy.wsdd file to my
WSDD deployment file? (i.e. Do I need to define all
operation elements, even for the methods that don't
return a Soap fault?)
Any examples would be greatly appreciated.
Regards.
Steve Pannier
You could try creating a custom provider that extends RPCProvider,
then override makeNewServiceObject(). Your WSDD "handlerClass"
parameter would have a value of "your.package.YourProviderName".
I'm doing this, and it seems to work well.
Regards.
Steve Panni
Thanks Sanjay. I'll give this a try.
Steve Pannier
> AFAIK, message style service supports only a single
> operation. Since you are using message style service
> and are willing to deal with raw XML one possible
> solution would be to examine the child element of SOAP
>
;;
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
/DocStyle.wsdl
Here is the request my .NET client is generating, which results in the
above exception:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
http://DocStyle.test.com";>XYZ
Regards.
Steve Pannier
.pwc.com";
xmlns:tns1="http://dto.ws.domino.mw.us.pwc.com";
targetNamespace="http://dto.ws.domino.mw.us.pwc.com";>
...
Cheers
Steve Maring
--- Mike Perham <[EMAIL PR
ally, they complain that the
namespaces are not imported. Then you import them
with the wsdl:import and it still complains.
Gotta love management mandates!
I feel your pain man.
Cheers.
Steve Maring
--- Cory Wilkerson <[EMAIL PROTECTED]> wrote:
> Given the following WSDL document (obvi
You are outside of the scope and capabilities of the
default type mapping as defined in Chapter 4 & 5 of
the JAX-RPC spec.
You will need to plug in your own (de)serializer.
Someone recently asked the same question. Check the
archives.
Cheers.
Steve Maring
--- [EMAIL PROTECTED] w
pers for it and plug it into
the TypeMappingRegistry with your WSDD so that your
XML and JavaBeans are consistent across your web
services and J2EE enterprise.
Cheers.
Steve Maring
Christoph Gaffga <[EMAIL PROTECTED]> wrote:Hi,
I have a very simple test Bean, I want to serialize to
System
The CastorSerializer in the Axis source tree is flawed. Remove the first line of the serialize method that makes reference to serializationContext.startElement(). This will fix your problem. I'd highly recommend writing your own so that you can use your own mapping anyway.
Cheers.
I don't think I am going to dive too deep into the operation of the SerializationContext. Only when and why serialize and startElement get called. I'll probably have a draft late next week some time. I'll announce it here.
Cheers
Steve MaringArijith Roy <[EMAIL PROTECTED]&
ed by interfaces, so that alternate implementations can be plugged in. Maybe you could use interfaces instead of abstract classes?
Anyway. I just posted an example of plugging a custom serializer (Castor) into a HelloWorld service. see the recent thread on axis and castor.
Cheers.
Steve Maring
S
xmlns:ns="http://ws.maring.org" qname="ns:In0" type="java:org.maring.ws.In0" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" />
I
not find a target service to invoke!
targetService is null
faultActor:
faultNode:
faultDetail:
Any thoughts on where I should look to debug this? I'm stumped ...
Cheers
Steve Maring
_
The information transmitted is intended
ht I'd check with the group to be sure it's not
something I'm doing wrong. The generated WSDL looks fine (i.e. maintained
the lowercase "j").
Steve
PS: The class name Dude4j is an example ;)
Steve Viens
Principal Consultant
Fidelity Center for Applied Technolo
this when
only one method is identified? What if two methods are identified in the wsdd?
Thanks,
Steve
Title: Attempted to write schema for bad QName (no namespace)
Java2WSDL is throwing a "bad QName (no namespace)" exception when attempting to create document-literal WSDL. Creation of rpc-encoded works fine. I'm using Axis 1.1 final. I'm not using the Axis Ant task but rather executing the '
maring.org">
Hello World
with complaints of the form: "Invalid element in org.maring.dto.A - a"
Any thoughts would be VASTLY appriciated!
Cheers.
Steve Maring
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
WSTest.zip
Description: WSTest.zip
.
Steve Maring
"Jeyakumaran.C" <[EMAIL PROTECTED]> wrote:
hi,If i correctly pick ur prblem,then have u copied yr class file in to the web-inf/claases folder.Or else ur service may not be properly deployed.Just follow the axis samples deploy files and make sure yr deployment.regar
ed saying this in my WSDL:
but then WSDL2Java does not generate a MyMethodRequest class for some reason.
Thoughts?
Cheers.
Steve Maring
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
27;style'
attribute and a message:
Does
the above mean that, generally speaking, style="message"
and provider="java:MSG" are simply two different ways to specify the exact same
thing? If so is either one more appropriate?
Thanks.
Steve
[EMAIL PROTECTED]
--
e.SymbolTable.add(SymbolTable.java:422)
[java] at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)
[java] at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
[java] at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(
ator.next();
Operation operation = bindingOperation.getOperation();
if (!operation.isUndefined()) {
BindingInput bindingInput = bindingOperation.getBindingInput();
List extElements = bindingInput.getExtensibilityElements();
bindingInput.addExtensi
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
validat
r)
matches
> with the default mapping. But maybe that is because I don't let it add
> Castor code to my JavaBeans.
>
> Please keep us posted on your progress!
>
> Cheers.
> Steve Maring
>
>
>
>
>
>
> David Kocher
>
se keep us posted on your progress!
Cheers.
Steve Maring
Would you mind posting some of your caching code?
Steve...
>>> [EMAIL PROTECTED] 07/30/03 16:45 PM >>>
Hi,
I just wanted to share some insight we have had with some performance
testing of web services sitting on top of Axis.
Based on the initial analysis carried out the ma
BindingInput bi = bo.getBindingInput();
SOAPHeader sh
= (SOAPHeader)extReg.createExtension(BindingInput.class,
new QName("soap", "header"));
}
Any WSDL4J experts out there that can help me?
Regards.
Steve Pannier
t any rate, given that our soap headers are simple strings,
would I still need to add info to the section?
(I will probably start another thread for my WSDL4J questions,
so they don't get lost in this thread.)
Steve Pannier
> Steve,
>
> You said initially that you want your authentica
Input =
bindingOperation.getBindingInput();
SOAPHeader soapHeader =
(SOAPHeader)extReg.createExtension(BindingInput.class,
new QName("soap", "header"));
}
}
Any other ideas as to how to attack my problem? Or are
there any WSDL4J experts out there that can help me
ng
about Soap Header support.
Regards.
Steve Pannier
- Original Message -
Yes.
- define the element in the section.
- define an additional in your input message and reference the
authentication element.
- add a element to the element in the and
reference the header message part
mcat-4.1.24\c
ommon\lib\soap.jar org.apache.axis.client.AdminClient deploy.wsdd
The last entry in my class path is the soap.jar. The class should be found in it.
-Steve Pruitt
No, it's not. Navigate to the exact directory path in your classpath
and you'll find you are
e soap.jar. The class should be found in it.
-Steve Pruitt
No, it's not. Navigate to the exact directory path in your classpath
and you'll find you are missing the WEB-INF dir.
-Original Message-
From: Steve Pruitt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003
axis.jar;C:\jakarta-tomcat-4.1.24\
webapps\axis\lib\commons-discovery.jar;C:\jakarta-tomcat-4.1.24\webapps\axis\lib\commons-l
ogging.jar;C:\jakarta-tomcat-4.1.24\webapps\axis\lib\log4j-1.2.8.jar;C:\jakarta-tomcat-4.1
.24\webapps\axis\lib\xml-apis.jar
The axis.jar is in the directory, so I am miffed
Hmm. Well, I'd recommend starting with the following:
SOAP specs
WSDL specs
JAX-RPC spec
These documents will answer about 90% of the questions about web services
that you will ever have. The other 10% will come from the Apache Axis
documentation and this list.
Good luck.
WSDL could be redesigned to have configurable handlers or something.
Davanum?
Steve Maring
&quo
that will make your classes implement java.io.Serializable. Our data
architects are not too thrilled with implementation specific namespaces
being placed in their XML schemas.
Steve Maring
a default mapping.
I've seldom gotten away with not having to write a mapping file with Castor
so you may have to write your own serializer. I'm writing one right now
that just looks for a file named "mapping.xml" in the c
Anyone know which Apache project the class
'org.apache.axis.components.bridge.COMBridge' is from? It's being used in
the following class:
org.apache.axis.providers.ComProvider
Steve
Axis is an implementation of JAX-RPC, so the JAX-RPC specification is where
you will learn about how this type mapping is to take place. I seem to
recall that the underscore prefix had something to do with not explicitly
defining a name for a complexType, but I could be wrong.
Steve Maring
through the WSDL2Java. Forgive my lack of faith
for things being that simple. :)
Cheers
wever, I'd have to play with this a bit, I don't
see how one could define the Castor mapping with an XML file.
Steve Maring
D
1) unjar the Axis.jar
2) remove the log4j.properties in the root
3) jar up Axis.jar again
4) put YOUR log4j.properties in the classpath
Cheers
Steve Maring
use one type mapping
facility, and then a different one has to be used externally.
Cheers
Steve Maring
value, SerializationContext context)
Cheers
Steve Maring
_
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmi
1 - 100 of 558 matches
Mail list logo