Re: Error register asp.net web service in CF 7 admin

2009-06-11 Thread Dave Watts

> I dumped out the cgi variable. However the auth_password is blank. I'm still
> getting the error.
> I believe setPassword passes password in plain text format which is not we
> want to do. I'm trying to find a better way to set the Credentials if there
> is any.

You can use CFDUMP on the web service object you create with
createObject, and see if it supports any such method. I don't know if
it does.

You might find the information here to be useful:
http://hc.apache.org/httpclient-3.x/authentication.html#NTLM

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Error register asp.net web service in CF 7 admin

2009-06-11 Thread Hong Chen

Dave,
I dumped out the cgi variable. However the auth_password is blank. I'm still
getting the error. 
I believe setPassword passes password in plain text format which is not we
want to do. I'm trying to find a better way to set the Credentials if there
is any.

Thanks,
Hong
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, June 11, 2009 12:54 AM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin


> As you said CF does not directly support windows authentication, we
learned
> from our recent research that Apache Axis uses
> org.apache.axis.transport.http.HTTPSender by default. So we made a
> configuration change. We changed 
pivot="java:org.apache.axis.transport.http.HTTPSender">To: port name="http"
> pivot="java:org.apache.axis.transport.http.CommonsHTTPSender">
> in client-config.wsdd file. We also enabled "Integrated Windows
> authentication" in iis. In addition we copied the wsdl file into iis root
> directory. After all of these changes, we assumed Apache Axis and iis
should
> support windows authentication for our CF application.

That's good to know; I didn't know you could do that.

> However we still need to provide username and password when consume the
.net
> webservice. I used the following code and successfully consumed the
webservice:
>
> 
>
>      ws = CreateObject("webservice", "http:///fileservice.asmx?wsdl";);
>      ws.setUsername("domain\username");
>      ws.setPassword("password");
>
> ...
>
> But without passing in username and password the code returns an error.
>
> I have mentioned early that we have an asp.net client application which
> successfully consumes the .net webservice. It first gets the current user
> info...
>
> To narrow down my question, I'm thinking if there is any class in JRun
> security/or any other package I can setCredentials using current windows
> userinfo, instead of setUsername and setPassword in plain text? Do I have
to
> set Www-Authenticate value in cfheader?

Well, CF doesn't really know anything about the user other than what
it receives from IIS. Unlike ASP.NET, which runs in-process with IIS,
CF is a separate process which runs in a separate security context.

That said, if the user has provided his or her credentials to IIS, the
username at least will be available as a CGI variable. So you might
just dump the CGI scope and see what you have, and insert those values
in your setUsername and setPassword calls.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more inf



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Dave Watts

> As you said CF does not directly support windows authentication, we learned
> from our recent research that Apache Axis uses
> org.apache.axis.transport.http.HTTPSender by default. So we made a
> configuration change. We changed  pivot="java:org.apache.axis.transport.http.HTTPSender">To: port name="http"
> pivot="java:org.apache.axis.transport.http.CommonsHTTPSender">
> in client-config.wsdd file. We also enabled "Integrated Windows
> authentication" in iis. In addition we copied the wsdl file into iis root
> directory. After all of these changes, we assumed Apache Axis and iis should
> support windows authentication for our CF application.

That's good to know; I didn't know you could do that.

> However we still need to provide username and password when consume the .net
> webservice. I used the following code and successfully consumed the 
> webservice:
>
> 
>
>      ws = CreateObject("webservice", "http:///fileservice.asmx?wsdl";);
>      ws.setUsername("domain\username");
>      ws.setPassword("password");
>
> ...
>
> But without passing in username and password the code returns an error.
>
> I have mentioned early that we have an asp.net client application which
> successfully consumes the .net webservice. It first gets the current user
> info...
>
> To narrow down my question, I'm thinking if there is any class in JRun
> security/or any other package I can setCredentials using current windows
> userinfo, instead of setUsername and setPassword in plain text? Do I have to
> set Www-Authenticate value in cfheader?

Well, CF doesn't really know anything about the user other than what
it receives from IIS. Unlike ASP.NET, which runs in-process with IIS,
CF is a separate process which runs in a separate security context.

That said, if the user has provided his or her credentials to IIS, the
username at least will be available as a CGI variable. So you might
just dump the CGI scope and see what you have, and insert those values
in your setUsername and setPassword calls.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more inf

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Hong Chen

Dave,

As you said CF does not directly support windows authentication, we learned
from our recent research that Apache Axis uses
org.apache.axis.transport.http.HTTPSender by default. So we made a
configuration change. We changed To:
in client-config.wsdd file. We also enabled "Integrated Windows
authentication" in iis. In addition we copied the wsdl file into iis root
directory. After all of these changes, we assumed Apache Axis and iis should
support windows authentication for our CF application. However we still need
to provide username and password when consume the .net webservice. I used
the following code and successfully consumed the webservice:



  ws = CreateObject("webservice", "http:///fileservice.asmx?wsdl";);

  ws.setUsername("domain\username");

  ws.setPassword("password"); 

  recordNumber=ws.UploadFileBasic("#strTrimURL#","#objBinaryData#",
"#b64fileName#", "#strDocument#");



But without passing in username and password the code returns an error. 

I have mentioned early that we have an asp.net client application which
successfully consumes the .net webservice. It first gets the current user
info:

private void GetUserInfo()

{ System.Security.Principal.WindowsIdentity UserIdentityInfo;

string strMsg;

UserIdentityInfo =
System.Security.Principal.WindowsIdentity.GetCurrent();

strMsg = ("User Name: "

+ (UserIdentityInfo.Name + "\r\n"));

strMsg = (strMsg + (" Token: "

+ (UserIdentityInfo.Token.ToString() + "\r\n")));

strMsg = (strMsg + (" Authenticated: "

+ (UserIdentityInfo.AuthenticationType + "\r\n")));

strMsg = (strMsg + (" System: "

+ (UserIdentityInfo.IsSystem + "\r\n")));

strMsg = (strMsg + (" Guest: "

+ (UserIdentityInfo.IsGuest + "\r\n")));

strMsg = (strMsg + (" Anonymous: "

+ (UserIdentityInfo.IsAnonymous + "\r\n")));

//MessageBox.Show(strMsg);

txtMultiLine.Text = strMsg.ToString();

}

Then set the Credentials when it consumes the webservice: x.Credentials
= System.Net.CredentialCache.DefaultCredentials;

To narrow down my question, I'm thinking if there is any class in JRun
security/or any other package I can setCredentials using current windows
userinfo, instead of setUsername and setPassword in plain text? Do I have to
set Www-Authenticate value in cfheader? 

It might be still an environmental issue, but I'm trying to find out as much
as I can in CF coding. 

 

Thanks,

Hong

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, June 10, 2009 12:29 PM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin

 

 

> We have successfully registered .net webservice by passing in username and

> password. However our project requires this webservice be configured as

> "Integrated Windows Authentication". So, the question for us now becomes:

> How to invoke .net webservice requires Windows Authentication?

 

Well, you can't really, not directly from CF at any rate. "Integrated

Windows Authentication"   isn't supported by CF. Windows (or NTLM)

Authentication sends a hash of the user's password to the server,

instead of the actual password itself as Basic Authentication does.

 

> Some people said: "only Microsoft products can pass the required protocols

> for Windows Integrated Security".

> 

> Is that true? Please share your thoughts.

 

No, there are other products that support NTLM Authentication. Firefox

does, for example, although it may require configuration.

 

I would look into using an NTLM proxy. When Googling "ntlm proxy" I

found some possible candidates:

 

http://sourceforge.net/projects/ntlmaps/

http://cntlm.sourceforge.net/

 

If the administrators of the web service can enable Basic

Authentication, that would also solve the problem. If they're aiming

for interoperability, they shouldn't require Windows Authentication.

Of course, Basic Authentication does send credentials in

base64-encoded plaintext, so it should be used in conjunction with

SSL/TLS.

 

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

 

Fig Leaf Software provides the highest caliber vendor-authorized

instruction at our training centers in Washington DC, Atlanta,

Chicago, Baltimore, Northern Virginia, or on-site at your location.

Visit http://training.figleaf.com/ for more information!

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323379
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Dave Watts

> We have successfully registered .net webservice by passing in username and
> password. However our project requires this webservice be configured as
> "Integrated Windows Authentication". So, the question for us now becomes:
> How to invoke .net webservice requires Windows Authentication?

Well, you can't really, not directly from CF at any rate. "Integrated
Windows Authentication"   isn't supported by CF. Windows (or NTLM)
Authentication sends a hash of the user's password to the server,
instead of the actual password itself as Basic Authentication does.

> Some people said: "only Microsoft products can pass the required protocols
> for Windows Integrated Security".
>
> Is that true? Please share your thoughts.

No, there are other products that support NTLM Authentication. Firefox
does, for example, although it may require configuration.

I would look into using an NTLM proxy. When Googling "ntlm proxy" I
found some possible candidates:

http://sourceforge.net/projects/ntlmaps/
http://cntlm.sourceforge.net/

If the administrators of the web service can enable Basic
Authentication, that would also solve the problem. If they're aiming
for interoperability, they shouldn't require Windows Authentication.
Of course, Basic Authentication does send credentials in
base64-encoded plaintext, so it should be used in conjunction with
SSL/TLS.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323363
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Error register asp.net web service in CF 7 admin

2009-06-10 Thread Hong Chen

Dave,

We have successfully registered .net webservice by passing in username and
password. However our project requires this webservice be configured as
"Integrated Windows Authentication". So, the question for us now becomes:
How to invoke .net webservice requires Windows Authentication?

 

We did some research and also tried different ways to make it work. But we
still without passing in username and password we get the following error:

 

Could not perform web service invocation "UploadFileBasic".  

Here is the fault returned when invoking the web service operation:

 

AxisFault

 faultCode: {http://xml.apache.org/axis/}HTTP

 faultSubcode: 

 faultString: (401)Unauthorized

 faultActor: 

 faultNode: 

 faultDetail: 

  {}:return code:  401

http://www.w3.org/TR/html4/strict.dtd";>

You are not authorized to view this page





  BODY { font: 8pt/12pt verdana }

  H1 { font: 13pt/15pt verdana }

  H2 { font: 8pt/12pt verdana }

  A:link { color: red }

  A:visited { color: maroon }





 

You are not authorized to view this page

You do not have permission to view this directory or page using the
credentials that you supplied because your Web browser is sending a
WWW-Authenticate header fi... 

 

Some people said: "only Microsoft products can pass the required protocols
for Windows Integrated Security". 

Is that true? Please share your thoughts.

 

Thanks,

Hong

 

  

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, June 03, 2009 5:10 PM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin

 

 

> We found the problem. It was a user authentication issue. We were able to

> register the web service with a network username and password and which is

> also a valid username/password in HP Trim.

 

Well, that explains why you had an HTML META tag in the response!

 

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

 

Fig Leaf Software provides the highest caliber vendor-authorized

instruction at our training centers in Washington DC, Atlanta,

Chicago, Baltimore, Northern Virginia, or on-site at your location.

Visit http://training.figleaf.com/ for more information!

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323357
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Error register asp.net web service in CF 7 admin

2009-06-04 Thread Hong Chen

I have learned this is a general error message. It simply tells user that
the java classes(webservice stubs) could not be created. 

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, June 03, 2009 5:10 PM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin


> We found the problem. It was a user authentication issue. We were able to
> register the web service with a network username and password and which is
> also a valid username/password in HP Trim.

Well, that explains why you had an HTML META tag in the response!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323160
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Error register asp.net web service in CF 7 admin

2009-06-03 Thread Dave Watts

> We found the problem. It was a user authentication issue. We were able to
> register the web service with a network username and password and which is
> also a valid username/password in HP Trim.

Well, that explains why you had an HTML META tag in the response!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323132
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Error register asp.net web service in CF 7 admin

2009-06-03 Thread Hong Chen

Dave,
We found the problem. It was a user authentication issue. We were able to
register the web service with a network username and password and which is
also a valid username/password in HP Trim. 
Appreciate your help.
Hong
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, June 03, 2009 10:16 AM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin


> Here is my code: ...

I'm sorry, I wasn't clear. I want to see the WSDL. Can you post that,
or put it online somewhere?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323126
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error register asp.net web service in CF 7 admin

2009-06-03 Thread Dave Watts

> Here is my code: ...

I'm sorry, I wasn't clear. I want to see the WSDL. Can you post that,
or put it online somewhere?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323114
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Error register asp.net web service in CF 7 admin

2009-06-03 Thread Hong Chen

Here is my code:




  




 http:///fileservice.asmx?wsdl"; 
method = "UploadFileBasic"  
returnVariable = "recordNumber">


  
  

 

The way I pass in the base64 binary variable is probably not right. But I
thought if the web service can not register in CF admin, there must be some
problem. 

Thanks,
Hong

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, June 03, 2009 12:06 AM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin


> I got the "Could not generate stub objects for web service invocation."as
I
> posted before when I directly invoke the web service without pre register
it
> in CF Admin.

Based on your original error:

> Could not generate stub objects for web service invocation.
> Name: http:///xxx.asmx?wsdl. WSDL: http:///xxx.asmx?wsdl.
> org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The element type
> "META" must be terminated by the matching end-tag "

it looks like there's a problem with the file that CF's bringing back.
Can you post a copy here?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323111
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error register asp.net web service in CF 7 admin

2009-06-02 Thread Dave Watts

> I got the "Could not generate stub objects for web service invocation."as I
> posted before when I directly invoke the web service without pre register it
> in CF Admin.

Based on your original error:

> Could not generate stub objects for web service invocation.
> Name: http:///xxx.asmx?wsdl. WSDL: http:///xxx.asmx?wsdl.
> org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The element type
> "META" must be terminated by the matching end-tag "

it looks like there's a problem with the file that CF's bringing back.
Can you post a copy here?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323106
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Error register asp.net web service in CF 7 admin

2009-06-02 Thread Hong Chen

Dave,
Thanks for the quick reply. I logged on to the coldfusion server and was
able the see the WSDL on the web browser. 

The project I'm working on involves coldfusion mx7, .net web services, and
HP Trim. The web service I want to register sits on Trim server. When I
tried to register a web service created by our .net developer, I actually
got this error: Error creating web service. Please ensure that you have
entered a correct Web Service name or URL. 

I got the "Could not generate stub objects for web service invocation."as I
posted before when I directly invoke the web service without pre register it
in CF Admin. 

And also I found a registered web service in CF Admin:
http://trim/trimws/trim.asmx?wsdl. My colleague told me this is "production
Trim web service", no client program in our company uses it. I'm not sure
why it was registered in CF Admin if no client program uses it, but when I
refresh/update it, I got the same error as I run the cf code to invoke web
service without pre register it in CF Admin.

I appreciate your help!

Hong


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, June 02, 2009 5:09 PM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin


> We have an ASMX webservice using Visual Studio 2005 and a web application
> project in Visual Studio 2008 that successfully consumes the web service.
> But when I register the web service under CF MX 7 admin, I got the
following
> error:
>
> Could not generate stub objects for web service invocation.
> Name: http:///xxx.asmx?wsdl. WSDL: http:///xxx.asmx?wsdl.
> org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The element type
> "META" must be terminated by the matching end-tag "
>
> ". It is recommended that you use a web browser to retrieve and examine
the
> requested WSDL document for correctness. If the requested WSDL document
> can't be retrieved or it is dynamically generated, it is likely that the
> target web service has programming errors.

What do you get when you use a web browser from the server console to
retrieve and examine the requested WSDL document for correctness? Note
that you have to do this test from the server console, not your own
computer.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323100
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Error register asp.net web service in CF 7 admin

2009-06-02 Thread Dave Watts

> We have an ASMX webservice using Visual Studio 2005 and a web application
> project in Visual Studio 2008 that successfully consumes the web service.
> But when I register the web service under CF MX 7 admin, I got the following
> error:
>
> Could not generate stub objects for web service invocation.
> Name: http:///xxx.asmx?wsdl. WSDL: http:///xxx.asmx?wsdl.
> org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The element type
> "META" must be terminated by the matching end-tag "
>
> ". It is recommended that you use a web browser to retrieve and examine the
> requested WSDL document for correctness. If the requested WSDL document
> can't be retrieved or it is dynamically generated, it is likely that the
> target web service has programming errors.

What do you get when you use a web browser from the server console to
retrieve and examine the requested WSDL document for correctness? Note
that you have to do this test from the server console, not your own
computer.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323093
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Error register asp.net web service in CF 7 admin

2009-06-02 Thread Hong Chen

We have an ASMX webservice using Visual Studio 2005 and a web application
project in Visual Studio 2008 that successfully consumes the web service.
But when I register the web service under CF MX 7 admin, I got the following
error:

 

Could not generate stub objects for web service invocation.
Name: http:///xxx.asmx?wsdl. WSDL: http:///xxx.asmx?wsdl.
org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The element type
"META" must be terminated by the matching end-tag "

". It is recommended that you use a web browser to retrieve and examine the
requested WSDL document for correctness. If the requested WSDL document
can't be retrieved or it is dynamically generated, it is likely that the
target web service has programming errors.

 

Any idea? Thanks.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323091
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4