I finally got the tool to generate the code. The tool needs the class
file, not the source java code to do the work.
The tool generated something like this:
http://www.w3.org/2001/XMLSchema";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:http="
Hi,
Please excuse the stupid question, I am new to WebServices
and Axis. I tried to run the client program in the user guide and get a
connection refused error.
We do not use a proxy server to access the internet so that
is not the issue. Does anyone have the ability to diagnose the
Hi all,
I am using Axis to talk to a MS SQL Server SOAP service that uses
UTF-16 as the character encoding. The service is not great as it just
returns a String of XML from the SOAP request. I then need to parse the
String into a DOM. I am using the following to parse the XML into the
DOM (whe
I tried to use the sample code in samples/userguide/examples6 to create
the wsdl file.
I added the following method in WidgetPirce.java and
WidgetPriceSoapBindImpl.java.
public interface WidgetPrice
{
public org.w3c.dom.Document getRecords(java.math.BigInteger count)
public void setWidgetPr
I think
MessageContext.getCurrentContext().getProperty("remoteaddr")
would give you the same thing.
Dave
Pathuru, Kiran wrote:
Please ignore this message as I found the solution in a message posted
earlier. The solution is as follows if anyone is interested...
HttpServletRequest req =
(HttpServ
hi
I am getting this error when trying to use
BeanDeserializerFactory,
what may be the reason
faultCode: Server.generalException
faultString: java.lang.ClassCastException:
org.apache.axis.encoding.ser.BeanDeserializerFactory
faultActor: null
faultDetail:
java.lang.ClassCastException:
org.apach
sergeant wrote:
Paul, coincidentally I've gotten the same error message and trace back
twice in the last 24 hours after I had changed an operation signature
in my WSDL. However, the core problems had nothing to do with the WSDL or
Axis.
Both times the problem occurred because a class was referencin
Hi,
I try to get the endpoint url from a deployed service, but it returns null:
Iterator i = axisServer.getConfig().getDeployedServices();
while (i.hasNext()) {
ServiceDesc sd = (ServiceDesc) i.next();
_logger.debug("EndPoint: ["+sd.getEndpointURL()+"]");
...
}
Does anyone know how y
Hi,
I am new to Web Services and want to implement a Web Service that can notify multiple
clients when certain events occur. The Client should be able to subscribe to the
events they are interested in.
Can anyone point me to any good documentation on how to do this ?
I have seen JMS being menti
Hi,
I am new to Web Services and want to implement a Web Service that can notify multiple
clients when certain events occur. The Client should be able to subscribe to the
events they are interested in.
Can anyone point me to any good documentation on how to do this ?
I have seen JMS being menti
Thanks, Chris.
Chris Haddad wrote:
Alex -
try creating a Java stub with your desired method signature, run Java2WSDL to generate a WSDL file, then WSDL2Java on the WSDL file to generate skeleton and stub classes.
/Chris
-- Original Message --
From: Alex
Hi,
I am not sure if this is the right place to post this request.
I am using Weblogic 7.0 to build a J2EE product. It has a SOAP layer to get
the requests from the clients.
The problem is in clustered environment: Requests of a sessionID is being
sent to multiple servers, because of which session
Just to be clear, I think the issue we're talking about is that Axis
is converting our applications exceptions into AxisFaults, but we don't
have as much control over the structure of this AxisFaults as we like.
For me the issue seems to be that AxisFault.makeFault() is hardwired
pretty deep in Ax
I mean I have methods that aren't getters or setters that they aren't
part of the spec of javaBeans, but I don't want to do a custom Bean only
for one or two methods. Because I have the idea that customs are when I
need to change the way an object serialize itself.
-Mensaje original-
De:
Hello Wermus,
If I understand your question correctly, you have a class that provides
both property accessors (getXXX(), setXXX()) and application logic, and
your concern is that AXIS not expose that application logic. In that case,
you don't need to do anything special, as that behaviour is prov
People,
I
can declare javabeans in a web service but they
function like a DTO. What if I want to use as a parameter a
class that have a method like “execute”. Do I have to
customize the class?
Can
I use a class that have methods like execute, but declare only the methods
getters & sett
You may have to patch up commons' HTTPClient to work with JAAS (Windows sample
authentication
module from SUN - http://java.sun.com/products/jaas/index-10.html or the tagish one -
http://free.tagish.net/jaas/). both the jaas modules provide a way to get the user
name and an
impersonation token -
Title: Message
Brian,
Thank you for all the information. I am going to try that. You mentioned
the changes in CommonsHTTPSender.java file. Is it possible at the client program
level, just call System.setProperty() (e.g System.setProperty("http.proxyHost",
"hostname"), etc) to set
Alex -
try creating a Java stub with your desired method signature, run Java2WSDL to generate
a WSDL file, then WSDL2Java on the WSDL file to generate skeleton and stub classes.
/Chris
-- Original Message --
From: Alex Chen <[EMAIL PROTECTED]>
Reply-To:
Hi peter,
With regards to the baseURI I think this is explained in the FAQ. Check it
out, if it doesn't help you might want to ask the same question on the XML
security mailing list.
http://xml.apache.org/security/Java/faq.html#baseURI
The actor and mustUnderstand attribs are explained by the w
Title: Message
Sharon,I have been attempting the same thing recently
using Axis 1.1. I have found the following.
You need to modify the
org/apache/axis/client/client-config.wsdd. Change the line
to
You can create a new copy of the wsdd file, and put it in the classpath befor
Hi,
From what I know, the information about transport binding in the WSDL only
applies to the first hop ( on the SOAP message path) and the specification
doesn't specify how the transports are determined on the intermediate hops.
What determines the transport choice on the intermediate hops? Is
I would need custom exceptions too and, as Sacha said, it's not a good idea to build a
strong dependency to Axis classes.
In my project I have to implement an API which offers an web service and I would like
to let a customer decide what SOAP middleware to be used.
Right now it's strongly tied to
> Have you tried extending AxisFault? That's what we do and it seems to
work well enough...
Hi.
Thanx for reply. I don't think it is a right way. It strictly tides You to
axis architecture of Your service. In my situation I want to have web
service interface to EJB deployed on JBoss. Methods of
24 matches
Mail list logo