Helpme I have error when I try connect from struts to web service
helpme I have error when I try connect from struts to web service using basic authentication . the error message is
[SOAP Exception: fault code= SOAP-ENV Protocol; msg=Unsupported response content type "text/html" must be "text/xml"; ] Response was <html><body> 401 Unauthorized </body></html>
I'm not using ldap for authentication only xml (jazx-data.xml) ... I already create user with jazn.jar for that user , and I dont know why it still error like that ..
Please helpme I don't have anytime more to find the mistake , ??
I'm using Jdeveloper 9i , and oc4j 9.0.4 Server (Not embedded with Jdev)
But when I use with sample java client it success .....
then I try with Struts the response is unsupported response content type text/html must be text/xml response was 401 Unauthorized
1.The reason why this error occurs is, we are getting non SOAP response when the program is expecting a SOAP response. Did you set the proxy server correctly? Try to handle the exception and see the content type of the response in your program.
2. While creating the client stub u must check an option for authentication for webservice .should solve ur problem.
thanks
sirisha
Similar Messages
-
Network-related or Instance-specfic error when attempting remote connection from SSMS
Hello,
I have installed SQL Server express on a Win7 desktop and want to connect to it via SSMS on a laptop. I have set up a SQL login on the desktop so I can login, but when I try to connect to the instance from the laptop via SSMS I get the error 26 with saying
there is a network related or instance specific issue and that there is an error locating the Server/Instance specified.
I am trying to connect to a named instance on the SQL Server on the win desktop. Remote connections are enabled and TCP 1433 and UPD 1434 ports are open in Windows Firewall. Antything else I should watch for?
ThanksHi MrDAndersen,
According to your description, you come across the errors of pre-login handshake and wait operation timing out. Please help to post the full error log for further analysis.
Based on my research, this issue could occur when .NET Framework 4.5 and non-IFS BSP/LSP are installed on the machine, and non-IFS BSP/LSP interferes with the call to Winsock.
To work around the issue, you could use one of the two methods below.
1. Determine whether a non-IFS BSP or LSP is installed. You could use the "netsh WinSock Show Catalog" command and examine every Winsock Catalog Provider Entry item that is returned. If the 0x20000 bit is clear (not set), it is a non-IFS BSP or
LSP and remove the installed non-IFS Winsock LSPs. For more information about the process, please refer to the article:
http://support.microsoft.com/kb/2568167
2. Download and apply .NET Framework 4.5.2:
http://www.microsoft.com/en-us/download/details.aspx?id=42643
There are two connect items for your reference.
https://connect.microsoft.com/VisualStudio/feedback/details/745004/
https://connect.microsoft.com/VisualStudio/feedback/details/729323
Best regards,
Michelle Li -
Encountering a RunTime error when I try running from command prompt
When I try to load my class from the command prompt I get the error:
Exception in thread "main" java.lang.NoClassDefFoundError: MiniTriangle
Since this seems like a pretty basic error, I'm hoping there's a black and white solution to it. Unfortunatly I don't have the slightest idea what that might be.
Any help would be appreciated, thanks in advance!!!I'm pretty new to this myself but have encountered this error before. I've found it happens when you try to run the programme and the class name isn't the same as the file name. So if you named the text file when you wrote the code MiniTriangle when you compile it you will get a file called MiniTriangle.class which is what you are trying to run. However if you inadvertently misspelled the class definition in the code and entered say
class MiniTringle {
you would get the error you are experiencing when you try to run MiniTriangle.class
Hope this helps -
Error when setting up connection from Universe Designer to Oracle database
Hello,
I am attempting to create a connection to an Oracle 10 database in Universe Designer. I am currently running Business Objects XI 3.1 SP3 on a 32 bit machine. I have the Oracle client installed. In Universe Designer when I attempt to create a new connection using the Oracle 10 client I receive the following error.
CS:DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll (The specified module could not be found.)
The dbd_oci.dll file does exist in the directory listed above. Has anyone encountered this issue?
Thanks in advance.
BrockHello Brock,
Do you have multiple SQL clients installed on your system? If so, uninstall the previous versions. Check if the PATH variable is set to correct bin path and then try testing it again.
Regards,
Sanjay -
I am trying to connect an IPOD Touch with my car radio via USB port. Using proper cable which works. When I connect the auto radio automatically tries to hook up with the Ipod but then displays "reading error"
The the car-system manyfacturer say it will work with your model iPod and its iOS?
Not all do. -
When I click on a link on a website meant for e-mailing--using Windows 7 I no longer have the option of sending it through my AOL Desktop software as I used to in Windows XP. Is there an option in Firefox that will allow me to use the AOL Desktop software as my default e-mail program?
This didn't work. There is no option provided in Firefox for AOL--no add on either. And windows 7 does not let you use a browser based e-mail--even you change the registry--it will bring you to the AOL browser but won't open a "write" e-mail box and enter the name of the recipient automatically as it did in Windows XP by changing the option in internet options...someone must have a way of doing this...
-
Error: When deploying the DC after adding the web services
Hi Experts,
I was able to add the Webservice sucessfully.
I execute the Webservice using the following code
Request_ServiceHttpGet_getMaterialInfo Catalogue_Req = new Request_ServiceHttpGet_getMaterialInfo();
wdContext.nodeRequest_ServiceHttpGet_getMaterialInfo().bind(Catalogue_Req);
wdContext.currentRequest_ServiceHttpGet_getMaterialInfoElement().modelObject().execute();
wdComponentAPI.getMessageManager().reportSuccess("After WS Execution");
I am getting the foloowing error, durring the deployment.
[javac] Compiling 130 source files to /usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/classes
/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/wdp/IPublicCC_CatalogueWS.java:666: package javax.xml.soap does not exist
public javax.xml.soap.SOAPElement get_any() {
^
/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/wdp/IPublicCC_CatalogueWS.java:702: incompatible types
found : javax.xml.soap.SOAPElement
required: java.lang.Object
return gen_modelInstance.get_any();
^
/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/wdp/IPublicCC_CatalogueWS.java:1016: incompatible types
found : javax.xml.soap.SOAPElement
required: java.lang.Object
return gen_modelInstance.get_any();
^
Note: /usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/CreatePRPOView.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
Ant build finished with ERRORS
file:/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/DCs/xxxx/dc/_comp/gen/default/logs/build.xml:168: Compile failed; see the compiler error output for details.
Please help me to solve the same.
I am using NWDI for development.
Thanks & Regards,
PalaniHi Palani,
Clear the CBS chache and if you are using old project reimport every thing. after that pls try to set path for Servlet.jar file which you can locate inside the standard sap.com DC which you will get indise the installed NWDS path,like:-
/dtc/0/DCs/SAP.COM/servlet/_comp/gen/default/public/default......
Hope this may help you.
Deepak!!! -
Error when calling Get-AzureBiztalkService from Windows Azure BizTalk Services Management Sample
I've downloaded and built the Windows Azure BizTalk Services Management Sample from
https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3
I've imported the module into PowerShell and have run the following script successfully
$sub = '<subscription id>'
$cert = get-childitem -path cert:\CurrentUser\My\<certifcate thumbprint>
Set-AzureSubscription -SubscriptionName "Test" -SubscriptionId $sub -Certificate $cert
select-azuresubscription -SubscriptionName "Test"
replacing <subscription id> with my Azure subscription id from the portal and <certifcate thumbprint> with a thumbprint from a self signed certificate in my personal store.
am now trying the following command
get-azurebiztalkservice -resourcename "oraman8"
where "oraman8" is my BizTalk Service and getting the following
Get-AzureBizTalkServiceProperties : Error in subscription or certificate.
At line:1 char:1
+ Get-AzureBizTalkServiceProperties -ResourceName "oraman8"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-AzureBizTalkServiceProperties], Exception
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.BizTalkService.GetAzureBizTalkServiceProperties
thanks in advance for any help
OmarAre you not using port 1433 for SQL? Is the telnet successful on that port?
-
I have plugged my iphone 5s into windows computer, the computer picks up that its there and starts charging but keeps coming up with error message when i try connect to itunes... HELP!!!
What does the error message say? (Precise text, please.)
-
"Unable to connect to server" I have wifi connection but I'm getting this error when I try to purchase an app. Why? If anyone knows can you please help me thank you in advance. :-(
Can you load a webpage in Safari with that wifi connection? If so then it's a problem with the iTunes Store app connection. If not then your wifi isn't fully functional and you need to troubleshoot that first.
-
HT5622 I have a connection error when I try to sign on to icloud, what is wrong?
I have a connection error when I try to sign on to icloud, what is wrong? My phone is stolen and I'm trying to track it. Icloud was working fine earlier today. Help anybody please!
If you are getting this error when trying to use icloud.com on a computer, follow these steps.
-
I am from the states and am in Greece on vacation. I have a good wifi connection yet keep getting a connection timed out error when I try to access the itunes store. It is funny because pending downloads show up in the cue, and they download no problem. I can also open my account. When I try to go the the movies or music section of the stor though it just times out. I tried updating to the latest itunes software and restarting, also I checked all the proxy boxes in the network section of the settings then unchecked them all and restarted and it keeps doing the same thing. Any help would be appreciated.
ThanksWelcome to AD!
There's been plenty of posts about Norton & the removal tool here. Unfortunately many folks seem to not even know it comes pre-installed on most PCs! Even a trial version, never used or long since expired can cause problems - and not just with iTunes.
Anyone with a Dell, HP, Gateway EEE PC, Asus ..... what Windows PC manufacturer does NOT have this junk software pre-installed?
Almost all of them have made deals with Symantec to pre-install it.
Horrible, horrible software.
Anyway, glad you finally solved your problem. -
"Unauthorized Host" error when you try to connect to the admin server
"Unauthorized Host" error when you try to connect to the admin server
<p>
If you see this error message when you try to connect to a Netscape
administration server:<P>
Internal Error
The administration server was unable to fulfill your request.
Reason: Unauthorized host
--------------------------<P>
Here is how to solve the problem and gain access. First you should
temporarily open access to all sites, and then once you make sure that
this lets you get into your administration server, try again to set up
the domain name or IP address access restrictions you want.<P>
For all 2.x/3.x Netscape servers on Windows NT and Unix, or for Commerce and
Communications servers (1.x) on Unix:<P>
<OL>
<LI>Open the "ns-admin.conf" file with a text editor. You can
find this file in the "admserv" directory under your Netscape
server root. The directory is named "admin-serv" in 3.x servers.<P>
<LI>Delete the "Hosts" and "Addresses" lines you see there (either one
of them might not be present). Don't confuse the "Addresses" line,
which you should delete, with the "Address" line, which you should NOT
delete.<P>
<LI>Save the file, then restart your administration server (on Unix run
"stop-admin" then "start-admin"; on Windows NT go into the Services
control panel and stop/start the "Netscape Admin Server" service).<P>
</OL><P>
For Commerce Server or Communications Server (1.x) on Windows NT:<P>
<OL>
<LI>Go into the registry editor. On Windows NT 4.0, run the command
"regedit". On Windows 3.51, run the command
"regedt32".<P>
<LI>Navigate down to the section
"HKEY_LOCAL_MACHINE\SOFTWARE\Netscape\Administration".<P>
<LI>Delete the "Hosts" and "Addresses" entries you see there (either one
of them might not be present). Don't confuse the "Addresses" entry,
which you should delete, with the "Address" entry, which you should NOT
delete.<P>
<LI>Close the registry editor, then restart your administration server
by going into the Services control panel and stopping then starting the
"Netscape Administration" service.<P>
</OL>
Now try again to access your administration server. Remember, the URL
will be something like "http://servername:12345/", where
"12345" is where the administration server's port number goes.<P>
If you still get the same "Unauthorized host" error, then make sure that
your "ns-admin.conf" file really doesn't contain any "Hosts" or
"Addresses" lines any more, and try stopping your administration server
again then starting it back up.<P>
Once you have access to your administration server, you can try again to
set up the access controls you want.<P>
<UL>
<LI>For the administration server on a 3.x server installation, select
"Admin Preferences" from the General Administration page (the first page
you see when you connect to the admin server), then click on "Superuser Access
Control" and enter hostname and IP address restrictions. If you want
allow access to multiple clients, you'll have to use wildcard patterns
(separate the subsrings with a pipe character, like
"(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
If you're setting up hostname restrictions, you'll need to make sure that
your DNS can resolve those hostnames -- it's generally safer to stick
with IP address restrictions. When you're finished configuring this,
click "OK" then restart your admin server.<P>
<LI>For the administration server on a 2.x server installation, select
"Configure Administration" from the Server Selector page (the first page
you see when you connect to the admin server), then click on "Access
Control" and enter hostname and IP address restrictions. If you want
allow access to multiple clients, you'll have to use wildcard patterns
(separate the subsrings with a pipe character, like
"(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
If you're setting up hostname restrictions, you'll need to make sure that
your DNS can resolve those hostnames -- it's generally safer to stick
with IP address restrictions. When you're finished configuring this,
click "OK" then restart your admin server.<P>
<LI>For the administration server on a 1.x server installation, select
"Configure Administration Server" from the bottom of the Server Manager
page, then enter hostname and IP address restrictions. If you want
allow access to multiple clients, you'll have to use wildcard patterns
(separate the substrings with a pipe character, like
"(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
If you're setting up hostname restrictions, you'll need to make sure that your
DNS can resolve those hostnames -- it's generally safer to stick with IP address
restrictions.
When you're finished configuring this, click "Make These Changes" then
restart your admin server.<P>
</UL><P>
If you still find yourself getting an "Unauthorized host" error message,
you can use the above steps to open up access and try different
settings.<P>"Unauthorized Host" error when you try to connect to the admin server
<p>
If you see this error message when you try to connect to a Netscape
administration server:<P>
Internal Error
The administration server was unable to fulfill your request.
Reason: Unauthorized host
--------------------------<P>
Here is how to solve the problem and gain access. First you should
temporarily open access to all sites, and then once you make sure that
this lets you get into your administration server, try again to set up
the domain name or IP address access restrictions you want.<P>
For all 2.x/3.x Netscape servers on Windows NT and Unix, or for Commerce and
Communications servers (1.x) on Unix:<P>
<OL>
<LI>Open the "ns-admin.conf" file with a text editor. You can
find this file in the "admserv" directory under your Netscape
server root. The directory is named "admin-serv" in 3.x servers.<P>
<LI>Delete the "Hosts" and "Addresses" lines you see there (either one
of them might not be present). Don't confuse the "Addresses" line,
which you should delete, with the "Address" line, which you should NOT
delete.<P>
<LI>Save the file, then restart your administration server (on Unix run
"stop-admin" then "start-admin"; on Windows NT go into the Services
control panel and stop/start the "Netscape Admin Server" service).<P>
</OL><P>
For Commerce Server or Communications Server (1.x) on Windows NT:<P>
<OL>
<LI>Go into the registry editor. On Windows NT 4.0, run the command
"regedit". On Windows 3.51, run the command
"regedt32".<P>
<LI>Navigate down to the section
"HKEY_LOCAL_MACHINE\SOFTWARE\Netscape\Administration".<P>
<LI>Delete the "Hosts" and "Addresses" entries you see there (either one
of them might not be present). Don't confuse the "Addresses" entry,
which you should delete, with the "Address" entry, which you should NOT
delete.<P>
<LI>Close the registry editor, then restart your administration server
by going into the Services control panel and stopping then starting the
"Netscape Administration" service.<P>
</OL>
Now try again to access your administration server. Remember, the URL
will be something like "http://servername:12345/", where
"12345" is where the administration server's port number goes.<P>
If you still get the same "Unauthorized host" error, then make sure that
your "ns-admin.conf" file really doesn't contain any "Hosts" or
"Addresses" lines any more, and try stopping your administration server
again then starting it back up.<P>
Once you have access to your administration server, you can try again to
set up the access controls you want.<P>
<UL>
<LI>For the administration server on a 3.x server installation, select
"Admin Preferences" from the General Administration page (the first page
you see when you connect to the admin server), then click on "Superuser Access
Control" and enter hostname and IP address restrictions. If you want
allow access to multiple clients, you'll have to use wildcard patterns
(separate the subsrings with a pipe character, like
"(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
If you're setting up hostname restrictions, you'll need to make sure that
your DNS can resolve those hostnames -- it's generally safer to stick
with IP address restrictions. When you're finished configuring this,
click "OK" then restart your admin server.<P>
<LI>For the administration server on a 2.x server installation, select
"Configure Administration" from the Server Selector page (the first page
you see when you connect to the admin server), then click on "Access
Control" and enter hostname and IP address restrictions. If you want
allow access to multiple clients, you'll have to use wildcard patterns
(separate the subsrings with a pipe character, like
"(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
If you're setting up hostname restrictions, you'll need to make sure that
your DNS can resolve those hostnames -- it's generally safer to stick
with IP address restrictions. When you're finished configuring this,
click "OK" then restart your admin server.<P>
<LI>For the administration server on a 1.x server installation, select
"Configure Administration Server" from the bottom of the Server Manager
page, then enter hostname and IP address restrictions. If you want
allow access to multiple clients, you'll have to use wildcard patterns
(separate the substrings with a pipe character, like
"(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
If you're setting up hostname restrictions, you'll need to make sure that your
DNS can resolve those hostnames -- it's generally safer to stick with IP address
restrictions.
When you're finished configuring this, click "Make These Changes" then
restart your admin server.<P>
</UL><P>
If you still find yourself getting an "Unauthorized host" error message,
you can use the above steps to open up access and try different
settings.<P> -
Have uploaded and installed CC 2014. Several apps give this error when I try to start them: "Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders"
-or-
The icon in the dock bounces once, and nothing happens.Windows or Mac, and exactly which operating system version?
-
My 2nd generation ipod touch is giving me the following error when I try accessing Itunes or the app store. "Cannot connect to the Store. A secure connection could not be established. Please check your date & time settings" I am on a secure networkl.
Can't connect to the iTunes Store
Make sure that time zone is correct in addition to date and time
Maybe you are looking for
-
Unable to create a customizing request to transport BPC10 content to Quality
Hi Unable to create a customizing request to transport BPC10 content to Quality . From the transport connections tab, i am selecting the required objects and then clicking the transport truck but it does not pop up and ask for a transport request . S
-
Replicating windows trackpad gesture in OS-X - drag to edge
While the Mac Trackpad is superior in almost every way, there is one missing feature I loved on my Dell Laptop (Windows 7). It is hard to describe, and thus, hard to search for info on. Basically, on my windows touchpad, I can tap and drag an object
-
Java.sql.SQLDataException: ORA-01882: timezone region not found
i am new in jdeveloper 11g.i using jdeveloper 11g version. Studio Edition Version 11.1.1.0.0 Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156 Studio Edition Version 11.1.1.0.0 Firefox3 - 3.0.3 os : fedora 9 -- Linux myname 2.6.25-14.fc9.i686 #1 SMP
-
Can't open Safari after downloading update this morning
Macbook pro, OSX Mavericks Can't open Safari. Did an Apple update this morning and when i click on Safari, it just bounces. won't open
-
Parallel currency for deprciation areas
Company code currency is npr and group currency is INR. When creating the asset it is giving the error as Derived deprciation error. Asset INTERN-00001 0 group asset CoCd. 2400 E028 The constituent areas of derived area