Title: RE: Trouble with HTTPS/SSL and Axis
Hi,
I would also switch on ssl debug in a case like this trough system property:
javax.netl.debug=... the value depends a litle on your ssl implementation, but
for the sun ssl libraries it is:
System.setProperty("javax.net.debug", "all");
For
Hi,
Unfortunately we are having problems getting it to work. After we add
the header, C# hasnt been able to recognize SessionID as an element. service.sessionID
doesnt come up.
Could you please share ur experience in a lil more detail? Or could you
post the changed wsdl ??
srini
Found it, I had to use the "operation" element in the deployment file. Lucky
the examples use them, since the documentation is virtually non-existent.
All working good now.
- Original Message -
From: "Lars George" <[EMAIL PROTECTED]>
To: "Axis-User" <[EMAIL PROTECTED]>
Sent: Friday, March
so since i'm using java 1.4 i can just remove those three files from the
classpath?
(actually, they're in the tomcat boot and system jar directoriess)
do i need to have a keystore in the system properties in order to do
outgoing
ssl connections with axis? or should an axis client just run via http
Hi,
Sorry, this must have been asked a million times but searching the list for
something so generic did not yield any results, so here I ask again:
We have a client that has hardcoded the name of the return tag in the SOAP
response to "return" as it was custom for Apache SOAP. Now we use Axis an
First, wait for bugs AXIS-1251 and AXIS-1252 to be committed. Chunking and continue
are broken.
Next, once you get your service frm your servixe locator add this call before you do
any calls...
myService._setProperty(org.apache.axis.MessageContext.HTTP_TRANSPORT_VERSION,
org.apache.axis
Hi
U First Try to Access WSDL using Web
browser
(Example
URL is http://127.0.0.1:8080/axis/Calculator.jws?wsdl
)
Then Try to open XMLSPY
I did and it works on my computer
I am working with
Tomcat
4.1.24
This sounds like a mismatch or incomplete JAR files.
First off if you are using Java 1.4 you do not need the separate SSL
stuff, its bundled in.
If you are using 1.3 then you need to add the following JARs to your
client app's classpath.
jsse.jar
jcert.jar
jnet.jar
peter anthony cowan wr
>But I keep reading about how Axis 1.1 does not really support doc/literal
I keep reading that, too. But then I've talked to people who are doing
doc/literal with Axis 1.1 with no trouble, too.
What's the scoop?
You can find a tutorial here:
http://www.javaworld.com/javaworld/jw-09-2003/jw-0912-webservices.html
Regards
Jim
- Original Message -
From: "Ying Ying" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 11:17 PM
Subject: Re: SOAP with Attachment
> Hi all,
>
>
When I attempt to run a SOAP client that goes to a secure
destination (https), upon invoking the call object the program
hangs. No exceptions are cast, nothing happens at all, it just
stalls indefinitely. We are running the latest Axis along with
Tomcat 4.04, behind the apache web server, which h
Hi all,
I am interested in this as well. Is there anyone can provide some
information about it? Thanks.
Cheers,
ying
- Original Message -
From: "Asanka Priyanjitih" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 8:53 AM
Subject: SOAP with Attachment
Hi All
Hi,
Does anyone know how to return a PDF file from a call to a web service? I
want to have a method like this:
public File getFile(String filename)
That a client can call and which will return a PDF with the filename
specified if it exists.
Thanks for you help.
Jim.
Kartik,
The problem is in your WSDL message definition. When using
document/literal, your message definition should contain only one body
part. (You can define additional parts, but they should represent header
blocks -- not separate parameters in your body.) Axis ignores the second part.
You
I am using Axis C++ for a WebService Client.
I am using a JAVA WebService using the BeanSerializer to serailize the
complex types.
I am able to send a request and receive a response from the WebService but I
have two issues desirializing the response.
1. The Response has format
In C+
For correct doc-literal, you cannot use 'type' in your
part definiton. Try changing your message definition
to contain a single part element with an element
attribute (instead of a type attribute).
E.g.
This should cause axis'
I can't do that as I am using doc-literal format and
not the rpc-encoded format. Correct me if I am wrong,
but in doc-literal, the only way I can correspond a
message part to a type is by re-routing the types as
elements.
Thanks.
Kartik
--- [EMAIL PROTECTED] wrote:
> Hi,
>
>
> Don't define ele
Hi, I've tried to look at the previous mailing list and Google and haven't
found anything.
My problem : I've inherited a web service that has an RPC/Encoded call with
a apachesoap:Element type input parameter and output parameter.
We now have a .Net client that tries to make a call to this web s
1.2 alpha appears to have a variety of problems. I was not able to use
it directly for either rpc/encoded or doc/literal in some testing I'm
doing, though I think the problems with both have been solved in the
current CVS code. Until the developers come out with a 1.2 beta version
that includes
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
Title: Sending and Receiving Http Cookies
I want to use or extend the HttpTransport and/or HttpSender to be able to retrieve Http cookies from the server and send them back to the server on subsequent requests. Has anyone done this before? Can the cookies be sent back to the web browser or
Hi Steve-
thanks for the prompt response! that clears it up.
false alarm - no bug. :)
-c
On Thu, Mar 11, 2004 at 06:35:51PM +0100, [EMAIL PROTECTED] wrote:
> Hi
>
> If you use the same name in both the Request and Response message then it is
> translated as an IN/OUT parameter. As such a
Hi,
Please help me with my newbie question.
I'm doing call.invoke( env ) where env is Axis's SOAPEnvelope and I'm trying
to find a way to pass a parameter to the server and still use call.invoke(
env )
I need to use call.invoke and since I have to sign/encrypt the SOAPEnvelope
eventually.
Client
Hi,
Don't define elements named foo bar and wow.
In your message just change the types of f b and w to xsd:string and instead of
using element use type
i.e.
Regards
Steve
Quoting Kartik <[EMAIL PROTECTED]>:
> Hi Folks.
>
> I have attached the very simple WSDL (paramtes
Hi
If you use the same name in both the Request and Response message then it is
translated as an IN/OUT parameter. As such a holder class will automatically be
used and substituted. If this is not what you want i.e. you want the method to
return a string then call the foo in the Response somthi
Hi Folks.
I have attached the very simple WSDL (paramtest.wsdl)
that I am testing with. I have a couple of issues and
it would be great if someone can point some
solutions/references.
In my WSDL, I have a single operation as shown belo
(java mapping):
String testTwo(String f, String b);
The op
howdy all-
i'm working with axis, and am trying to convert a wsdl into java client stubs
and server side skeletons. i'm having much success in most of my wsdls, but
one is giving me problems. i believe i've located a bug in axis. here is the
interface portion of my wsdl:
NachrichtThe static method
org.apache.axis.MessageContext.getCurrentContext()
returns the MessageContext of the current request. From that you can find
out just about anything (see the Axis FAQ and user guide and javadocs for
MessageContext).
Jeff
- Original Message -
From: Zedler, Miche
Finally a
question I can answer (I ask so many but can answer so few).
You can
specify an alternative wsdl by adding the wsdlfile child element to your
service element.
/BillWebServicewithEBXML.wsdl
I believe there's a
tag (or something similar) that will force return of whatever WSDL you
specify rather than the one generated by Axis.
Nick
Brian Shields <[EMAIL PROTECTED]>
03/11/2004 11:39 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTEC
org/apache/axis/server/server-config.wsdd (in axis.jar) deploys it
Read the docs about wsdd options to find out about lifetime, etc.
Read the architecture and user guides to find out about handlers.
Jeff
- Original Message -
From: Senthil_KM
To: [EMAIL PROTECTED]
Sent: Thursday, March
Hi all,
is there a parameter i can set in the wsdd file that will overwrite the Java2WSDL creation when someone requests the serviceurl?WSDL. I want to specify a wsdl file location that will be returned when the above url is requested.
Thanks,
Brian
Do you Yahoo!?
Yahoo! Search - Find what youre
Hi all,
I am relativel new to Axis but have trawled the net and the Axis FAQ for
answers to the following question without success and have decided to come to
you for help in my hour of need.
I would like to know how to extract the original exception from an AxisFault.
I have a Stateless Sessi
Title: Nachricht
Hi
all,
Here is my
question:Is there any possibility to access data from a
soap-request-messagein my web service implementation? (Apart from the rpc
parameters for the called method.)It seems the Axis Servlet (ServiceManager)
is hiding that all from me (?).
Here is my
Hello Axis users!
I have developed a rather large project with Apache Axis and liked Axis
very much so far (with the occasional problem of missing documentation).
I have a performance problem with my client applications though: The
first call to the web service takes almost two seconds on rather f
Hi there,
I have written SOAP client using Axis for remote SOAP server. I have
generated Stub classes using WSDL2Java tool. I am making connection over SSL
and have Imported servers certificate properly. Now my problem is I am
getting NULL object return from call.Invoke() method without any error
Hi.
When I get an attachment (from a GSOAP Server - it's a DIME attachment) I
get the following error :
Caused by: org.xml.sax.SAXParseException: An invalid XML character
(Unicode: 0xc) was found in the prolog of the document.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
Stefano Sambi wrote:
Hi,
I'm writing a C# client based on .NET compact framework and I have noticed
that my client can't decode a string that my axis web service return.
I'm using Axis 1.2 alpha.
Here is the error:
I believe there is a problem with Axis 1.2alpha on this issue. You may
want to us
"Abhinav Maheshwari" <[EMAIL PROTECTED]> writes:
> > Hi Stefan,
> > I am pasting a wsdl for your reference. Please see the embedded
comments.
> > On the client side, C# needs to see the SessionID element in WSDL so
that
> > it can create member variable SessionID for the service. But Axis does
n
Thanks for your responses, it seems that it works.
Thank you
Stefano
- Original Message -
From: "Abhinav Maheshwari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 2:27 PM
Subject: RE: C# Cllient , Axis Server, Session Management
> Hi Stefan,
> I am pasting
Hi Stefan,
I am pasting a wsdl for your reference. Please see the embedded comments.
On the client side, C# needs to see the SessionID element in WSDL so that it
can create member variable SessionID for the service. But Axis does not
generate such a WSDL. Hence you need to modify the WSDL produced
I
have tried to run examples web services such as calculador.jws, but when I
tried to connect to the web service, it didn’t appear any method. I
‘m working with xml-spy 4.x as a web service client (which doesn’t
show any method when I give the wsdl’s uri), and I have a tomcat 4.x
running as
Hi,
I'm writing a C# client based on .NET compact framework and I have noticed
that my client can't decode a string that my axis web service return.
I'm using Axis 1.2 alpha.
Here is the error:
"Cannot find type for http://schemas.xmlsoap.org/soap/encoding/:string.";
This is because axis encode t
Hi
all,
We deploy in
axis using the command:
java
org.apache.axis.client.AdminClient
NOw
basically in the soure code of the AdminClient Programm
the web
service at http://localhost:8080/axis/services/AdminService
is called
IS there any
link or any document on how the web serv
Hi,
Is there anyway that Axis 1.1 can use NTLM for Proxy Authentication?
Sun's JVM 1.4.2 now supports seamless NTLM authentiacation.
If I try using the standard Java class java.net.URLConnection to access
a web site, the NTLM authentication with our proxy happens fine, without
any code changes,
Hi Stefan,
See if this works..
srini
Stefano Sambi wrote:
I'm trying to use your SessionHandler to manage session between C# client
and Axis web service but I do not succeed to set the SOAP header in my wsdl.
Can you s
Title: RE: How to prevent Axis from modifying the source code?
I don't think it is possible to make Axis not touch the Beans.
I use a ant build script to copy the original beans over the axis modified beans.
Luciano
-Original Message-
From: Oleg Lebedev [mailto:[EMAIL PROTECTED]
I Tom
If i use the example with HTTP transport i dont have any problem , so i think
the server is seeing my deploy.wssd.
Probably it is the version i am using of Axis wich is 1.1.
I will try the version you advise me.
Tanks
Manuel Catarino
Citando [EMAIL PROTECTED]:
> Manuel,
>
> Are you sur
Hi All
Please Explain to me how to write simple SOAP With Attachments programs using AXIS,
And also any know some useful links or has Some tutorials please send it to me.
Thanks & Regards
G J A Priyanjith
50 matches
Mail list logo