UTL_DBWS support of the Secuity call to the Web Service.:
I am invoking a webservice, by making use of the package URL_DBWS.INVOKE procedure.
my request xml containss the security information as part of the request header.
when i make a invoke call, i am getting the following error.:
: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: An error was discovered processing the <wsse:Security> header
at "WIM210.UTL_DBWS",
: at "WIM210.UTL_DBWS",
: at line 68
I am using the Oracle 11g, could any body tell me why is this error coming.
The exeption we are getting is BEA-380000
General runtime error: [Security:090477]Certificate chain received from XXX - 123.123.123.123 --> test.salesforce.com was not trusted causing SSL handshake failure.
This is of course not relevant if the callout were using CONNECT. In the CONNECT scenario, OSB would not care about XXX's certificate.
Similar Messages
-
I have a outlook 2007 plugin created in VS 2008 that reads calendar meetings. This plugin also works with outlook 2010. I used to debug this application from VS 2010 as well.
Last month, I installed Office 365 to test something. Later I uninstalled this version but after that my plugin application is crashing, every time a new appointment/meeting is created in calendar.
I get the below error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook._AppointmentItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}'
failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
Tekriti SoftwareThanks for your sharing and have a nice day.
Yoyo Jiang[MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Running Windows 8.1 PRO RTM x64 upgraded from Win 8 PRO. Updates to 8.1 as of 17 October installed
Event viewer still shows newly triggered Error(s) CAPI2 event id 513.
I can trigger this error by manually creating a restore point invoking VSS.
The VSS System Writer is listed and is error free.
Log Name: Application
Source: Microsoft-Windows-CAPI2
Date: 17/10/2013 20:32:19
Event ID: 513
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Machine -Name
Description:
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.
Details:
AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.
System Error:
Access is denied.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-CAPI2" Guid="{5bbca4a8-b209-48dc-a8c7-b23d3e5216fb}" EventSourceName="Microsoft-Windows-CAPI2" />
<EventID Qualifiers="0">513</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2013-10-17T19:32:19.935384000Z" />
<EventRecordID>89898</EventRecordID>
<Correlation />
<Execution ProcessID="1404" ThreadID="2104" />
<Channel>Application</Channel>
<Computer>Machine-Name</Computer>
<Security />
</System>
<EventData>
<Data>
Details:
AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.
System Error:
Access is denied.
</Data>
</EventData>
</Event>Thank you excellent post! I confirmed this fix worked for my situation as well. Below is more detailed post since it did not jump out for me the first time.
############################ Details ##############################
My operating system is Windows 8.1 after installing Visual Studio 2013 when Symantec System recover 2013 ran started seeing
the following errors in event logs.
################## Example event log errors #######################
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.
Details:
AddLegacyDriverFiles: Unable to back up image of binary Microsoft Link-Layer Discovery Protocol.
System Error:
Access is denied.
################## Example event log errors #######################
Note: Confirmed this fix resolved my issue.
Step 1. Download and unzip accesschk.exe to C:\Temp http://download.sysinternals.com/files/AccessChk.zip
Step 2. Run cmd.exe prompt as Administrator go to Temp directory
C:\>cd Temp
Step 3. Run accesschk.exe
C:\Temp>accesschk.exe -c mslldp
################# Example output 1 #################################
Accesschk v5.10 - Reports effective permissions for securable objects
Copyright (C) 2006-2012 Mark Russinovich
Sysinternals - www.sysinternals.com
mslldp
RW NT AUTHORITY\SYSTEM
RW BUILTIN\Administrators
RW S-1-5-32-549
R NT SERVICE\NlaSvc
################# Example output 1 #################################
Step 4. Run following command.
C:\Temp>SC sdshow MSLLDP <---- Example text 1.
################# Example output 2 #################################
D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;LCRPWP;;;S-1
-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
################# Example output 2 #################################
Step 5. Run following command.
C:\Temp>SC sdshow MUP
################# Example output 3 #################################
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)
(A;;CCLCSWLOCRRC;;;SU) ######## <--- Example text 2. Grab this value. #######
S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
################# Example output 3 #################################
Step 6.
C:\Temp>
### Copy and past Example 1. line in notepad in command promt you can select all then copy the paste the text into notepad.
MSLLDP D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)
(A;;CCLCSWLOCRRC;;;SU) ######## <--- Insert Example text 2. here #######
S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
Run this command. (Note: Make sure its all one line no wordwrap that the webpage could be showing this text.)
C:\Temp> sc sdset MSLLDP D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
Step 7.
##### Check the result #####
C:\Temp>accesschk.exe -c mslldp
################# Example output 4 #################################
Accesschk v5.10 - Reports effective permissions for securable objects
Copyright (C) 2006-2012 Mark Russinovich
Sysinternals - www.sysinternals.com
mslldp
RW NT AUTHORITY\SYSTEM
RW BUILTIN\Administrators
RW S-1-5-32-549
R NT SERVICE\NlaSvc
R NT AUTHORITY\SERVICE <--- You should now see this line.
################# Example output 4 #################################
Step 8.
Ran backup using Symantect System Recovery 2013 the event errors did not return after this fix. Great post again!
############################ Details ############################## -
SINCE i UPGRADED TO 0S4 the lost calles and the history `s calle faild
Does anybody has problems with the lost and history calles ? Since i made the upgrade i have no data about the calles that i make or recieve or the ones that i lost.
If anybody know how to fix this, i ´ll be very thankfull.No i don`t loose the music neither the photos.
i only don`t have anymore the history of the lost calles and the recent calles.
i recieved a lot of calles, but they don`t appear anymore as "In" calles or "out" calles or "lost" calles.
How can i fix that. I also restored the iphone and they still do not appear.
All you guys have no problem. For example if you recieve a call, It appear on the history the caller id and the time you recieve that call. i had those datas in the past, but since i upgrade, now is not working anymore -
This happened to me when I received a call. My phone started vibrating when it received the incoming call but the screen was black and kept vibrating like as if the call was still coming in, even though my friend hung up. It kept going and going, so I tried holding down the lock button to turn it off but screen was still black/turned off. Hitting home did nothing. My friend said to try holding down the lock button and home button together to reset it. I tried this and yet nothing happened. I am waiting for the battery to drain out and give it a try.
To reset, you have to press both the home and sleep/wake buttons until the Apple logo appears - takes 10-15 seconds.
-
Using the UWL API inside a Web Service
I wrote a Web Service to get the number of new tasks and the total number of tasks for a user like it is displayed in the UWL in the DefaultView.
The numbers are retrieved by the following code:
user = com.sap.security.api.UMFactory.getAuthenticator().getLoggedInUser();
// JNDI lookup for getting the service because we are not in the PRT container
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory");
InitialContext initialContext = new InitialContext(env);
uwlService = (IUWLService) initialContext.lookup("/broker/services/" + IUWLService.ALIAS_KEY);
if (uwlService == null) {
throw new Exception("Cannot get UWL Service");
context = new UWLContext();
if (user == null) {
throw new Exception("No user");
context.setUser(user);
context.setLocale(user.getLocale());
session = uwlService.beginSession(context, 200);
context.setSession(session);
context.setAllowBackEndConnections(true);
itemManager = uwlService.getItemManager(context);
UWLView view = uwlService.getViewManager(context).getView("DefaultView", context);
if (view != null) {
QueryProperties properties = new QueryProperties();
properties.setMaxNumberOfItemsToFetch(0);
QueryResult result = itemManager.getItemsForView(context, view, properties, null);
totals = itemManager.getTotalAndEmphasizedItemCountForView(context, view, "", null);
In the first step I chose basic authentication. When debugging I see that the web service gets the information about the logged on user. The UWLService, item manager, session and view, all of them are determined resp. created.
But when calling getItems the UWL exception "Logged in users context or session doesn't exist" is thrown.
When calling the same functionality from Web Dynpro everything works fine.
Service and session are determined like this
uwlService = (IUWLService) WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);
context = new UWLContext();
IUser user = WDClientUser.getLoggedInClientUser().getSAPUser();
wdContext.currentUIStateElement().setUserName(user.getFirstName() + " " + user.getLastName());
context.setUser(user);
context.setLocale(WDResourceHandler.getCurrentSessionLocale());
session = uwlService.getUwlSessionForWebDynproClient(context);
Does anyone know how to work with the UWL API in a web service context?
Thanks in advance
AntjeHi Experts,
We are also facing the same issue as of Yomesh.
The strange part here is that, yesterday, the code was fetching the User and we were able to run the whole web service.
Suddenly, this doesnt seems to be working today. And after debugging, we found that, the User is not being returned with the below code:
user = UMFactory.getAuthenticator().getLoggedInUser(wsContext.getHttpServletRequest(), null);
Any help is highly appreciated.
Thanks in Advance!!
BR,
Uday -
How to pass the user & pass dynamically for web services in composite.xml
My project calling external secure web services.now i hardcode the username and password in composite.xml. i need to pass dynamically.Anyone can help me?
OK, got it. Need to set the variable in the correct component in opmn.xml file.
-
How to disable href/id in the generated response of a web-service
Hello All,
Do I have any possibility to disbale href/id on the generated response of a web-service that use RPC-encoded format? My generated soap body looks like this:
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<m:Response xmlns:m="http://www.myTest.com">
<result xmlns:n1="java:com.myTest" xsi:type="n1:Response">
<ResultObject xsi:type="n1:ResultObject">
<firstString href="#ID_6" />
<integerObject href="#ID_13" />
<secondString href="#ID_6" />
</ResultObject>
<ResultObject xsi:type="n1:ResultObject">
<firstString href="#ID_6" />
<integerObject href="#ID_13" />
<secondString href="#ID_6" />
</ResultObject>
<ResultObject xsi:type="n1:ResultObject">
<firstString href="#ID_6" />
<integerObject href="#ID_13" />
<secondString href="#ID_6" />
</ResultObject>
</result>
</m:Response>
<xsd:int xsi:type="xsd:int" id="ID_13">10</xsd:int>
<xsd:string xsi:type="xsd:string" id="ID_6">EUR</xsd:string>
</env:Body>
Do I have any possibility to instruct the serialization process so that the result to conform with an XML schema and to keep the RPC-Encoded format? In other words to get rid of href/id:s? Href/id:s are used only for objects having the same reference.
This issue is now even more problematic since JDK 5 when for integers boxing is not necessarily and thus, the compiler translates an Integer assignment using the method:
public static Integer valueOf(int i)
which returns cached Integer objects for any integer between -128 and 127.
Please give some hints (others than using boxing for integers or changing the soap format to document-literal).
ThanksHello All,
Do I have any possibility to disbale href/id on the generated response of a web-service that use RPC-encoded format? My generated soap body looks like this:
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<m:Response xmlns:m="http://www.myTest.com">
<result xmlns:n1="java:com.myTest" xsi:type="n1:Response">
<ResultObject xsi:type="n1:ResultObject">
<firstString href="#ID_6" />
<integerObject href="#ID_13" />
<secondString href="#ID_6" />
</ResultObject>
<ResultObject xsi:type="n1:ResultObject">
<firstString href="#ID_6" />
<integerObject href="#ID_13" />
<secondString href="#ID_6" />
</ResultObject>
<ResultObject xsi:type="n1:ResultObject">
<firstString href="#ID_6" />
<integerObject href="#ID_13" />
<secondString href="#ID_6" />
</ResultObject>
</result>
</m:Response>
<xsd:int xsi:type="xsd:int" id="ID_13">10</xsd:int>
<xsd:string xsi:type="xsd:string" id="ID_6">EUR</xsd:string>
</env:Body>
Do I have any possibility to instruct the serialization process so that the result to conform with an XML schema and to keep the RPC-Encoded format? In other words to get rid of href/id:s? Href/id:s are used only for objects having the same reference.
This issue is now even more problematic since JDK 5 when for integers boxing is not necessarily and thus, the compiler translates an Integer assignment using the method:
public static Integer valueOf(int i)
which returns cached Integer objects for any integer between -128 and 127.
Please give some hints (others than using boxing for integers or changing the soap format to document-literal).
Thanks -
What is the best practice for developing web service?
Hi All,
I'm a newbee to web services...
I was wondering what would be the best approach in developing a web service,
using tools or programmatic approach?
If I use WebLogic Workshop, am I tied to a vendor?
Is it possible for me to develop web services using workshop and deploy in
another app server..?
I would appreciate if somebody could give me a pointer to start.
I have already referred BEA's docs.
I'm still confused on a good starting point on the best approach to develop
protable web services.
Thanks in advance for any inputs.
K KK K-
You have a very valid point on the simplify or complicate matters. If you are
going for clean and not-so-time-centric code, then there are several different
programs and packages out there you can choose from.
Since you are specialized in J2EE, than the Sun package may be what you are looking
for. BEA's classes simplify much of the work you will be doing, but you could
emulate their classes or extend yours above the functions provided in theirs.
It all boils down to how much work are you willing to do.
If you are asking for more detailed, coding 'Design Patterns' to utilize, I would
wait for a few more posts from other folks as my work often requires me to utilize
the tools provided.
Sincerely,
Eric Ballou
"K K" <[email protected]> wrote:
Eric,
Thanks for the response.
I was also looking at Sun's WSDP 1.1, which is more programmatic approach.
Some how, I feel being a J2EE developer, I should go on the direction
of the
programmatic approach.
Using the tools could simplify or complicate things. Also, the Workshop
samples import all weblogic specific packages.
My code looks so dirty with many vendor specific packages being imported.
Could you give me your suggestions for a clean and neat approach?
I would personally prefer to avoid the quick and dirty approach.
Thanks again.
"Eric Ballou" <[email protected]> wrote in message
news:[email protected]...
K K-
The best approach in developing portable web services is knowing whatyou
are
planning on using them for as well as how much is willing to be spent,etc.
BEA's Workshop is portable to other frameworks, but the ease ofintegrating a
developed client or a developed server can very greatly. Even moreof an
issue
is migration from one framework to another. If you choose to developin
Workshop
and your company later deploys .Net solutions, some of your work mayhave
to be
redone unless the company is willing to keep portions of the 'old'system
around
until new versions of the service are available. However, Workshophas
several
ant tools available that would assist you in deploying to other appservers or
even a stand-alone application should you need cross framework abilities.
If you are just starting out in web services, http://www.webservices.org
is a
good place to start checking out vendors in the space.
Sincerely,
Eric Ballou
"K K" <[email protected]> wrote:
Hi All,
I'm a newbee to web services...
I was wondering what would be the best approach in developing a web
service,
using tools or programmatic approach?
If I use WebLogic Workshop, am I tied to a vendor?
Is it possible for me to develop web services using workshop and deploy
in
another app server..?
I would appreciate if somebody could give me a pointer to start.
I have already referred BEA's docs.
I'm still confused on a good starting point on the best approach todevelop
protable web services.
Thanks in advance for any inputs.
K K -
I have two web service operations that have the same complex type as their input
parameter. I want to map this type to an existing schema. I can successfully
do this with the first operation using XQuery but when I attempt to do this with
the second operation I get the following error:
ERROR: MyService.jws:715:There are two or more operations with the same schema-element
'ns0:MyNamespace' on the input message in a web service file or callback interface.
ERROR: SUGGESTION: Use different schema-element values for each of those operations.
How can I use different schema-element values? The input parameters are to be
mapped to the same schema and same element since they are the same for both operations....I am having the same problem. How did you resolve this..?? could you please tell me the solution??
Thanks
Shari -
We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means
Hello,
Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
For example:
Report server:http://uebi.cloudapp.net/reportserver
Report manager:http://uebi.cloudapp.net/reports
If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
on port 80.
Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
What are the steps to Migrate a Web Service from Tomcat to JBoss
Hi,
I am totally new to JBoss and need some help. I mostly worked on BEA and Oracle. I have a web service deployed on Tomcat that needs to be now migrated to JBoss. What are the steps in moving a web service from Tomcat to JBoss.
Is there some step by step tutorial on developing and deploying a web service on JBoss along with sample build script.
Any help is really appreciated.
ThanksR u using axis. If you want to stick with axis and don't want to use JBossWS there is nothing else you need to do. Move all the axis to Jboss. If you plan to reimplement all ur services in JBossWS here it is:
http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start
http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide
Let me know if you need anything else. -
Problems using the Java API inside a Web Service
Hi,
after I've built a standalone Java RMI client, using the API, I wanted to use the same code in a Web Service I've built and deployed in tomcat (jwsdp-1.3). But i ran into a few problems..
- although I have the exact same code in both programs, the one in the web service simply blocks when I initiate the Locator class (see above...);
- all the .jar's that I use in the client are deployed in the WEB-IF/lib of the web service directory on tomcat;
- no exceptions are thrown in tomcat, so i don't know what's going on;
Is there any specific configuration for the API to run on tomcat?
Could it be that the .jar's needed by the Locator class may have some kind of conflict with the ones in tomcat?
Thanks...
Note: The code on the client is totaly stable and fully operational.
The web service uses java.rmi.Remote (extends Remote).
Here's part of the code:
Properties env = new Properties();
env.setProperty("orabpel.platform", "oc4j_10g");
env.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
env.setProperty("java.naming.provider.url","ormi://dellpc05/orabpel");
env.setProperty("java.naming.security.principal","admin");
env.setProperty("java.naming.security.credentials","welcome");
Locator locator = new Locator("default", "bpel", env);
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
(...)I've put a
try{Locator...}
}catch(Throwable t) {
System.out.println(t.getMessage());
t.printStackTrace();
around the Locator..
I still don't know why it's throwing this...
Here's what it gets:
before Locator
javax/jms/JMSException
java.lang.NoClassDefFoundError: javax/jms/JMSException
at com.evermind.server.ThreadState.getCurrentState(ThreadState.java:206)
at com.evermind.server.rmi.RMIConnection.checkServletCaller(RMIConnection.java:3448)
at com.evermind.server.rmi.RMIConnection.<init>(RMIConnection.java:181)
at com.evermind.server.rmi.RMIServer.addNode(RMIServer.java:856)
at com.evermind.server.rmi.RMIServer.getConnection(RMIServer.java:953)
at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:309)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.collaxa.cube.util.CXBeanRegistry.lookupDomainManagerBean(CXBeanRegistry.java:205)
at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:84)
at com.oracle.bpel.client.Locator.<init>(Locator.java:120)
at com.oracle.bpel.client.Locator.<init>(Locator.java:91)
at dmc.tm.resultprovider.ResultProviderImpl$ResultProviderThread.taskTimeoutExceeded(ResultProviderImpl.java:231)
at dmc.tm.resultprovider.ResultProviderImpl$ResultProviderThread.run(ResultProviderImpl.java:160) -
New to Web Services - need to call a HTTPS web service from PL/SQL
I am new to Web Services and need to call HTTPS web service from PL/SQL program. I am using 10g Database.
I have been reading there are 2 options -
1. UTL_HTTP - with this package its possible to call HTTPS web services
2. UTL_DBWS
Questions -
1. Is it possible to call a HTTPS web service using UTL_DBWS ? I have not been able to find any information on it.
2. Can someone point me to UTL_HTTP and UTL_DBWS examples calling a HTTPS web service ?
3. The HTTPS web service that I need to call needs username/password to connect - how will I incorporate this in the pl/sql code ?
Appreciate the help.
Cheers,
newWebServicesUserHi,
1. UTL_DBWS not work for https from what I understand
2. Here is a sample example:
[http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php#]
Be careful, you must change http/1.0 IN 1.1 inside package SOAP_API.
Here is an example for a prime number where the SOAP message is already construct:
CREATE OR REPLACE procedure test_ws_2
IS
http_req utl_http.req;
http_resp utl_http.resp;
request_env varchar2(32767);
response_env varchar2(32767);
begin
-- Set proxy details if no direct net connection.
UTL_HTTP.set_proxy('http://<USER>:<PASS>@10.0.2.21:8070', NULL);
UTL_HTTP.set_persistent_conn_support(TRUE);
request_env:='<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">'||
'<SOAP-ENV:Body><GetPrimeNumbers xmlns="http://microsoft.com/webservices/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'||
'<max xsi:type="xsd:int">10</max>'||
'</GetPrimeNumbers></SOAP-ENV:Body></SOAP-ENV:Envelope>';
dbms_output.put_line('Length of Request:' || length(request_env));
dbms_output.put_line ('Request: ' || request_env);
http_req := utl_http.begin_request('http://www50.brinkster.com/vbfacileinpt/np.asmx','POST', utl_http.HTTP_VERSION_1_1);
utl_http.set_header(http_req, 'Content-Type', 'text/xml; charset=utf-8');
utl_http.set_header(http_req, 'Content-Length', length(request_env));
utl_http.set_header(http_req, 'SOAPAction', '"http://microsoft.com/webservices/GetPrimeNumbers"');
utl_http.write_text(http_req, request_env);
dbms_output.put_line('');
http_resp := utl_http.get_response(http_req);
dbms_output.put_line('Response Received');
dbms_output.put_line('--------------------------');
dbms_output.put_line ( 'Status code: ' || http_resp.status_code );
dbms_output.put_line ( 'Reason phrase: ' || http_resp.reason_phrase );
utl_http.read_text(http_resp, response_env);
dbms_output.put_line('Response: ');
dbms_output.put_line(response_env);
utl_http.end_response(http_resp);
end test_ws_2;
Otherwice for testing url, i recommand you to use that function: Re: Error using UTL_HTTP over HTTPS
it's a verry helpful function when you have an error.
wrote:
When testing using UTL_HTTP, you MUST ensure that you open a new session after importing the SSL certificates into your Wallet,
as I've learned (the hard way) that existing sessions point to the wallet contents that were present when the session was opened.
If you don't realise/know this, it can cause a lot of additional frustration during testing, when you keep getting the ORA-29024 exception AFTER
you've imported the SSL certificates................. ;) 3. i think you can use that after the begin_request but not sure :
UTL_HTTP.set_authentication(r => http_req,
username => ,
password => ,
scheme => ,
for_proxy => );
Edited by: Malebodja on Oct 22, 2009 6:53 AM
Edited by: Malebodja on Oct 22, 2009 6:55 AM -
Crystal Reports 2008 fails when called from e Web Service under 64bit OS
I have discovered that Crystal Reports 2008 doesn't work when called from a Web Service running under 64bit Windows platforms (in my case Windows 2003 Server and Windows XP 64bit); practically no object is instantiated. I've tried several solutions without success.
Before creating a wrapper component to use under COM+, is there anybody who has a better and cheaper solution than creating another component to wrap CR 2008 ?Hi Sergio,
Before I mark this post as assumed answered I would just like to say and re-iterate that at this time there is no one answer and we fully understand your concerns. As you know in CR 6.0 it came in 16 and 32 bit versions because at the time 32 bit was relatively new but 16 bit was the norm. This is also true for 32 to 64 bit, 32 is the norm and 64 bit is relatively new. We know and are well aware 64 bit is the future and we are working as quickly as we can to move in that direction. Because of the complexity of the Product it's not simply a matter of re-compiling all of our dll's in 64 bit format. The core of our data connectivity with our database drivers which are dependant on third party clients must also need to support 64 bit modes. This as well as Printer drivers also need to be 64 compatable, there are a multitude of dependencies that we rely on that must add 64 bit support. As a programmer you are well aware of the issues around Thunking back and forth between 32 to 64 bits, it can cause delays and potentially loss of data which is a whole other issue. Not to mention also that we would have to ship both versions potentially doubling the size of the distribution packages or doubling the size of the dll's to have the ability to work in both modes. Relatively speaking of course, it would not be double the size but the variables would need to be able to allocate 32 or 64 memory blocks.
The other option is to produce 2 separate versions, this alone is a massive project. Any issue would need to be fixed in separate code streams.
So I'm sure you can see it's not simply a matter of saying yes we support 64 bit. It's a massive project that is going to take time to do and we have to wait for the third party drivers to commit also.
Visual Studio .NET 2005 and 2008 is the only option if you want true 64 bit but you will be limited on what DB's you can support and export formats you can export to. They are the only drivers we did convert to 64 bit.
Thank you for your understanding
Don
Maybe you are looking for
-
Summarize data from a subreport in a main report
Good afternoon, I'm trying to summarize data from a subreport with data in a main report and I can't get it to summarize all the data correctly. The reports are linked on order number. The main report has 3 groups - customer id, batch, order number (
-
Searching the Help documentation for Audition is much easier in PDF format. It's also useful to have a PDF of the Help in case you don't have access to the internet. Here is the link: http://blogs.adobe.com/premierepro/2010/08/help-documents-for-crea
-
Error in Getting Response From Server
Hi, I am getting the following error when i call a remote method of java class using lcd's: RPC Fault faultString="[MessagingError message='Destination 'loginService' either does not exist or the destination has no channels defined(and the applicatio
-
How to place a tone into the Alert (text) Tone folder iOS7?
I made a custom tone that I want to use for as a new alert tone on my iPhone. I got it formatted and into my tones in itunes and synced it up. The new tone gets put under ringtones vs alert tone. Is there a way to get that tone to be place into the c
-
How actually Oracle CRM On Demand and Outlook integration works?
Hi Everyone, Here my question means not how to configure this integration but what is behind this technology. Can someone put some light on technical aspect of it? I wanted to know on what technology this integration is based on and other details if