Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Web service 302 object moved error

Guest
Feb 14, 2007 Feb 14, 2007
Hi All,

Last week, IT changed the configuration on our Cisco content switch to redirect every page request to https. Everything seems to be working properly except for our Web services, which I can't seem to consume at all. Here's the error we keep getting:

Could not perform web service invocation "myFunction" because AxisFault faultCode: { http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (302)Object moved faultActor: faultNode: faultDetail: {}string: return code: 302

Does anyone have any experience serving Web services over a content switch that forces a redirect over https? I even get this message when trying to consume over https. Our Web servers think they're not secured at all, maybe this is the problem? I just haven't worked with Web services very much.

Thanks in advance!

Cheers,

-m
TOPICS
Advanced techniques
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Feb 14, 2007 Feb 14, 2007
Hi,

Try deleting your existing Web Services entries in your CFIDE/Administrator... (this may happen due to the existing old stubs)..
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Feb 15, 2007 Feb 15, 2007
LATEST
ColdFusion sometimes has some problems connecting to webservices using HTTPS.

Try Daverms's suggestion first. Recreating or refreshing the webservice in the CFADMIN might fix your problem. Otherwise, if that doesn't work I suggest:

Try saving the WSDL to a local location and running the webservice off the local WSDL. The WSDL should have the location of the actual webservice in it (I think the tag is <ServicePort> or something like that), so it doesn't really matter where the WSDL resides.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources