[ACFUG Discuss] Consuming a web service that uses Overloading issue

2010-08-04 Thread Bruce Hodgdon
I have been consuming a dotnet web service for some time.   One of the 
methods in that web service had a parameter added.   The web service was 
changed to use overloading so that clients could call using the old set of 
parameters or the new set.


As long as I still have a Stub created before they added overloading to the 
web service I still consume the web service without problems.


However,  as soon as I delete the stub and try to create a new one I get the 
error:   WSDL. java.lang.IllegalArgumentException: Duplicate operation with 
name=GetCallDetail


So,  it would appear to me that the problem is with wsdl2java in creating 
this stub and that it doesn't support overloading?   But once you have a 
stub created the web service appears to work (at least the original one 
does).


My question is:  Does anyone know of a work around for this problem?   Is 
there another way to create this webservice stub?   What other options do I 
have?


FYI.   If I looked at the wsdl xml the duplicate method does have a 
different name.   It had the name V2 (original is GetCallDetail,  both are 
in this wsdl). 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] email via CF MX

2008-07-11 Thread Bruce Hodgdon
What is your From address in cfmail?If this address is not a valid email 
address it general won't cross mail servers.   It will work on your local 
network most likely.   But when it transmits outside of your network,  foreign 
mail servers will be looking for a valid mxrecord to verify it's coming from a 
valid source before they allow it.All mail servers do this these days 
because of Spam.

This is at least 1 thing to look at.I've inherited apps as well and this 
was my problem.   After I changed to a valid email address (that can be sent to 
from the outside) everything worked.This also allows you to get rejects if 
something is rejecting the mail.   

I don't know if this is your problem but it's 1 possibility.  


  - Original Message - 
  From: Jeff Howard 
  To: discussion@acfug.org 
  Sent: Friday, July 11, 2008 2:22 PM
  Subject: [ACFUG Discuss] email via CF MX


  I am not much of a server admin but I am having an issue with another 
application I inherited recently.  This application is basically a help desk 
app in which someone enters a ticket into the system and then sends them a 
confimation email.  This works fine as long as the user is on our network, but 
if the user is NOT on our network, they don't recieve the email.  I know this 
has to be some silly setting somewhere, could someone please tell me where?

  Thanks in advance,
  Jeff

  - 
  To unsubscribe from this list, manage your profile @ 
  http://www.acfug.org?fa=login.edituserform 

  For more info, see http://www.acfug.org/mailinglists 
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
  List hosted by FusionLink 
  -


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread Bruce Hodgdon
Is there any way to force a new session,  if a user opens a new tab then goes 
to the same app that is in the first window?

We use the pretty standard cfapplication that allows cookies and session 
management.

I have found that sometimes users will open a new tab and go to the same 
application basically executing the app twice from different windows.But 
since both these windows share session variables this can sometimes cause 
problems (changes in one window effect the other).Executing the browser 
twice keeps separate sessions.But since this is 2 windows in the same 
browser the cookie that points to the session id is the same.   

I guess one way around this is cookieless sessions,  then I believe you would 
have to put the jsessionid on each url?   I don't like doing that.And that 
wouldn't stop someone from copying and pasting the URL to another window and 
having the same issue.

Or is there a good way to tell if the user does have 2 windows open with the 
same session?  

Or other slick ways around this issue?   




-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] Web Service Intermittant error

2008-05-30 Thread Bruce Hodgdon
I call several dotnet web services and they are successful 99% of the time.   
But intermittently,  I get this error:

Could not perform web service invocation GetCallPartDetail. Here is the fault 
returned when invoking the web service operation:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Didn't find specified return QName 
{http://tempuri.org/wsGtCallData/cGtCallData}GetCallPartDetailResult!
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:Didn't find specified return 
QName {http://tempuri.org/wsGtCallData/cGtCallData}GetCallPartDetailResult!
at org.apache.axis.client.Call.invoke(Call.java:2559)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at 
org.tempuri.wsGtCallData.cGtCallData.CGtCallDataSoapStub.getCallPartDetail(CGtCallDataSoapStub.java:1476)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:223)
at coldfusion.xml.rpc.ServiceProxy.invoke(... Looking on Google,  I 
have found references to this error calling dotnet webservices that fail with 
Axis but not when called from a dotnet program.A solution (or work around) try 
using the --noWrapped flag when u run wsdl2java.This worked for that user.   
I didn't find anything under specifically for Coldfusion, but since Coldfusion 
uses Axis, with wsdl2java the solution I saw might be worth a try. Does anyone 
here seen this error?   Know how to resolve it?   Is it possible to add the 
noWrapped flag to wsdl2java in Coldfusion?  If so, how?I am running MX7 by the 
way. Thanks,Bruce


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] error handling

2008-05-28 Thread Bruce Hodgdon
If you want something basic,  and quick,   that doesn't require changing all 
your code you can create a site wide error template (a coldfusion .cfm file).   
With it you give the user a general error screen with your logo etc. with the 
general error,  possibly error.message (you might not even want to display 
this).

You can then log (cflog) or email (cfmail) yourself all the diagnostic 
information to determine what the problem is.
You can log or mail yourself,  error.message,  error.diagnostics (this has the 
error message in it but also gives you line number etc),   error.type, 
error.generatedcontent,  error.httpReferer,  error.template,   error.browser 
(always nice to know what browser they are using).Be careful using cfmail.  
 It could generate a lot of mail if you have lots or someone just trying it 
over and over again.   

So basically,  you can get a lot of info about the error and the user gets a 
small message using your web style.   

The site wide error handler is in Coldfusion Administrator in the settings 
section.   It's a relative path.   

I would do error checking in your specific templates,  but this is a good 
catch all that will catch any cf error that is not caught with cftry/cfcatch 
or anything in your code and will do what you are asking I believe pretty 
simply.  

Bruce


  - Original Message - 
  From: Dusty Hale 
  To: discussion@acfug.org 
  Sent: Wednesday, May 28, 2008 9:18 PM
  Subject: [ACFUG Discuss] error handling


  I was wondering if anyone wanted to discuss best approaches to error handling 
for cf sites. I want to implement some very basic error handling for one of my 
sites. Basically I just don't want the ugly cf errors to display for users of 
the site. I would also like to be notified via email when an error happens and 
better yet get the error information. Is the best approach still the cferror 
tag? Is there a newer or better approach or best practice? Anyone got some code 
they could share?

  Dusty

  - 
  To unsubscribe from this list, manage your profile @ 
  http://www.acfug.org?fa=login.edituserform 

  For more info, see http://www.acfug.org/mailinglists 
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
  List hosted by FusionLink 
  -


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Installing CF MX 6.1 on W2K3

2007-06-25 Thread Bruce Hodgdon
I ran CF MX 6.1 on Windows Server 2003 for a long time.   I installed from a 
full version of  6.1 on CD.   It used to be on Macromedia's web site.   If you 
can't find it I can probably still find it somewhere.  

  - Original Message - 
  From: Kelly Carter 
  To: discussion@acfug.org 
  Sent: Monday, June 25, 2007 5:10 PM
  Subject: [ACFUG Discuss] Installing CF MX 6.1 on W2K3


  I'm having trouble installing ColdFusion MX 6.1 on Windows Server 2003.

   

  First, I started with installing version 6.0 from CD. It failed and research 
revealed it will NOT install on Server 2003. What is needed is the version 6.1 
update. Adobe has removed all the download pages associated with 6.1. Someone 
on this list provided a link to the old Macromedia server whereby I was able to 
download a 6.1 Updater. It failed. Adobe 1-800 tech support has kept me on hold 
today for over 4 hours (accumulated), and they don't recognize old Macromedia 
customer numbers for quicker support.

   

  The error message I get is that This version of ColdFusion MX is not 
supported by the updater.

   

  Any ideas?


  - 
  Annual Sponsor - Figleaf Software 

  To unsubscribe from this list, manage your profile @ 
  http://www.acfug.org?fa=login.edituserform 

  For more info, see http://www.acfug.org/mailinglists 
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
  List hosted by FusionLink 
  -


-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-