Unsupported Transport
I am trying to watch a video and did not know if there was anything I could do to make this video play on quick time. I have quick time version 7.5. I keep getting unsupported transport...
Sorry if my answer went over your head.
System Preferences/QuickTime/Advanced
Look under Miscellaneous and remove the check mark for .smil format. Restart your browser for these changes to take effect.
To change what application opens a file (double click action) you need to find the file using the Finder.
Click (just once to highlight) and open the Get Info window (File menu).
About half way down the window you'll see "Open with:" and a pull down menu of choices.
Pick Real Player (if it's in the list) or choose "other" and navigate to the Real Player application. This assumes you've got Real Player (free) installed.
Use the "Change All" button to now open any .smil file with Real Player.
Similar Messages
-
Quicktime 7.1.1. doesn't playback/ ERROR 461 unsupported transport
Greetings,
Quicktime was working fine (well as well as it works), then I decided to go up to Quicktime PRO 7.1.1., when I tried it out for the first time I visited C-Span.org to watch the Daily White House briefing and nothing, just "error 461-unsupported transport."
I have no idea how to correct this problem, but I did look inside the internet plugins directory because I thought possible the VLC plugin was cauing the problem. . . . I haven't downloaded that one yet-because it ain't in there.Quicktime was working
fine (well as well as it works), then I decided to go
up to Quicktime PRO 7.1.1., when I tried it out for
the first time I visited C-Span.org to watch the
Daily White House briefing and
nothing,
You appear to have a choice between Real and Windows
Media streaming here -- not QT. Would assume you need
to install or reinstall one and/or the other playback
components/playeers/plug-ins.
Oh, the bit about the "VLC Plugin," well I didn't know until you mentioned it in your response, but the reason I mentioned it was because I read another post within-believe it or not the MAC OS portion on the discussion group about removing the "VLC Plugin," and NO wonder I don't have a VLC Plugin IT'S WINDOWS.
But, just for a moment forget the second paragraph of my complaint-question, consider only the top portion by itself and see if you can determine a course of action for this situation... Thank you, sorry that I have so thoroughly confused the issue. . . Martin
G3 IBook 800mhz Mac OS X (10.4.6) Any help is appreciated -
Unsupported Transport 461 = Inability to Play Video Clips
My QuickTime upgrade has turned out to be a major WasteOTime. It will play anything except the video clip off NPR (Human Voice Shattering Glass...) I'm trying to play. All I see when I attempt to open the file is the lower part of the QuickTime player, the words "unsupported transport" quickly scroll by and the number "461" settles into the info bar. "461" is the QuickTime error code for "unsupported transport." That seems to have something to do with my firewall, and Quicktime's recommended "fix" is to go to the Quicktime Preferences and under "Advanced" set Transport Setup Protocol to HTTP. I did all that and the same thing happens all over again. Yet if I go to the QuickTime site and try to play one of their clips there, no problem. It's also frustrating that no one else in the Apple community seems to have ever encountered this problem with Quicktime, which seems highly unlikely. Any suggestions?
G-4 PowerBook Mac OS X (10.4.9)Here is the URL: http://www.npr.org/templates/story/story.php?storyId=10255528
I was able to take a look at this NPR video clip using a newly downloaded and installed version of Real Player. I will have to try the "repair permissions and restart" option down the line, but I have no doubt it will work. For whatever reason I still need to be reminded of such critical details. Thank you for that reminder!
G-4 PowerBook Mac OS X (10.2.x)
G-4 PowerBook Mac OS X (10.2.x) -
Unsupported Transport, Error Code 461
When I try to view a CCN video, I get Unsupported Transport, Error Code 461.
What does this mean? How can I fix it?RabbitCR, what is the URL of the video?
-
Unsupported Transport of audio files
Since upgrading to 10.4.3 I am unable to listen to online radio audio files. I get a message that says "unsupported transport" Any ideas on what's wrong?
I have had similar problems with other internet downloads. Cant download firefox etc.Likewise...my horse race replays are blocked because of "unsupported transport". however, all downloads are intact; including realoneplayer, quicktime, OS X 10.1.1 etc. The computer directs attention to other deficiencies which are not valid. The rejections comes with suggestion: Must use OS X 10.1 or later ???? Baffled the engrs at the center in Canada which controls/offers real live horse races and replays. Need Help!!!
-
Downloading video "unsupported transport"
I have Quick Time Pro and am trying to download unprotected video from this UN site:
http://www.un.org/webcast/unfccc/2007/index.asp?go=10071215
It will not even play - I get the message "unsupported transport."
I can play these files on my Windows machine with Real Player but can't download them.
I really need to do this so I can edit and use for an educational presentation in early March. Can someone help?
ThanksThat is a Real Player video. Works fine for me.
To download it you will need the Real Player 11 beta for Mac:
http://www.real.com/mac/realplayer?pageid=macSuperPassPage&pageregion=playerbutton&src=guide%2Csp_os_mac&pcode=rn&opage=sp_osmac
It's a free download. -
Recieving error when signing a document
When signing a document, users are receiving >>Timestamp signature property generation error: Unsupported transport protocol
Time Stamp Server is configued as Server URL: IP Address of Time Server
Any ideas on how to resolve this error?Hi,
The problem is probably the URL for the timestamp server is an SSL address (i.e. https://) and the certificate that the OS needs to validate the SSL connection is not available. One thing to try is to copy the address for the timestamp server and paste it into a browser. This may give you the option of installing the SSL certificate.
Steve -
Is there any documentation on setting this up? The video accelerator and license are enabled. I have setup a windows media server (wms) in my lab. I'm using windows media player for my client to connect to the wms via a url. The core waas is reporting TGDL on the connection and the branch side is reporting TDL. The wms is actually behind the branch waas.
WAAS version 4.2.1
Core WAE = 7341
Branch WAE = 574
Core side output
98358 x.x.x.x:1323 172.16.205.165:554 00:26:55:ad:5c:cc TGDL 87.4%
VIDEO:
Global Statistics
Time elapsed since "clear statistics": 14days 22hr 55min 11sec
Video Connections
==================================================================
Connections handled num %
Total handled 3 100.00
Windows-media live accelerated 0 0.00
Un-accelerated pipethrough 3 100.00
Un-accelerated dropped due to config 0 0.00
Error dropped connections 0 0.00
Windows-media active sessions current peak
Outgoing (client) sessions 0 0
Incoming (server) sessions 0 0
Sessions waiting for timeout 0
Unaccelerated Connections num %
Total Unaccelerated 3 100.00
Unsupported player 0 0.00
Unsupported transport 0 0.00
Unsupported protocol 0 0.00
Windows-media VoD 3 100.00
Max stream bitrate exceeded 0 0.00
Max aggregate bitrate overload 0 0.00
Max concurrent sessions overload 0 0.00
Other 0 0.00
Error dropped connections num %
Total errors 0 0.00
Client timeouts 0 0.00
Server timeouts 0 0.00
Client stream errors 0 0.00
Server stream errors 0 0.00
Other errors 0 0.00
Windows-media byte savings
==================================================================
% Bytes saved Incoming(server) bytes Outgoing(client) bytes
0.00 0 B 0 B
Windows-media aggregate bitrate current max
==================================================================
Total bitrate 0 bps 0 bps
Outgoing(client) bitrate 0 bps 0 bps
Incoming(server) bitrate 0 bps 0 bps
Policy Engine Statistics
Session timeouts: 0, Total timeouts: 0
Last keepalive received 00.4 Secs ago
Last registration occurred 14:22:55:17.5 Days:Hours:Mins:Secs ago
Hits: 3, Update Released: 0
Active Connections: 0, Completed Connections: 3
Drops: 0
Rejected Connection Counts Due To: (Total: 0)
Not Registered : 0, Keepalive Timeout : 0
No License : 0, Load Level : 0
Connection Limit : 0, Rate Limit : 0
Minimum TFO : 0, Resource Manager : 0
Global Config : 0, Server-Side : 0
DM Deny : 0, No DM Accept : 0
Auto-Discovery Statistics
Total Connections queued for accept: 3
Connections queuing failures: 0
Socket pairs queued for accept: 3
Socket pairs queuing failures: 0
AO discovery successful: 0
AO discovery failure: 0
Branch side output
99726 x.x.x.x:1323 172.16.205.165:554 00:21:5e:75:ff:74 TDL 86.3%
VIDEO:
Global Statistics
Time elapsed since "clear statistics": 0days 0hr 10min 17sec
Video Connections
==================================================================
Connections handled num %
Total handled 0 0.00
Windows-media live accelerated 0 0.00
Un-accelerated pipethrough 0 0.00
Un-accelerated dropped due to config 0 0.00
Error dropped connections 0 0.00
Windows-media active sessions current peak
Outgoing (client) sessions 0 0
Incoming (server) sessions 0 0
Sessions waiting for timeout 0
Unaccelerated Connections num %
Total Unaccelerated 0 0.00
Unsupported player 0 0.00
Unsupported transport 0 0.00
Unsupported protocol 0 0.00
Windows-media VoD 0 0.00
Max stream bitrate exceeded 0 0.00
Max aggregate bitrate overload 0 0.00
Max concurrent sessions overload 0 0.00
Other 0 0.00
Error dropped connections num %
Total errors 0 0.00
Client timeouts 0 0.00
Server timeouts 0 0.00
Client stream errors 0 0.00
Server stream errors 0 0.00
Other errors 0 0.00
Windows-media byte savings
==================================================================
% Bytes saved Incoming(server) bytes Outgoing(client) bytes
0.00 0 B 0 B
Windows-media aggregate bitrate current max
==================================================================
Total bitrate 0 bps 0 bps
Outgoing(client) bitrate 0 bps 0 bps
Incoming(server) bitrate 0 bps 0 bps
Policy Engine Statistics
Session timeouts: 0, Total timeouts: 0
Last keepalive received 01.1 Secs ago
Last registration occurred 10:16.5 Mins:Secs ago
Hits: 3, Update Released: 0
Active Connections: 0, Completed Connections: 0
Drops: 0
Rejected Connection Counts Due To: (Total: 3)
Not Registered : 1, Keepalive Timeout : 0
No License : 0, Load Level : 0
Connection Limit : 0, Rate Limit : 0
Minimum TFO : 0, Resource Manager : 0
Global Config : 0, Server-Side : 2
DM Deny : 0, No DM Accept : 0
Auto-Discovery Statistics
Total Connections queued for accept: 0
Connections queuing failures: 0
Socket pairs queued for accept: 0
Socket pairs queuing failures: 0
AO discovery successful: 0
AO discovery failure: 0Thanks for the response.
ok it looks like I have it working now, but I'm not seeing it split the streams. I see 2 sessions for the incoming server, not 1.
Core side
99567 x.x.x.x:1178 172.16.205.165:554 00:26:55:ad:5c:cc TV 00.0%
99633 x.x.x.x:1718 172.16.205.165:554 00:26:55:ad:5c:cc TV 00.0%
VIDEO:
Global Statistics
Time elapsed since "clear statistics": 0days 0hr 16min 38sec
Video Connections
==================================================================
Connections handled num %
Total handled 2 100.00
Windows-media live accelerated 2 100.00
Un-accelerated pipethrough 0 0.00
Un-accelerated dropped due to config 0 0.00
Error dropped connections 0 0.00
Windows-media active sessions current peak
Outgoing (client) sessions 2 2
Incoming (server) sessions 2 2
Windows-media byte savings
==================================================================
% Bytes saved Incoming(server) bytes Outgoing(client) bytes
0.00 37.26 MB 37.26 MB
labwaascore1#
Branch side
100935 x.x.x.x:1178 172.16.205.165:554 00:21:5e:75:ff:74 T 00.0%
101001 x.x.x.x:1718 172.16.205.165:554 00:21:5e:75:ff:74 T 00.0% -
CTS+ error while transporting
Hi Folks,
We have configured CTS+ for our systems using PI7.1 system as the CTS+ system.
Please find the below error.
Deployment
Transport request : SIDK900107
System : SID
tp path : tp
Version and release: 372.04.40 701
CTS Deploy Service - Version 0.93 06.03.2007
Deploy web service destination = CTSDEPLOY
Directory = /usr/sap/trans/data
SDM Deploy URL =
SLD Deploy URL =
XI Deploy URL =
Double-stack system SID
Deploy for XIR
Deploy File = fed1b8b087ae11deadef001a4bf58938
Error in execution of Web services CTSDEPLOY , exception is cx_ai_system_fault
SOAP:1.007 SRT: Unsupported xstream found: (HTTP Code 401 : Unauthorized)
Return Code = 12
Highest Return Code = 12
Deployment
End date and time : 20090813064458
The RFC is working fine.
Any suggestions ?
Thanks
PradeepHi,
can you look at this configuration
[https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20ccd0ec-2839-2b10-0097-828fcd8ed809&overridelayout=true]
Regards,
Muralidhar -
Getting 415 Unsupported Media Type error when calling a windows web service
I have a BPEL process that invokes a windows web service. This process is working currently on the production system. When trying to run the process in a new test clustered environment, I'm getting the error below (bolded).
We're using 10.1.3.3 Oracle Application Server and BPEL. Please advise on what config files might need to be tweaked to fix this.
InvokeWindowsLoggingWebService(faulted)
[2010/04/16 17:26:35] Faulted while invoking operation "WriteLog" on provider "WindowsLoggingWebService". less
-<messages>
-<input>
-<InvokeWindowsLoggingWebService_InputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
-<WriteLog xmlns="http://tempuri.org/">
<FileAbsolutePath>
R:\CV & RM\upload_from_test.log
</FileAbsolutePath>
<Content>
||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
</Content>
<NewLineDelimiter>
|
</NewLineDelimiter>
</WriteLog>
</part>
</InvokeWindowsLoggingWebService_InputVariable>
</input>
-<fault>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
</summary>
</part>
</remoteFault>
</fault>
</messages>
[2010/04/16 17:26:35] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
</summary>
</part>
</remoteFault>I generated a proxy service in jdev and used the same parms as was done on OAS...
<WriteLog xmlns="http://tempuri.org/">
<FileAbsolutePath>
R:\CV & RM\upload_from_test.log
</FileAbsolutePath>
<Content>
||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
</Content>
<NewLineDelimiter>
|
</NewLineDelimiter>
</WriteLog>
and was able to call the service fine and it returned successful. Just seems to be an issue on the server when I execute it from there. -
Mail adapter error: Unsupported protocol: linsmtp [null "null"]
Hi,
Idoc to Mail adapter. First time working with mail adapter.
When I tried to send messages from transaction "SO00", i'm able to receive the mail which means the connection is fine from XI to mail server.
But when I try to send the file using mail adapter, it is failing in adapter engine with the error below.
Success Mail: calling the adpter for processing
Error Mail: call failed; com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
Success Mail: sending a delivery error ack ...
Success Mail: sent a delivery error ack
Error Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
2010-11-12 14:12:02 Error Exception caught by adapter framework: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"]
2010-11-12 14:12:02 Error Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol: linsmtp [null "null"].
Checked SMICM -- GOTO-->Services --> SMTP is active with green tick.
Receiver adapter:
Transport Protocol = SMTP
Message Protocol = XIPAYLOAD or XI ALL
URL = SMTP:linsmtp.sap.com
Not using User Authentication
User/ Password given - No userid/pwd
From, To = mail id
Content Encoding = try with none or base64*
Is there any setting which I need to do? how to connect and send message to mail server?
Thanks
Deepthi.Hi,
My connection is working now when I downloaded the xsd and executed in the mapping as described in the blog.
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
Connection is working fine now, but im getting the below payload.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>TESTING</Subject>
<From>deepthi at testing.com</From>
<To>deepthi at testing.com</To>
<Content>Testing purpose</Content>
</ns1:Mail>
The question is how to get my actual message which looks like below. this is the Idoc to file map and the resultant output file looks like below
<?xml version="1.0" encoding="UTF-8"?>
<ns0:order xmlns:ns0="http://testing/xi/OrderProcessing">
<document_type>ZU</document_type>
<vendor_number>200000</vendor_number>
<vendor_email_address/>
<vendor_address_line_1>XXXXXX</vendor_address_line_1>
<vendor_address_line_2>XXXXXXXXX</vendor_address_line_2>
<vendor_address_line_3>123242343244566</vendor_address_line_3>
<vendor_address_line_4>US</vendor_address_line_4>
<delivery_address_line_1>1433</delivery_address_line_1>
<delivery_address_line_2>test</delivery_address_line_2>
</ns0:order>
How to send this file as email attachment using mail adapter. Do I need to use 2 maps?
looks like Mail adapter is working only when we use the xsd which is given above and by providing the required details.
Kindly help me if anyone worked on mail adapters.
Thanks
Deepthi, -
Unsupported response content type "text/html", must be: "tex
Hi Gurus,
I'm trying to access a WebService (http://200.68.11.21/WebServices/RecibeMsgSoapISP.wsdl), but I've been facing the following problem below. Could anybody help me?
//****************************** MY CODE
FileInputStream file = new FileInputStream("c:\\EXE\\deuda2.xml");
byte[] bytes = new byte[file.available()];
file.read(bytes);
String xml = new String(bytes);
System.out.println("Xml:\n" + xml);
URL endPoint =
new URL(
"http://200.68.11.21/WebServices/RecibeMsgSoapISP.wsdl");
Call call = new Call();
SOAPTransport m_httpConnection =
new org.apache.soap.transport.http.SOAPHTTPConnection();
call.setSOAPTransport(m_httpConnection);
call.setTargetObjectURI("urn:RecibeMsgSoapIsp");
call.setMethodName("RecibeM2TGR");
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
//SOAPTransport st = new SOAPHTTPConnection();
//call.setSOAPTransport(st);
Vector params = new Vector();
params.addElement(new Parameter("StrXml", String.class, xml, null));
call.setParams(params);
//call.setHeader();
Response response = call.invoke(endPoint, "");
Parameter result = response.getReturnValue();
System.out.println("result:" + result);
//****************************** MY EXCEPTION
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html dir=ltr>
<head>
<style> a:link {font:8pt/11pt verdana; color:FF0000} a:visited {font:8pt/11pt verdana; color:#4e4e4e}
</style>
<META NAME="ROBOTS" CONTENT="NOINDEX">
<title>No se puede mostrar la página</title>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
</head>
<script>
function Homepage(){
<!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
DocURL=document.URL;
//this is where the http or https will be, as found by searching for :// but skipping the res://
protocolIndex=DocURL.indexOf("://",4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf("/",protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf("#",1) + 1;
urlresult=DocURL.substring(BeginURL,serverIndex);
//for display, we need to skip after http://, and go to the next slash
displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
InsertElementAnchor(urlresult, displayresult);
function HtmlEncode(text)
return text.replace(/&/g, '&').replace(/'/g, '"').replace(/</g, '<').replace(/>/g, '>');
function TagAttrib(name, value)
return ' '+name+'="'+HtmlEncode(value)+'"';
function PrintTag(tagName, needCloseTag, attrib, inner){
document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) );
if (needCloseTag) document.write( '</' + tagName +'>' );
function URI(href)
IEVer = window.navigator.appVersion;
IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );
return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ?
encodeURI(href) :
escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';');
function InsertElementAnchor(href, text)
PrintTag('A', true, TagAttrib('HREF', URI(href)), text);
//-->
</script>
<body bgcolor="FFFFFF">
<table width="410" cellpadding="3" cellspacing="5">
<tr>
<td align="left" valign="middle" width="360">
<h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->No se puede mostrar la página</h1>
</td>
</tr>
<tr>
<td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt verdana">No se puede mostrar la página que está buscando porque la dirección de la página es incorrecta.</font> </td>
</tr>
<tr>
<td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt verdana">
<hr color="#C0C0C0" noshade>
<p>Pruebe lo siguiente:</p>
<ul>
<li>Si escribió la dirección de la página en la barra de direcciones, compruebe que la ha escrito correctamente.<br>
</li>
<li>Abra la página principal
<script>
<!--
if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2")))
Homepage();
//-->
</script>
y busque vínculos a la información que desee.</li>
</ul>
<h2 style="COLOR:000000; FONT: 8pt/11pt verdana">HTTP 405 – Resource not allowed<br> Servicios de Internet Information Server</h2>
<hr color="#C0C0C0" noshade>
<p>Información técnica (para personal de soporte)</p>
<ul>
<li>Más información:<br> Soporte técnico de Microsoft
</li>
</ul>
</font></td>
</tr>
</table>
</body>
</html>
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
at test.Test.main(Test.java:42)
Best regards,
GeorgeIs this statement that causes the exception? "Response response = call.invoke(endPoint, "");"
If so you might be able to catch the SOAPException and interogate the response variable - surround the call with a try, catch block and within the catch you can get the MimeHeaders and check "Content-Type" If it's "text/html" then you know it not a SOAP message so don't use the SOAP api calls.
It sounds like the web service is offline and the web server is trying to send you an HTML error page which of course is not a SOAP message and so a SOAPException is thrown. -
I am having a very strange issue with my CAC card. I wrote a small Java program to login into ProjectForge.mil webservice
ICollabNetSoap m_sfSoap = (ICollabNetSoap)
ClientSoapStubFactory.getSoapStub(ICollabNetSoap.class, "https://project.forge.mil/");
String sessionId = m_sfSoap.login("", "");
After entering CAC PIN, it is throwing exception saying that "javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate".
More specific exception is:
Caused by: java.security.InvalidKeyException: Unsupported key type: SunPKCS11-MyPKCS11 RSA private key, 2048 bits (id 39632224, token object, sensitive, unextractable)
Note: I have asked three of my co-workers to run the same program using their CAC's and seems to be working fine.
Only the difference between their CACs and mine is CA(Certificate Authority Value. Their's is 24 and where as mine is 25). It looks like JVM was not able to understand the private key of my CAC.
On the other note, my CAC cworks fine with web service client application that was written in .Net.
I am using Jdk-1.6.0_26 and I have already downloaded and installed latest jce .jar files.
Any help is greatly appreciated
Here are the exception details:
=======================================
[java] Tue Aug 02 17:07:54 MST 2011 URL assignment worked
[java] Tue Aug 02 17:07:54 MST 2011 Trying login...
[java] Exception in thread "main" AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[java] faultSubcode:
[java] faultString: javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate
[java] at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
[java] at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
[java] at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
[java] at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
[java] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
[java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
[java] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
[java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
[java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
[java] at org.apache.axis.client.Call.invoke(Call.java:2767)
[java] at org.apache.axis.client.Call.invoke(Call.java:2443)
[java] at org.apache.axis.client.Call.invoke(Call.java:2366)
[java] at org.apache.axis.client.Call.invoke(Call.java:1812)
[java] at com.collabnet.ce.soap50.webservices.cemain.CollabNetSoapStub.login(CollabNetSoapStub.java:115)
[java] at com.collab.examples.LoginTF.main(LoginTF.java:30)
[java] {http://xml.apache.org/axis/}hostname:GDYL8420N5B
[java] javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate
[java] at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
[java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
[java] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
[java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
[java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
[java] at org.apache.axis.client.Call.invoke(Call.java:2767)
[java] at org.apache.axis.client.Call.invoke(Call.java:2443)
[java] at org.apache.axis.client.Call.invoke(Call.java:2366)
[java] at org.apache.axis.client.Call.invoke(Call.java:1812)
[java] at com.collabnet.ce.soap50.webservices.cemain.CollabNetSoapStub.login(CollabNetSoapStub.java:115)
[java] at com.collab.examples.LoginTF.main(LoginTF.java:30)
[java] Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate
[java] at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
[java] at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
[java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
[java] at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
[java] at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
[java] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
[java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
[java] ... 11 more
[java] Java Result: 1
==================================================================
I have captured more specific exception which says
Caused by: java.security.InvalidKeyException: Unsupported key type: SunPKCS11-MyPKCS11 RSA private key, 2048 bits (id 39632224, token object, sensitive, unextractable)Thanks, I have installed OpenSSL.
Here is the PEM copy of my certificate
==================================================
-----BEGIN CERTIFICATE-----
MIIElTCCA32gAwIBAgIDG5RgMA0GCSqGSIb3DQEBBQUAMFcxCzAJBgNVBAYTAlVT
MRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RvRDEMMAoGA1UE
CxMDUEtJMRIwEAYDVQQDEwlET0QgQ0EtMjUwHhcNMTEwMzI1MDAwMDAwWhcNMTIw
NTI4MjM1OTU5WjCBjDELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4gR292ZXJu
bWVudDEMMAoGA1UECxMDRG9EMQwwCgYDVQQLEwNQS0kxEzARBgNVBAsTCkNPTlRS
QUNUT1IxMjAwBgNVBAMTKVlBUlJBUFVSRUREWS5TT01BU0VLSEFSQS5SRUREWS4x
Mzg2Nzc5MDM4MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArPjzB0Lk
FAMegXbka3944sAm2jq7qKGnpIYhL82/gAj7zJzAPJsoE66L9spiEoDfh0osy2pO
wqH/0NfQdGjgIGjDG2OrKhTxYXBqKZk2p7V84H4RK5duB8JU7B7R7uY+U9RkyiNd
YuSycGXKULGa5eow/OCCI3iN8A+4NjpvswKhw3WvWhDow4xl1x6E6I89RhscU78z
D6VtamidLK8mCWDihplmSFtCCCK5RsUjv/KuZcASAHe3Tb7di2Fb68liS5Yhf5v7
SrezRYHbHpAZMOImy74t1UzcGkHFkE5kO4SPbAcVyhMwzE3aZNubXl5biQCEmxqh
80HvckcQj+b5TwIDAQABo4IBMjCCAS4wHwYDVR0jBBgwFoAULgtl+dZl3kujJXWk
oS6FIUBzuQowNQYDVR0fBC4wLDAqoCigJoYkaHR0cDovL2NybC5kaXNhLm1pbC9j
cmwvRE9EQ0FfMjUuY3JsMA4GA1UdDwEB/wQEAwIGwDAjBgNVHSAEHDAaMAsGCWCG
SAFlAgELCTALBglghkgBZQIBCxMwHQYDVR0OBBYEFFhzyfk4PpY2JzyrNAH+ka4n
MDLRMGMGCCsGAQUFBwEBBFcwVTAxBggrBgEFBQcwAoYlaHR0cDovL2NybC5kaXNh
Lm1pbC9zaWduL0RPRENBXzI1LmNlcjAgBggrBgEFBQcwAYYUaHR0cDovL29jc3Au
ZGlzYS5taWwwGwYDVR0JBBQwEjAQBggrBgEFBQcJBDEEEwJVUzANBgkqhkiG9w0B
AQUFAAOCAQEATpknlaaGiKZRNL+8YNgVy2kQDEFgdg/O4tB7NBRq3PiyUodnpOur
2WbML+ViDMv7IxKEKUGnOgpc9CRNCR3+NERmaeVShlQwfF/3PjZ/DWiSuSMD79qC
Y+tom4AkV69kLKl/O07Ql+jYh+Uy1x+MGWm46QsdOU5kwXHvPrgBI+5IpOrhXAW9
DmOfTbdpmQvQHBC8nnLscrolQutLQtOIN60mRZmJG1x762sGNQsFgO8fTOus+C8v
rlGafWRi/BJxlQCB3qb5nvI1TI68DLlqvgvX8IR7fpL/tq222PDAorpGf23YpSQt
9x1xD5aZLkgYIICa6/L1Yus9FjtCR6eHug==
-----END CERTIFICATE-----
======================================================= -
Unsupported Content-Type: application/soap+xml
I've created a simple composite application with a bpel jbi module using glassfishesbv21.
The bpel process starts when I invoke a webservice (soap-binding).
When I run a test case for the ca everything works fine.
When I call the webservice from an external web application, the client (created with netbeans wizard bundled in glassfishesbv21) obtains the response as expected and doesn't report any exception while the server rises a com.sun.xml.ws.server.UnsupportedMediaException.
Googoling I found that this maybe caused by the use of soap1.1 and soap1.2 but is also true that JAX-WS runtime should look into the WSDL to determine the binding being used and configures itself accordingly.
the stacktrace is:
Finished processing outbound messages.
Request doesnt have a Content-Type
com.sun.xml.ws.server.UnsupportedMediaException: Request doesnt have a Content-Type
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:267)
at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
at com.sun.xml.ws.transport.http.HttpAdapter.invokeAsync(HttpAdapter.java:341)
at com.sun.jbi.httpsoapbc.embedded.JAXWSGrizzlyRequestProcessor.processAsynchRequest(JAXWSGrizzlyRequestProcessor.java:386)
at com.sun.jbi.httpsoapbc.embedded.JAXWSGrizzlyRequestProcessor.service(JAXWSGrizzlyRequestProcessor.java:220)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.jbi.httpsoapbc.embedded.JBIGrizzlyAsyncFilter.doFilter(JBIGrizzlyAsyncFilter.java:95)
at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:291)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:128)
====[com.sun.xml.ws.assembler.server:request]====
<?xml version="1.0" ?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<soap-env:Header>
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>
<wsa:To>http://localhost:19081/coreAnagrafeUpdateService/coreAnagrafeUpdatePort</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>uuid:778b135f-3fdf-44b2-b53e-ebaab7441e40</wsa:MessageID>
</soap-env:Header>
<soap-env:Body></soap-env:Body>
</soap-env:Envelope>
============
====[com.sun.xml.ws.assembler.server:response]====
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns="">
<faultcode>S:Server</faultcode>
<faultstring>javax.jbi.messaging.MessagingException: HTTPBC-E00798: Message normalization failed</faultstring>
</S:Fault>
</S:Body>
</S:Envelope>
============
Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:291)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:128)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:287)
====[com.sun.xml.ws.assembler.server:request]====
<?xml version="1.0" ?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<soap-env:Header>
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>
<wsa:To>http://localhost:19081/coreAnagrafeUpdateService/coreAnagrafeUpdatePort/mex</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>uuid:778b135f-3fdf-44b2-b53e-ebaab7441e40</wsa:MessageID>
</soap-env:Header>
<soap-env:Body></soap-env:Body>
</soap-env:Envelope>
============
the wsdl is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions name="coreAnagrafeUpdateService"
targetNamespace="http://service.box.nexus.com/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://service.box.nexus.com/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <types>
<xsd:schema>
<xsd:import namespace="http://service.box.nexus.com/" schemaLocation="core_anagrafe.xsd"/>
</xsd:schema>
</types>
<message name="coreAnagrafeUpdateOperationRequest">
<part name="parameters" element="tns:requestParameter"/>
</message>
<message name="coreAnagrafeUpdateOperationResponse">
<part name="parameters" element="tns:coreAnagrafeResponse"/>
</message>
<message name="coreAnagrafeUpdateOperationFault">
<part name="part1" element="tns:faultMessage"/>
</message>
<portType name="coreAnagrafeUpdatePortType">
<operation name="coreAnagrafeUpdateOperation">
<input message="tns:coreAnagrafeUpdateOperationRequest"/>
<output message="tns:coreAnagrafeUpdateOperationResponse"/>
<wsdl:fault name="fault1" message="tns:coreAnagrafeUpdateOperationFault"/>
</operation>
</portType>
<binding name="coreAnagrafeUpdateBinding" type="tns:coreAnagrafeUpdatePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="coreAnagrafeUpdateOperation">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</operation>
</binding>
<service name="coreAnagrafeUpdateService">
<port name="coreAnagrafeUpdatePort" binding="tns:coreAnagrafeUpdateBinding">
<soap:address location="http://localhost:19081/coreAnagrafeUpdateService/coreAnagrafeUpdatePort"/>
</port>
</service>
</definitions>
Can anyone help me to understand the problem and solve it?
Thanks in advance.Hi,
Content-Type: application/xml
...check for the content type of the message that is sent ot the WS.....with the above mentioned content-type going to the WS currently...WS is not able to parse the req and hence the error....in other words wrong format being being passed.
Regards,
ABhishek. -
Hi I am in trouble with JAX-WS 2.1.2M1
I try to call my Webservice like this:
Service service = Service.create(serviceName);
service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, "http://spblue.liberty:8084/SPBlue/GlobalLogoutService");
Dispatch<SOAPMessage> disp = service.createDispatch(portName, SOAPMessage.class, Service.Mode.MESSAGE);
SOAPMessage message = XmlUtil.getSOAPMessageFromString(request);
SOAPMessage response = disp.invoke(message);when my disp invokes I get following Exception which seems to as a little Problem, anyway I don�t know how to get rid of this Exception.
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text/xml]
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:116)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:280)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:158)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
at com.sun.xml.ws.client.Stub.process(Stub.java:234)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:166)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:192)
at test.service.Logout.requestLogout(Logout.java:115)
at test.service.Logout.main(Logout.java:149)
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
my ServiceClass is:
@ServiceMode(value=Service.Mode.MESSAGE)
@WebServiceProvider( targetNamespace="http://spblue.liberty:8084/wsdl/globalLogout")
public class GlobalLogoutServiceImpl implements Provider<SOAPMessage> {
* Web service operation
public SOAPMessage invoke( SOAPMessage logoutRequest ){
return logoutRequest;
}So how can I set the Charachter set before invokikng the service.
Or how can I change the Service to accept UTF-8.
Well, I don�t know.
Any help is welcome.Hi,
I don't know if this can help you, but I had a similar problem while invoking a web service. Eventually, I found out that the server was returning an html error page, and not the expected xml answer.
That's why the client code raises such an error... It means that the MIME type of the anser is text/html (for the html page) and not the text/xml type of the 'nominal' web service answer.
You can verify this by using a proxy to intercept the http request and answer involved in this web service invocation (use Fiddler for instance). Then, you will see that the server responds by sending an html page saying that something is wrong.
Hope this helps...
Sam
Maybe you are looking for
-
Closing Illustrator CS5 in Windows 7
I recently installed my copy of Illustrator from the Web Premium Package on a new computer on which Windows 7 Pro 64bit is the OS. I have no problen with the program until I exit it. I close the proigram by going to File > Exit, as one would normal
-
Where can i find the Output workspace in the Bridge?
I am in the process of doing my class assignment and need to use the Output workspace in the Bridge. The Output button is not displayed. I am using Adobe CC. Please I need your assistance. Thanks, Paulette
-
WSDL + SPML ??
I need help to create WSDL web services to read SPML message ?? any example ??
-
VENDOR-EXTERNAL_ID could not be found error while loading supplier conatact
Hi, Please somebody answer to my doubt. I am trying to load supplier contact to CLM. I am getting "VENDOR-EXTERNAL_ID could not be found" error for all the entries even though those vendors are present in the system. Kindly help this, This is bit urg
-
I cannot pair iPad