Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 94410 invoked from network); 21 Jun 2010 15:27:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jun 2010 15:27:45 -0000 Received: (qmail 4750 invoked by uid 500); 21 Jun 2010 15:27:45 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 4704 invoked by uid 500); 21 Jun 2010 15:27:44 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 4696 invoked by uid 99); 21 Jun 2010 15:27:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 15:27:44 +0000 X-ASF-Spam-Status: No, hits=-1534.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 15:27:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5LFRN0x028127 for ; Mon, 21 Jun 2010 15:27:23 GMT Message-ID: <16098471.111261277134043540.JavaMail.jira@thor> Date: Mon, 21 Jun 2010 11:27:23 -0400 (EDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-2858) TransportURIResolver can not get the import resource file correctly In-Reply-To: <1839711.105301277097083956.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880865#action_12880865 ] Daniel Kulp commented on CXF-2858: ---------------------------------- This is somewhat working as designed. By default, the HTTP transport in CXF does not follow redirects (which is what this is trying to do) due to security requirements and such. You can configure a http:conduit in your config for "http://schemas.xmlsoap.org/.*" or similar to turn on redirects. Or, possibly preferrably, have a catalog that maps from one URL to the other. > TransportURIResolver can not get the import resource file correctly > ------------------------------------------------------------------- > > Key: CXF-2858 > URL: https://issues.apache.org/jira/browse/CXF-2858 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Reporter: jimma > Assignee: jimma > > When the TransportURIResolver process this import xsd , > > schemaLocation="http://schemas.xmlsoap.org/soap/envelope"/> > > The server replys with : > Document Moved >

Object Moved

This document may be found here > If we do not set our wsdlLocator , the wsdl4j can resolve this import schema correctly . > Please note this xsd file is actually located on "http://schemas.xmlsoap.org/soap/envelope/ default.xsd" ,It is probably because the TransportURIResolver does not set any http headers to request this resource. Look at if we should set some required http headers to request some http resources. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.