Web Service performance - experience, recommendations?
Hi everyone,
We have an application that access unstructured content in CM SDK. We are looking at migrating to Oracle Content Services.
The application makes extensive use of the SQL views that show CM SDK content, but these views have disappeared from the current version. The official position from Oracle is "The recommended way to get useful information about Content Services / ContentDB is to use the WebServices APIs."
Does anybody some performance numbers they are willing to share? It worries me a bit that I'll need to make thousands and thousands of web service calls every day...
Best regards
Sten Vesterli
Scott/Tiger A/S
I'm not sure from your description but it sounds to me like the Web Service should be implemented as a eInsight Business Process (BP) which delegates to the JCD to do the heavy work, if any. This way each SOAP request can be handled by a separate instance of the BP. Otherwise, if the JCD is implemented as a externally callable Web Service, then the SOAP requests would be processed serially by a single instance of the JCD.
Assuming that you have the SOAP->BP->JCD->QUEUE arrangment, you should consider these other tuning factors:
- Business Process Max Concurrent Instances to handle requests in its eInsight Engine
- eInsight Engine
---Receive Timeout
--- Work Item Submit Limit
---Invocation Allocation Ratio
---No persistence unless essential
---- if you need it also consider Application Mode = Multiple
---- tune the database
--- No monitoring unless essential
- Integration Server
--- HTTP Listerner Acceptor Threads and/or Virtual Servers
--- Thread Pool Min and Max Size and Timeout (use asadmin to configure)
--- JVM Heap Space
There is no magic algorithm. I'd recommend that you configure the Integration Server so that you can use JConsole to monitor it and then use SoapUI to do the performance testing.
Regards.
Similar Messages
-
About SOA/Web Service performance
is there any material or usful about ORACLE SOA performance solution?
e.g. webservice performance.
Thanks!I'm not sure from your description but it sounds to me like the Web Service should be implemented as a eInsight Business Process (BP) which delegates to the JCD to do the heavy work, if any. This way each SOAP request can be handled by a separate instance of the BP. Otherwise, if the JCD is implemented as a externally callable Web Service, then the SOAP requests would be processed serially by a single instance of the JCD.
Assuming that you have the SOAP->BP->JCD->QUEUE arrangment, you should consider these other tuning factors:
- Business Process Max Concurrent Instances to handle requests in its eInsight Engine
- eInsight Engine
---Receive Timeout
--- Work Item Submit Limit
---Invocation Allocation Ratio
---No persistence unless essential
---- if you need it also consider Application Mode = Multiple
---- tune the database
--- No monitoring unless essential
- Integration Server
--- HTTP Listerner Acceptor Threads and/or Virtual Servers
--- Thread Pool Min and Max Size and Timeout (use asadmin to configure)
--- JVM Heap Space
There is no magic algorithm. I'd recommend that you configure the Integration Server so that you can use JConsole to monitor it and then use SoapUI to do the performance testing.
Regards. -
CUP 5.3: risk analysis in workflow impossible due to web service performance?
Hello experts,
We are facing a huge challenge within a AC 5.3 implementation.
Here, AC has been used successfully with CUP and RAR for quite some time now. However, the RAR analysis has not yet been integrated into the CUP workflow. We would like to integrate the RAR analyis in CUP now.
Based on the existing role concept (that uses functional master roles and derived roles per company code, with ca. 30 company codes in place) and the shared service operations in some areas such as FI, there is a large number of users with many roles and consequently, many SoD risks (of course, they are all "repeat" risk per company code).
This leads to a long RAR analysis run time, but it's still acceptable. Analysis on permission level for such "power users" runs about 1 minute, on action level about 5-6 seconds.
However, the web service between RAR und CUP is a problem and cannot cope with our violations. We have currently set the threshold to 75000. In this case, the analysis + web service runs 1-2 minutes. However, we have some users with 200-300.000 violations. In this case, if we deactivate the threshold, we will experience a web service time-out eventually, even with analysis on action level because the amount of violations the web service has to process is the same (or even higher with some false positives).
We also have compensating controls in place for these power users, which will of course reduce the web service run-time considerably. However, this is not applicable to NEW user requests because for those, the compensating controls will be assigned only AFTER the risk analysis has taken place and the risk manager receives the workflow item.
Has anyone experienced this in the past and found a viable solution or work-around? We are basically short of options and considering dropping the project.
Note: An upgrade to 10.X is not (currently) a solution because this upgrade is scheduled and budgeted only for later.
Thanks a lot and best regards
PatrickAny opinions on this?
Cheers and thanks
Patrick -
Accessing BPEL processes via a proxy web service performance issues
Hello,
I have more BPEL processes implemented, each such a process implementing business functionality in a certain domain (generally, a domain has more business processes).
The request was to provide a single web service for each domain. It means that all the business methods (processes) in the same domain should be accessed through the same web service. This request doesn't make possible to expose the BPEL processes themselves as web services that could be directly consumed by different clients of the application.
The alternative will be to implement the "domain" web services through a Java class, for instance. With this approach, the Java based domain web services will expose the needed business methods to the clients. And the Java class will get the request input parameters and will call the corresponding BPEL process via SOAP. This scenario would be fine, but... this approach would imply a supplementary marshalling/unmarshalling process at the domain web service level. The data returned by the BPEL processes could be very large and in such a situation the Java based domain web service will introduce an important performance drawback.
Is there any other solution to this case that will allow the using of a "proxy" domain web services that will not introduce any important drawback via marshalling/unmarshalling?
Many thanks in advance!
Regards,
MarinelHello,
First, thank you Sandor for your answer.
I understand that it is possible to create a BPEL process that exposes multiple operations/messages. This would be exactly what I need: a single process (web service) that will expose many operations. Could anyone, please, point me to such an example?
So far I thought that there is possible to have only one operation exposed with a BPEL process, what is delimited between the receive/reply blocks (in the synchronous case).
Regards,
Marinel -
SAP Web services performance tuning in terms of concurrent users?
Hello,
we in our organisation are planning to build a web portal which can connect to our sap environment and perform various tasks.
Hence to find out the performance capabilities we exposed some web services from SAP end and did a load test on the same.
The test results were not promising, with only 25 concurrent users the response time was as high as 12 seconds.
Now we need to fine tune the SAP web service module to get the max performance.
Can anybody point us in the right direction?One of the function module code is as follows
FUNCTION ZHRPULSE_CREATECONTACTS3.
*"*"Local Interface:
*" IMPORTING
*" VALUE(EMPL_CONTACT_DETAILSIN) TYPE ZHR_CONTACT_DETAILS
*" EXPORTING
*" VALUE(EMPL_CONTACT_DETAILSOUT) TYPE ZHR_CONTACT_DETAILS
*" VALUE(STATUS) TYPE ZHR_STATUS
*" TABLES
*" SUBTYPE_TABLE STRUCTURE ZHR_CONTACT
DATA: tempRet type BAPIRETURN1,
oref TYPE REF TO cx_root.
DATA: E_IT0001 type P0001.
CALL FUNCTION 'HREIC_READ_INFOTYPE_0001'
EXPORTING
I_PERNR = EMPL_CONTACT_DETAILSIN-EMPLOYEE_ID
I_DATE = sy-datum
IMPORTING
E_RETURN = tempRet
E_IT0001 = E_IT0001
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
Status-status = 'Failure'.
status-information = 'ID Not Found in Master Data.'.
exit.
ENDIF.
EMPL_CONTACT_DETAILSOUT-EMPLOYEE_ID = E_IT0001-PERNR.
EMPL_CONTACT_DETAILSOUT-EMPLOYEE_NAME = E_IT0001-ENAME.
SELECT single Btext from t001p into EMPL_CONTACT_DETAILSOUT-location where btrtl = E_IT0001-btrtl.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = EMPL_CONTACT_DETAILSIN-Employee_ID.
IF sy-subrc NE 0.
Status-status = 'Failure'.
status-information = 'NOT able to get a lock on the Employee ID'.
EXIT.
ENDIF.
CALL FUNCTION 'BAPI_ADDRESSEMP_CREATE'
EXPORTING
EMPLOYEENUMBER = EMPL_CONTACT_DETAILSIN-Employee_ID
VALIDITYBEGIN = SY-DATUM
VALIDITYEND = '99991231'
ADDRESSTYPE = '1'
STREETANDHOUSENO = EMPL_CONTACT_DETAILSIN-ADDRESS1
SCNDADDRESSLINE = EMPL_CONTACT_DETAILSIN-ADDRESS2
CITY = EMPL_CONTACT_DETAILSIN-CITY
POSTALCODECITY = EMPL_CONTACT_DETAILSIN-PIN_CODE
IMPORTING
RETURN = tempRet
EMPLOYEENUMBER = EMPL_CONTACT_DETAILSIN-Employee_ID
If sy-subrc eq 0.
Status-status = 'Success'.
status-information = 'Executed successfully'.
else.
Status-status = 'Failure'.
status-information = tempRet-message.
exit.
endif.
"For creating communication details
subtype_table-subtype = '9100'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-EXTENTION.
append subtype_table.
subtype_table-subtype = '9200'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-EMERGENCY_NO.
append subtype_table.
subtype_table-subtype = '9300'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-AVAYA.
append subtype_table.
subtype_table-subtype = '9400'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-MOBILE_NO1.
append subtype_table.
subtype_table-subtype = '9450'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-MOBILE_NO2.
append subtype_table.
subtype_table-subtype = '9500'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-DIRECT.
append subtype_table.
subtype_table-subtype = '9600'.
subtype_table-communicationid = EMPL_CONTACT_DETAILSIN-HOME.
append subtype_table.
if subtype_table[] is not initial.
Loop at subtype_table.
CALL FUNCTION 'BAPI_EMPLCOMM_CREATE'
EXPORTING
employeenumber = EMPL_CONTACT_DETAILSIN-Employee_ID
subtype = subtype_table-SUBTYPE
validitybegin = sy-datum
validityend = '99991231'
communicationid = subtype_table-communicationid
IMPORTING
return = tempRet
If sy-subrc eq 0.
Status-status = 'Success'.
status-information = 'Executed successfully'.
else.
Status-status = 'Failure'.
status-information = tempRet-message.
exit.
endif.
Endloop.
CLEAR subtype_table.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
"for unlocking the employee ID
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = EMPL_CONTACT_DETAILSIN-Employee_ID
" IMPORTING
" return =
EMPL_CONTACT_DETAILSOUT-ADDRESS1 = EMPL_CONTACT_DETAILSIN-ADDRESS1.
EMPL_CONTACT_DETAILSOUT-ADDRESS2 = EMPL_CONTACT_DETAILSIN-ADDRESS2.
EMPL_CONTACT_DETAILSOUT-CITY = EMPL_CONTACT_DETAILSIN-CITY.
EMPL_CONTACT_DETAILSOUT-PIN_CODE = EMPL_CONTACT_DETAILSIN-PIN_CODE.
EMPL_CONTACT_DETAILSOUT-EXTENTION = EMPL_CONTACT_DETAILSIN-EXTENTION.
EMPL_CONTACT_DETAILSOUT-EMERGENCY_NO = EMPL_CONTACT_DETAILSIN-EMERGENCY_NO.
EMPL_CONTACT_DETAILSOUT-AVAYA = EMPL_CONTACT_DETAILSIN-AVAYA.
EMPL_CONTACT_DETAILSOUT-MOBILE_NO1 = EMPL_CONTACT_DETAILSIN-MOBILE_NO1.
EMPL_CONTACT_DETAILSOUT-MOBILE_NO2 = EMPL_CONTACT_DETAILSIN-MOBILE_NO2.
EMPL_CONTACT_DETAILSOUT-DIRECT = EMPL_CONTACT_DETAILSIN-DIRECT.
EMPL_CONTACT_DETAILSOUT-HOME = EMPL_CONTACT_DETAILSIN-HOME.
ENDFUNCTION. -
Secured Web service performance problem in BPEL 11g
Hi,
When calling Secured web service from BPEL 11g, performance issue is coming.
Actually when we test a Secured web service using SOAP UI, Average response time is 2-3 secs.
Where when we are calling from BPEL, average response time is 18-22 secs.
Steps:
1) Go to composite
Right click on the external reference service and select “Configure WS policies”
Under the security tab, click add button and select “oracle/ wss_username_token_client_policy
2) Now Open the property Inspector window and click the add button under “Binding properties” tab.
3) Include the “oracle.webservices.auth.username-->UserName
4) Include the “oracle.webservices.auth.password”-->Password
Please let me know if i am doing anything wrong.
Do you have any idea for fix this issue?
Thank you.there shouldn't much difference in the time for the response ..., also when you are calling the secured web service from another BPEL, make sure you don't consider the time of the calling process ( i mean that BPEL ). you just try calling the secured web service from the EM console if it is a SOA composite. do you see any messages in the log files ? the procedure you followed is correct only, confirm here., i have posted a similar solution long back..
Re: Creating a partnerlink from a secure webservice
Thanks,
N -
Consume external web service and experience connection timed out issue
Hi all,
I followed tutorial:http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_14/jdtut_11r2_14.html to consume external web service.
At step 2,substep 4, I experience the following error:
"DCA-40002: The WSDL document is invalid due to the following reason: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at:"http://www.webservicex.net/WeatherForecast.asmx?WSDL". Caused by : java.net.ConnectException: java.net.ConnectException: Connection timed out: connect."
I have tried to set up proxy:Tools > Preferences->Web Browser and Proxy. But it still doesn't work. Any idea?
Thanks in advance.
Regards,
weiyang
Edited by: user13304960 on Mar 15, 2012 8:42 PM
Edited by: user13304960 on Mar 15, 2012 8:43 PMHi,
Thanks for your reply. I have tried these 2 tutorials before. Both worked well. Publish an web service by myself, then consume it with a client. It works. But for this external wsdl published by USA weather forecast, it doesn't work. Navigate to http://www.webservicex.net/WeatherForecast.asmx?WSDL through firefox, and right response is returned. I wonder why connection timed out occurred and how to deal with it.
Could you please share your experience with me? Thanks.
Thanks. -
Performance impact of using Web Services?
As BEA and other vendors continue to add Web Services support
to their enterprise software, what is your plan for
quantifying the performance impact and the functional
correctness of using web services before going live with the
final application?
Empirix is hosting a free one hour web event discussion on
web services testing and automated web services testing
solutions on Thursday, January 17, 2-3pm Eastern time.
To sign-up for this web event or learn about other web
events being offering by Empirix this month, go to:
http://webevents.empirix.com
For your convenience, here is the complete abstract:
The advent of web services has brought the promises of
integrating multiple software applications from
heterogeneous networks and for exchanging information
from vendor-to-vendor or vendor-to-consumer in a
standardized way.
As web service technologies are deployed within and across
organizations over the next several years, it will be
critical that web services undergo performance testing.
As with any enterprise software project, the adoption of
proper test methodologies and use of testing tools will
play a key part in the overall success or failure of
projects utilizing web services. In a compressed
software project schedule, an organization must
quickly determine if its web services will operate
successfully under a variety of load conditions. Like other
web-based technologies, successful web services will need
to respond quickly and correctly when implemented.
During our presentation, we will discuss the testing
challenges created by this emerging technology, along with
the variety of testing solutions available. Automated
web service testing will be discussed and demonstrated
using FirstACT, the first web services performance testing solution available
on the market. Using a sample web
service, automatic test case creation, scalability testing,
and results analysis will be explored.
If you wish to download FirstACT prior to the web event, you can do so at:
http://www.empirix.com/downloads/FirstACTAs BEA and other vendors continue to add Web Services support
to their enterprise software, what is your plan for
quantifying the performance impact and the functional
correctness of using web services before going live with the
final application?
Empirix is hosting a free one hour web event discussion on
web services testing and automated web services testing
solutions on Thursday, January 17, 2-3pm Eastern time.
To sign-up for this web event or learn about other web
events being offering by Empirix this month, go to:
http://webevents.empirix.com
For your convenience, here is the complete abstract:
The advent of web services has brought the promises of
integrating multiple software applications from
heterogeneous networks and for exchanging information
from vendor-to-vendor or vendor-to-consumer in a
standardized way.
As web service technologies are deployed within and across
organizations over the next several years, it will be
critical that web services undergo performance testing.
As with any enterprise software project, the adoption of
proper test methodologies and use of testing tools will
play a key part in the overall success or failure of
projects utilizing web services. In a compressed
software project schedule, an organization must
quickly determine if its web services will operate
successfully under a variety of load conditions. Like other
web-based technologies, successful web services will need
to respond quickly and correctly when implemented.
During our presentation, we will discuss the testing
challenges created by this emerging technology, along with
the variety of testing solutions available. Automated
web service testing will be discussed and demonstrated
using FirstACT, the first web services performance testing solution available
on the market. Using a sample web
service, automatic test case creation, scalability testing,
and results analysis will be explored.
If you wish to download FirstACT prior to the web event, you can do so at:
http://www.empirix.com/downloads/FirstACT -
Performance impact of Web Services
As WebLogic adds support for Web Services to its platform, what is
your plan for quantifying the performance impact and the functional
correctness of using web services before going live with the final
application.
Empirix is hosting a free one hour web event discussion on web
services testing and automated web services testing solutions on
Thursday, January 17, 2-3pm Eastern time.
To register for this web event or learn about other web events being
offering by Empirix this month, go to:
http://webevents.empirix.com
The complete abstract is below:
The advent of web services has brought the promises of integrating
multiple software applications from heterogeneous networks and for
exchanging information from vendor-to-vendor or vendor-to-consumer in
a standardized way.
As web service technologies are deployed within and across
organizations over the next several years, it will be critical that
web services undergo performance testing. As with any enterprise
software project, the adoption of proper test methodologies and use of
testing tools will play a key part in the overall success or failure
of projects utilizing web services. In a compressed software project
schedule, an organization must quickly determine if its web services
will operate successfully under a variety of load conditions. Like
other web-based technologies, successful web services will need to
respond quickly and correctly when implemented.
During our presentation, we will discuss the testing challenges
created by this emerging technology, along with the variety of testing
solutions available. Automated web service testing will be discussed
and demonstrated using FirstACT, the first web services performance
testing solution available on the market. Using a sample web service,
automatic test case creation, scalability testing, and results
analysis will be explored.Hi,
We test several frameworks and find out that usually JAXB 2.0 performs better than XMLBeans, but that is not a strict rule.
Regards,
LG -
Folks,
I’ve got two web services that are called in succession. The first web service performs a search and caches the results on the server, returning only some basic information about how many results were found (in the payload) and a session id (as an attribute in a HTTP header). The second service is called afterwards, passing some page request information (in payload) and the session id (in the HTTP header). The session id is used to find the appropriate search results and return them lazily (based the given page request information).
The web service requests are done through ESB and OWSM. My problem, however, is that according to the ESB developer’s guide (http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28211.pdf , page 5-29, ‘Limitations of ESB Header Support’) ESB is not capable of setting header attributes (at least not SOAP header attributes).
Is it possible to use stateful web services with the ESB? If so, how is the SessionID handled on the ESB and how is it correlated with the clients of the ESB who are getting the results back from this stateful web service?
Thanks in advance,
JosephDave,
We have invoked the two services mentioned above in four different manners using Java code.
1. We are invoking the services through ESB with no success. The HTTP header (set-cookie) never makes it back.
2. We are invoking the services through Web Services Manager (the services are registered directly with OWSM) with no success. The HTTP header (set-cookie) never makes it back.
3. We are invoking the services through Web Services Manager (with ESB providing a wrapper for the services) with no success. The HTTP header never (set-cookie) makes it back.
4. Invoking the services directly (no OWSM, no ESB). This method is successful. HTTP headers are being exchanged without incident.
We are using Ethereal to check out the traffic going back and forth so we can see the SOAP headers getting propagated back and forth as you had mentioned. The problem is that the HTTP headers (as mentioned in my first posting) containing the session information are getting dropped when using ESB or Web Services Manager.
Any suggestions?
Thanks,
Joseph -
Obiee web services into xcelsius
Hi all
Have anyone tried consuming obiee through Xcelsius webservice
Thanks
Reddi
Edited by: user12194578 on Nov 12, 2009 3:24 PMReddi, I have connected Xcelsius to OBIEE web services. It's the best of two worlds: superior obiee admin and web services performance and complete control over data visualization. See this post for details and code: http://www.bihappyblog.com/2011/05/15/connect-xcelsius-dashboard-to-obiee/
-
Hi,
Im trying to use web service in c# sql database project. when running stored procedure, in which the web service should be called, im getting this error:
System.TypeInitializationException: The type initializer for 'System.ServiceModel.ClientBase`1' threw an exception. ---> System.Security.HostProtectionException: Attempted to perform an operation that was forbidden by the CLR host.
at System.ServiceModel.DiagnosticUtility.GetUtility()
at System.ServiceModel.DiagnosticUtility.get_Utility()
at System.ServiceModel.ClientBase`1..cctor()
The protected resources (only available with full trust) were:
All
The demanded resources were:
Synchronization, ExternalThreading
--- End of inner exception stack trace ---
at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()
at System.ServiceModel.ClientBase`1..ctor()
at UMGClient..ctor()
at UMG_StoredProcedures.spUMG_ProcessEmail(SqlInt64 cid_request)
Here is the code:
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
using CredexDB.Workflow;
using System.Collections.Generic;
using CredexDB.umgwcftest;
public partial class UMG_StoredProcedures
/// <summary>
/// </summary>
/// <param name="bankDate"></param>
/// <param name="stateCategory"></param>
[Microsoft.SqlServer.Server.SqlProcedure]
public static void spUMG_ProcessEmail( SqlInt64 cid_request )
SqlConnection conn = new SqlConnection("Context Connection=true;");
conn.Open();
try
SqlContext.Pipe.Send("A");
UMGClient umgcl = new UMGClient();
SqlContext.Pipe.Send("B");
UMGwcf.SoapExchangeMailMessage email = new UMGwcf.SoapExchangeMailMessage();
string[] names = new string[1];
names[0] = "[email protected]";
email.To = names;
email.Subject = "Test UmgWcf";
email.MessageBody = "Testovacia správa - ľľššččťťťýéáí";
email.From = "[email protected]";
email.Priority = 20;
email.Sender = 1;
email.DoNotArchive = false;
email.EncryptAndSign = false;
//long ret = umgcl.SendMailMessage(email);
catch (Exception e)
SqlContext.Pipe.Send("C");
SqlContext.Pipe.Send(e.ToString());
finally
SqlContext.Pipe.Send("D");
conn.Close();
private static void execSql(string sql, SqlConnection conn)
new SqlCommand(sql, conn).ExecuteNonQuery();
The error occurs at this row:
UMGClient umgcl = new UMGClient();
Here is the UMG class:
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="vub.sk/UMGwcf", ConfigurationName="IUMG")]
public interface IUMG
[System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/SendMailMessage", ReplyAction="vub.sk/UMGwcf/IUMG/SendMailMessageResponse")]
long SendMailMessage(UMGwcf.SoapExchangeMailMessage message);
[System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/ResendEmailMessage", ReplyAction="vub.sk/UMGwcf/IUMG/ResendEmailMessageResponse")]
long ResendEmailMessage(long emailid);
[System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/GetEmailById", ReplyAction="vub.sk/UMGwcf/IUMG/GetEmailByIdResponse")]
UMGwcf.SoapDeliveredMailMessage GetEmailById(long emailid);
[System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/SendSMSMessage", ReplyAction="vub.sk/UMGwcf/IUMG/SendSMSMessageResponse")]
long SendSMSMessage(UMGwcf.SoapSMSMessage smsmessage);
[System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/GetSMSById", ReplyAction="vub.sk/UMGwcf/IUMG/GetSMSByIdResponse")]
UMGwcf.SoapDeliveredSMSMessage GetSMSById(long smsid);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IUMGChannel : IUMG, System.ServiceModel.IClientChannel
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class UMGClient : System.ServiceModel.ClientBase<IUMG>, IUMG
public UMGClient()
public UMGClient(string endpointConfigurationName) :
base(endpointConfigurationName)
public UMGClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
public UMGClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
public UMGClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
public long SendMailMessage(UMGwcf.SoapExchangeMailMessage message)
return base.Channel.SendMailMessage(message);
public long ResendEmailMessage(long emailid)
return base.Channel.ResendEmailMessage(emailid);
public UMGwcf.SoapDeliveredMailMessage GetEmailById(long emailid)
return base.Channel.GetEmailById(emailid);
public long SendSMSMessage(UMGwcf.SoapSMSMessage smsmessage)
return base.Channel.SendSMSMessage(smsmessage);
public UMGwcf.SoapDeliveredSMSMessage GetSMSById(long smsid)
return base.Channel.GetSMSById(smsid);
the CLR where created as follows:
ALTER DATABASE XXXX SET TRUSTWORTHY ON;
CREATE ASSEMBLY [System.ServiceModel]
FROM 'C:\ttrojcak\System.Runtime.Serialization.dll'
WITH PERMISSION_SET = UNSAFE
CREATE ASSEMBLY [System.ServiceModel]
FROM 'C:\ttrojcak\System.ServiceModel.dll'
WITH PERMISSION_SET = UNSAFE
the message window shows warnings:
Warning: The Microsoft .NET Framework assembly 'system.servicemodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=x86.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.drawing, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.directoryservices, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.directoryservices.protocols, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.enterpriseservices, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=x86.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.runtime.remoting, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.runtime.serialization.formatters.soap, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.design, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.windows.forms, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'accessibility, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.drawing.design, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.web.regularexpressions, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.serviceprocess, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.configuration.install, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.identitymodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.messaging, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'system.identitymodel.selectors, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
Warning: The Microsoft .NET Framework assembly 'microsoft.transactions.bridge, version=3.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
creating store procedure:
EXEC sp_executesql N'
CREATE PROCEDURE [spUMG_ProcessEmail]
@cid_request bigint
AS
EXTERNAL NAME [CredexDB].[UMG_StoredProcedures].[spUMG_ProcessEmail]'
IF (@@ERROR = 0)
BEGIN
DECLARE @procSchema sysname
DECLARE @procName sysname
SELECT @procSchema = SCHEMA_NAME(schema_id), @procName = name
FROM sys.objects
WHERE object_id = OBJECT_ID(N'[spUMG_ProcessEmail]')
EXEC sp_addextendedproperty 'AutoDeployed', N'yes',
'SCHEMA', @procSchema,
'PROCEDURE', @procName
EXEC sp_addextendedproperty 'SqlAssemblyFile', N'UMG\UMG.cs',
'SCHEMA', @procSchema,
'PROCEDURE', @procName
EXEC sp_addextendedproperty 'SqlAssemblyFileLine', 95,
'SCHEMA', @procSchema,
'PROCEDURE', @procName
END
Any tips?
Thank youand this moves me to another problem. the stored procedure spUMG_ProcessEmail is unable to find and read app.config
stored procedure is unable to read app.config. it is necesary to rewrite the xml config into c# code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IUMG" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://umgwcftest/UMGwcf.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IUMG" contract="IUMG"
name="BasicHttpBinding_IUMG" />
</client>
</system.serviceModel>
</configuration>
and the rewrited code:
BasicHttpBinding myBinding = new BasicHttpBinding();
myBinding.Name = "BasicHttpBinding_IUMG";
myBinding.CloseTimeout = new TimeSpan(00, 01, 00);
myBinding.OpenTimeout = new TimeSpan(00, 01, 00);
myBinding.ReceiveTimeout = new TimeSpan(00, 10, 00);
myBinding.CloseTimeout = new TimeSpan(00, 01, 00);
myBinding.AllowCookies = false;
myBinding.BypassProxyOnLocal = false;
myBinding.HostNameComparisonMode = HostNameComparisonMode.StrongWildcard;
myBinding.MaxBufferSize = 65536;
myBinding.MaxBufferPoolSize = 524288;
myBinding.MaxReceivedMessageSize = 65536;
myBinding.MessageEncoding = WSMessageEncoding.Text;
myBinding.TextEncoding = System.Text.Encoding.UTF8;
myBinding.TransferMode = TransferMode.Buffered;
myBinding.UseDefaultWebProxy = true;
myBinding.ReaderQuotas.MaxDepth = 32;
myBinding.ReaderQuotas.MaxStringContentLength = 8192;
myBinding.ReaderQuotas.MaxArrayLength = 16384;
myBinding.ReaderQuotas.MaxBytesPerRead = 4096;
myBinding.ReaderQuotas.MaxNameTableCharCount = 16384;
myBinding.Security.Mode = BasicHttpSecurityMode.None;
myBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
myBinding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
myBinding.Security.Transport.Realm = "";
myBinding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName;
myBinding.Security.Message.AlgorithmSuite = System.ServiceModel.Security.SecurityAlgorithmSuite.Default;
EndpointAddress endPointAddress = new EndpointAddress(new Uri("http://umgwcftest/UMGwcf.svc"));
SqlContext.Pipe.Send("2");
UMGClient umgcl = new UMGClient(myBinding, endPointAddress);
after that, I got another error and it's solution is here:
error and solution
So I got it finaly working -
Fault messages in target web service (microsoft visual studio) -experience?
Hi guys!
We use async scenario : SAP_R3 (ABAP Proxy) -> XI -> Web Service (SOAP). Target web service is created in microsoft visual studio. Standard scenario worx fine. We send data from r3, the web service processes them. However, we want to use also fault messages in case, there will be exception rised in the target web service and let operator in sxmb monitor know, that there's a problem. These fault messages should be used as acknowledgement. But we have serious problem with implementing fault messages in the target web service in the visual studio. Does someone have experience with this?
Thanx a lot for info!
OlianHi
see the below links
Consuming XI Web Services using Web Dynpro Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
Consuming XI Web Services using Web Dynpro Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0d7349b6-0901-0010-ddbe-ec43178a61ff
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf083bca
Troubleshooting SOAP Message - XI - /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
Troubleshooting - RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Regards
Chilla -
ABAP Programs Performance Tuning and Web Services
Hi,
Can anyone give me any good material link or eBook on SAP ABAP programs Performance Tuning. What are the things that needs to be done for performance tuning etc..
Also, any material or simple eBook on web services.
my email is [email protected]
Thanks a ton in advance.
Swetha.Check this link ABAP Development Performance Tuning
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/performance%2btuning
Check these threads.
How do you take care of performance issues in your ABAP programs?
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bd335c111d1829f0000e829fbfe/frameset.htm -
Java Web Service Book Recommendation
Hello,
my company is converting our old HP database system to Oracle database/server. I am looking for some books that can help me get familiar with Java Web Services. I want to use the latest Java.
If anyone owns/knows a good book to recommend is very appreciated. Also, I would like to get a book regarding security in Java Web Service.
Thank you.Three words: Amazon.com user reviews. They've never let me down yet.
Note that the online documentation is absolutely not bad at all and the internet is riddled with examples; I managed to figure it all out without the help of a book.
JAX-WS: https://metro.java.net/discover/
JAX-RS: https://jersey.java.net/nonav/documentation/latest/index.html
Of course these are only the reference implementations. Many people choose to use Apache Axis 2 in stead of Metro for example, which has its own (rich) documentation, user base and forums.
Maybe you are looking for
-
Waaranty claim if now living in a different country
Hi, I have a Iphone 4s , I have the WIFI greying out problem. My phone is still under warranty but I bought it in the UK but I now live in France. Will Apple France exchange it of fix it for free ?
-
InDesign Undo doesn't work and text invisible
Hi, there is a really annoying problem with InDesign files. I can only go 2 steps backwards, then 'undo' stops working. At the same time, text I type in disappears and when I zoom out appears again. This is really hard to work with and almost impossi
-
Tourbles with HP Officejet 7500 E910
I have my HP Officejet 7500 E910 network, now i can not connect to my network switch, nor by wireless. Also i can not move into the printer software from its small monitor, the bottoms on the sides of the monitor are not working, Any help how to retr
-
Hi All, I have new requirement that create push button to reject all line items in complaint page. I have done all changes. Now button is functioning as expected. Issue is button display by default in the initial page even we have not entered any or
-
Hello friends, My client requirement is stock transfer between two plants belongs to same company code using T.code MIGO and using movement type 641.Is it possible? If possible can U explain me what are the steps involved in it? regards, Sekhar_fun