Re: Siteminder & Axis

2004-07-22 Thread Andreas Meier
Hello Coolin, Thursday, July 22, 2004, 10:21:53 PM, you wrote: CD> And if you dont have transaction minder than go for CD> form based CD> authentication than connect to server using java CD> cleint get the jsession CD> id than pass it along with Axis Soap Request which i CD> dont think a good

RE: Siteminder & Axis

2004-07-22 Thread Parley, Thunder Jon
Kulin, Are you using SSL? I'd assume so if it is a "very secured environment". If so make sure you are connecting to the SSL port. Also, being somewhat familiar with SiteMinder, you may want to make sure that you did setMaintainSession(true), since as I recall after login SiteMinder relies on you

RE: Help with soap-enc:array

2004-07-22 Thread Vikas Phonsa
Have you tried doing java2wsdl. If you are able to represent what you want in a java bean class then java2wsdl would generate the proper wsdl for you. And then you can generate client stubs from that wsdl if you need to. -Original Message- From: Jigsaw [mailto:[EMAIL PROTECTED] Sent: Thu

Re: Help with soap-enc:array

2004-07-22 Thread Jigsaw
Hi again, I have been trying hard to get over this problem and finally tried this: > > > > > > > > > > > > I used WSDL2Java and obtained ArrayofNames.java, ValidNameStrings.java and input.java. I wro

Siteminder & Axis

2004-07-22 Thread Coolin Desai
Hi, We have web services installed in a very secured environment on a web server which is secured by site minder. I could test my web services running from web browser, by giving user name and pasword on a pop up window. But when i try to run it from back end giving user id & password using C

HostnameVerifier

2004-07-22 Thread Masoud, Muhi (LNG-DAY)
hi I'm trying to trust all certificates so I can test some stuff I'm running on webSphere v4.0 and this is what I tried but it didn't work MyHostnameVerifier hv = new MyHostnameVerifier(); HttpsURLConnection.setDefaultHostnameVerifier(hv); import java.net.*; import java.io.*; import java.util.*;

Deployment problem. Bad jar?

2004-07-22 Thread David den Boer
In my deployed web services app, I am getting an error that I do not get using the same client and server apps in development (so I know the code works as it should). This error is happening immediately upon accessing the web service. I thought it might be a problem with the web server, so I

RE: Visual Studio Axis Client

2004-07-22 Thread Cervi, Anthony (PCLN-NW)
use _bstr_t. sometimes a combination of CComBSTR and _bstr_t will get you where you have to go. i think ATL has a CString class that does some conversion like that too. instead of C++ have you thought about using C# or VB.NET?   _bstr_t bst = "some string";   BSTR bs = bst.copy();   SysFreeSt

Visual Studio Axis Client

2004-07-22 Thread NYY96
Hello,   I was wondering if anybody knows how to convert a basic string into a BSTR. I have read about this to great lengths online but am still receiving errors from Visual Studio.   Thanks, James   In a message dated 7/22/2004 11:32:43 AM Eastern Standard Time, [EMAIL PROTECTED] writes:

Re: Problem with SOAP body

2004-07-22 Thread Anthony Piazza
**My previous post got mangled by my email service--Sorry! Maybe it will be helpful for me to provide a bit more detail. Here is the content of a web services call that doesn't work: POST /imapi HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime,

Re: Problem with SOAP body

2004-07-22 Thread Anthony Piazza
My bad - in my previous post I said client-config.xml when I really meant client-config.wsdd. Sorry for the confusion... Tony --- On Thu 07/22, Anthony Piazza < [EMAIL PROTECTED] > wrote:From: Anthony Piazza [mailto: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Thu, 22 Jul 2004 12:30:45 -0400 (EDT)Subjec

Re: Problem with SOAP body

2004-07-22 Thread Anthony Piazza
Maybe it will be helpful for me to provide a bit more detail. Here is the content of a web services call that doesn't work: POST /imapi HTTP/1.0Content-Type: text/xml; charset=utf-8Accept: application/soap+xml, application/dime, multipart/related, text/*User-Agent: Axis/1.1Host: dev8:6070Cache-Con

Re: Using Apache Open Source Tools in the Federal Govt

2004-07-22 Thread John K. Sterling
Hi Mark - I work for the Army in Information Assurance and although much of the armed forces are still a bit slow to work with open source, the NSA has been very active in certifying and securing open source systems. For example, they maintain what they call "Security Enhance" Linux (selinux) and

Re: Visual Studio Axis Client

2004-07-22 Thread NYY96
Works like a charm. Thanks!   In a message dated 7/22/2004 11:30:33 AM Eastern Standard Time, [EMAIL PROTECTED] writes: in order to see the contents of a bstr* you have to dereference the pointer. you can also use _bstr_t to convert to a "regular" string. hope this helps.  

RE: Visual Studio Axis Client

2004-07-22 Thread Cervi, Anthony (PCLN-NW)
in order to see the contents of a bstr* you have to dereference the pointer. you can also use _bstr_t to convert to a "regular" string. hope this helps.   void GettaBSTR(BSTR* bstr) {     *bstr = SysAllocString("some string");     printf("this is the string: %S", *bstr); }   BSTR bs; GettaB

Re: Visual Studio Axis Client

2004-07-22 Thread NYY96
Does Anybody know how I can convert a BSTR* to a type that will output the contents of the String to the screen?   I am currently getting only what seems to be the address of the BSTR at the screen.   In a message dated 7/21/2004 5:43:55 PM Eastern Standard Time, [EMAIL PROTECTED] writes: Ar

PLEASE HELP ME!!! - WS-I Basic Profile compatibility

2004-07-22 Thread lcoppoli
Hi axis' users, I'm using axis 1.2 beta. I have tryed to generate the stub clients for a web service using the Wireless Toolkit 2.1. The deployed WSDL is: *** http://DefaultNamespace"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns

Using Apache Open Source Tools in the Federal Govt

2004-07-22 Thread Galbreath, Mark A
Alls, I am part of a team in the US Department of State charged with transforming our technical infrastructure from mainframe-centric COBOL and Micro$oft ASP apps to Linux-based portals and Web services using open source. Besides the political hassle with vested interests in the legacy infrastruc

Re: How do I get the underlying request/response xml?

2004-07-22 Thread Yves Langisch
Are, - Yes, code snippet is for Axis 1.2 - XMLUtils.outputDOM additionally canonicalize the output but normally this is not necessary and you can directly use Xerces Yves Tysnes Are Thobias wrote: And one more thing: setCurrentMessage and FORM_BYTES in axis.SOAPPart looks private to me.. (Ax

RE: How do I get the underlying request/response xml?

2004-07-22 Thread Tysnes Are Thobias
Title: Message   And one more thing:   setCurrentMessage and FORM_BYTES in axis.SOAPPart looks private to me.. (Axis 1.1)   Cheers, Are T. Tysnes -Original Message-From: Tysnes Are Thobias Sent: 22. juli 2004 14:15To: '[EMAIL PROTECTED]'Subject: RE: How do I get the underl

Re: trust all certificates?

2004-07-22 Thread NYY96
Do not remember off hand but I found it using Google.   In a message dated 7/21/2004 5:55:34 PM Eastern Standard Time, [EMAIL PROTECTED] writes: How would you do that===Gary Grewal                                                                                                   

Re: Visual Studio Axis Client

2004-07-22 Thread NYY96
Visual C++ .net 2003   In a message dated 7/21/2004 5:43:55 PM Eastern Standard Time, [EMAIL PROTECTED] writes: Are you using the MS SOAP toolkit or .NET?  Also, are you using Visual Studio 6 or 7 (.NET)?Jim[EMAIL PROTECTED] wrote:> Hello,>  > I am creating a client for my axis web se

RE: How do I get the underlying request/response xml?

2004-07-22 Thread Tysnes Are Thobias
Title: Message   Thank you both for the answers :-)   Yves: Why do you use the XMLUtil class from XML Security Library !? I would prefer to use Xerces.   Cheers, Are T. Tysnes -Original Message-From: Dhanush Gopinath [mailto:[EMAIL PROTECTED] Sent: 21. juli 2004

RE: What happens to Java objects when Axis is reloaded by Tomcat?

2004-07-22 Thread Keith Hatton
You could register a ServletContextListener (in web.xml) that calls some cleanup code on your singleton when the web-app is destroyed. But I don't know how this would affect your other threads, as a new ClassLoader is created when Axis is reloaded (this is why you get "another" singleton). If yo

RE: developing secure webservices with SSL

2004-07-22 Thread Hari Krishna B.
Hey Sridhar,   One way of doing it is to publish the web serivce over https if u want it to be secured. Its very simple   1. While deploying the service u need to deploy as https://xyz.com/axis/services/TestService. Ofcourse, your web server needs to be up with the SSL certificate installe

Re: Deploying sample applications gives error

2004-07-22 Thread Ranjan K. Baisak
I got it solved my myself. I had a mistake in config file. I was using but it should be which was invoking such error. --- "Ranjan K. Baisak" <[EMAIL PROTECTED]> wrote: > Hello List, > I am new to Axis. I am trying to deploy > webservices provided in Axis samples into tomcat. I > am >

developing secure webservices with SSL

2004-07-22 Thread rsridhar
hi all,   Can any one help me of how to develope secure webservices with digital signatures with axis. url to tutorial and/or code sample will be helpful. please help me. Sridhar Reddy .R Software Engineer Phone: +91-40-2360-0861 Ext: 82 Ce

Deploying sample applications gives error

2004-07-22 Thread Ranjan K. Baisak
Hello List, I am new to Axis. I am trying to deploy webservices provided in Axis samples into tomcat. I am following steps provided by user guide of Axis. When I am running %java org.apache.axis.client.AdminClient deploy.wsdd. I am getting following errors, any suggestion Processing file

Adding element to Soap header in client handler

2004-07-22 Thread Aoife . Kavanagh
Hi, I need to add an element to my SOAP header in a client side handler.  In the invoke() method of my handler i can extract the SOAPEnvelope and SOAPHeader.  I can create a new SOAPHeaderElement and add that to the soap header.  However, I do not want the element to have the mustUnderstand or ac