Manage Orchestration by Web Service
For handing exception of Orchestration in Biztalk, does it possible to correct the message content and resume the Orchestration by web service or sharepoint outside Biztalk Admin Console?
I am using Biztalk 2009 in my project
What you want to implement is repair and resubmit pattern. <o:p></o:p>
One options as discussed by the below blogpost (in reference) is using SharePoint and InfoPath. You can have a custom exception handler where BizTalk can
write out the failed message to a forms library, then users could click a link there and edit the failed message in InfoPath. When ready, the user clicks “re-submit”
which InfoPath could send to a web service which can resent the message to BizTalk.
http://www.brianloesgen.com/blog/2007/6/24/when-biztalk-meets-sharepoint-it-makes-sense.html
Other options is explore the how the Repairing and Resubmitting has been implemented in ESB portal. Its uses the combination of ESB web services and InfoPath, you can
either resuse this functionality in ESVB portal or you can create your similar to ESB portal.
ESB Portal: Collecting Exceptions and Routing Messages for Repair and Resubmit
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Similar Messages
-
BizTalk Server 2013 R2 Orchestration as web service with untyped messages.
Hi,
I have created an orchestration in BizTalk server 2013 R2 which receives and send untyped messages to an public Request-Response port. And am trying to publish this orchestration as web service, am getting "Object reference not set to an instance"
error in the Publish Web service wizard. I didn't find any error details in event viewer.
Please let me know what is the issue with this and how resolve this.
Thanks,
Praveen
Praveen"Object reference not set to an instance" issue +Orchestration as WCF service + BizTalk
2013 R2 ..has no relation.
Just created an Orchestration, which would accept XMLDocument as input (Request) message and output (Response) message in both BizTalk 2013 and also in 2013 R2.
I can expose the Orchestration as WCF service without any issues as mentioned here and can able to send and get any XMLDocument to this server (Which is an Orchestration)
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Using Identity Management for Securing Web Services
My goal is to associate my services with an Oracle Internet Directory. I made some attempts to set up SAML authentication for the web services, but it didn't have the right outcome.
(My identity management server and OID is up and running and I have successfully made authentication modules for other web applications)
Here is what I did:
1. I wrote a simple java file, used jdeveloper tools to create and deploy it as a web service to OC4J. I associated an identity management server with this service through OC4J web tools as security provider.
2. I made a data control for the web service and put it in an ADF application . (client)
3. I deployed the client project(2) to OC4J.
I could use the web service through the page.
Then
I secured the webservice to expect SAML for authentication.
Surprisingly, the client could still communicate with the webservice, Why? Shouldn't it have rejected the request because of the problem in SAML token? (The proxy and the data control were not secured, and didn't provide any SAML tokens)
4.
I added login page to my client project (through ADF security wizard). It used idenity management for authentication successfully. login process completes and web service data control is displayed.
5. I want the authentication information to be propagated through the page so that the web service receives the data and uses Identity Management.
I know I should add <property name="oracle.security.wss.propagate.identity" value ="true"/>
to one of the configuration files, but don't know where exactly.
Best Regards,
FarbodIt doesnt matter whether the service is invoked as part of your larger process or not, if it is performing any business critical operation then it should be secured.
The idea of SOA / designing services is to have the services available so that it can be orchestrated as part of any other business process.
Today you may have secured your parent services and tomorrow you could come up with a new service which may use one of the existing lower level services.
If all the services are in one Application server you can make the configuration/development environment lot easier by securing them using the Gateway.
Typical probelm with any gateway architecture is that the service is available without any security enforcement when accessed directly.
You can enforce rules at your network layer to allow access to the App server only from Gateway.
When you have the liberty to use OWSM or any other WS-Security products, i would stay away from any extensions. Two things to consider
The next BPEL developer in your project may not be aware of Security extensions
Centralizing Security enforcement will make your development and security operations as loosely coupled and addresses scalability.
Thanks
Ram -
Session management and java Web Service
Hi ,
Can I have two web services one based on Session bean and other on Simple java class, packaged into single ear file? Does NetWeaver supports web service session management/tracking? How can I get an handle to HttpRequest in my Web Service?
Any help will be appreciated.
Thanks in advance
regards,
rajinderContainer Managed Authentication. Does everything you need.
-
Operations Manager 2012 Management Pack Catalog Web Service - Missing Management Packs
I am using SCOM 2012 R2 with UR5 and I see things like Exchange 2013 and Lync 2013 in the catalog when doing an MP import, but some other items like: SQL Server 2012/2014 and SharePoint 2013 are missing. I can download them from the MS download site,
but is this catalog web service being maintained?Hi Darren, I know what you mean. It would be nice to be able to pull the latest management packs as well as management packs available from the download site from the catalog via the Operations Console, however, the packs in the catalog are not comprehensive.
I highly recommend the SCOM management pack wiki which is kept up to date by the community. I use this myself :) An added benefit to using this wiki over the catalog is that this links to the download page for the management pack of interest from where you
can obtain the management pack and its documentation which often contains useful detail on what the management pack entails. The wiki link is below:
http://social.technet.microsoft.com/wiki/contents/articles/16174.microsoft-management-packs.aspx
If you've found this post helpful, please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
MrChiyo | My blog: Technical | Twitter: MrChiyo -
Session management for a web service
I am building a web service where the user will need to login and the application will need to maintain a persistent session. I am using Apache Axis2 for client/server communication via SOAP/XML. What would the simplest and most common way of doing this? I know I could implement session management from scratch similarly to how a browser does it, using cookies, but I'd rather use standard Java libraries for this. Am I correct in assuming that even though I'm using Axis2, the solution doesn't really have anything to do with Axis2 since Axis2 is basically just a way for the client/server to send messages to each other?
I've read a lot of information online about this, but there's so much information that it's hard to know where to start. Basically I'm just looking for someone to point me in the right direction on what classes to use and so on. I just need a simple username password authentication and session management system for a web service.Container Managed Authentication. Does everything you need.
-
Exposing Portal's User Management functionality via Web Service issue
Dear experts,
I am trying to create and deploy a web service that will tap into User Management functionality (UMFactory) of the Portal. I created a Java project with a Java class with one of the methods exposed via Web Service. Since this is a Java project and not a Web Dynpro project, a number of external jars and libraries, but I don't know how to add WD_RUNTIME and I am guessing that my problem is related to that.
When trying to run the application, I receive the following error message when trying to envoke UMFactory:
java.lang.NoClassDefFoundError: com/sap/tc/logging/Location
at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:166)
at com.hollister.getusers.GetPortalUsers.getPortalUsers(GetPortalUsers.java:75)
at com.hollister.getusers.GetPortalUsers.main(GetPortalUsers.java:39)
Please, help.
Thanks,
AlexContainer Managed Authentication. Does everything you need.
-
Issue while Calling Rights Management LifeCycle Server web service to apply policies to a pdf
Hi,
I am trying to apply a policy to a pdf using MTOM LifeCycle server web service API. Currently the server is using the https protocol. I followed the below links for this.
Adobe LiveCycle * Applying Policies to PDF Documents
Adobe LiveCycle * Quick Start (MTOM): Applying a policy to a PDF document using the web service API
I changed the IP address in the URL while adding the reference and creating the endpoint. But I am receiving the below error message.
The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via.
can someone please help.
Thanks,
NikhilBelow is the c# code and config files.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using ConsoleApplication1.ServiceReference1;
namespace ConsoleApplication1
class Program
static void Main(string[] args)
try
//Create a RightsManagementServiceClient object
RightsManagementServiceClient rmClient = new RightsManagementServiceClient();
rmClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("https://IPAddressofSite/soap/services/RightsManagementService?blob=mtom");
//Enable BASIC HTTP authentication
BasicHttpBinding b = (BasicHttpBinding)rmClient.Endpoint.Binding;
b.MessageEncoding = WSMessageEncoding.Mtom;
rmClient.ClientCredentials.UserName.UserName = "********";
rmClient.ClientCredentials.UserName.Password = "*********";
b.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;
//b.Security.Mode = BasicHttpSecurityMode.TransportCredentialOnly;
b.Security.Mode = BasicHttpSecurityMode.Transport;
//Create a BLOB that represents the PDF document
//to which a policy is applied
BLOB inDoc = new BLOB();
//Reference the PDF document to which a policy is applied
string inputFileName = @"P:\PDF\TextToPDf.pdf";
FileStream fs = new FileStream(inputFileName, FileMode.Open);
//Get the length of the file stream
int len = (int)fs.Length;
byte[] ByteArray = new byte[len];
//Populate the byte array with the contents of the FileStream object
fs.Read(ByteArray, 0, len);
inDoc.MTOM = ByteArray;
//Prepare output parameters
string PolicyID;
string DocumentID;
string MimeType;
SetCertificatePolicy();
//Apply a policy to a PDF document named Loan.pdf
BLOB outDoc = rmClient.protectDocument(
inDoc,
"TextToPDf.pdf",
"Test Policy Set",
"Test Policy 1",
null,
null,
ConsoleApplication1.ServiceReference1.RMLocale.en,
out PolicyID,
out DocumentID,
out MimeType);
//Populate a byte array with the contents of the BLOB
byte[] outByteArray = outDoc.MTOM;
//Create a new file containing the policy-protected PDF document
string FILE_NAME = @"P:\PDF\PolicyProtectedLoanDoc.pdf";
FileStream fs2 = new FileStream(FILE_NAME, FileMode.OpenOrCreate);
BinaryWriter w = new BinaryWriter(fs2);
w.Write(outByteArray);
w.Close();
fs2.Close();
catch (Exception ee)
Console.WriteLine(ee.Message);
Console.ReadKey();
/// <summary>
/// Sets the cert policy.
/// </summary>
public static void SetCertificatePolicy()
ServicePointManager.ServerCertificateValidationCallback += RemoteCertificateValidate;
/// <summary>
/// Remotes the certificate validate.
/// </summary>
private static bool RemoteCertificateValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error)
// trust any certificate!!!
System.Console.WriteLine("Warning, trust any certificate");
return true;
web.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="RightsManagementServiceSoapBinding" 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="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="AXIS" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="RightsManagementServiceSoapBinding1" 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="https://IPAddressofSite/soap/services/RightsManagementService"
binding="basicHttpBinding" bindingConfiguration="RightsManagementServiceSoapBinding"
contract="ServiceReference1.RightsManagementService" name="RightsManagementService" />
</client>
</system.serviceModel>
</configuration> -
From Forms Product Management - Calling a Web Service
This weeks Tech Tip on the front page of OTN talks about calling a Web Service from Forms.
Check out
http://otn.oracle.com/products/ias/tech_tips/9iastech_tip.html
Regards
Grant Ronald
Forms Product ManagementThe java generated provides the following classes
hdrobjuser1 which is a structure consisting of string, string, decimal, string, date, string (the first parameter of the webservice call),
dtlobjuser1 which is a structure consisting of string, string, decimal, string, string, string, decimal
dtlobj1 which is an array of dtlobjuser1 (the second parameter of the webservice call)
The problem is that I have methods to generate and populate both the hdrobjuser1 and dtlobjuser1 classes, but there is no method that I can use to create array elements within the dtlobj1 array -
SOAP/Web service based repository manager
Hi,
We would like to implement a repository manager using SOAP/Web service messages to connect to the document store. The solution will have to support most opperations as the WebDAV repository manager supports. TREX has to be able to crawl for indexing/classification, but I guess that is not a problem.
Is the some information out there on creating repository managers like this, and how they tie in with ACL managers, cahces etc?
Message was edited by: Bjorn BjornstadNot relevant any more
-
Confirming method to secure web services through oracle web service manager
Hi All,
I am just wondering about the method to secure web service through oracle web service manager.
I have a unsecure web service "helloworld" which is deployed on JWSDP1.6 toolkit.I want to secure it through oracle web service manager.
Inorder to secure this unsecure web service,I use gateway(web service manager for securing web service using message level security through certificate).
So when client want to access the helloworld service,it contacts the gateway securely and gateway intern connect to original web service after decrypting and verification of the signature.When gateway gets response from the web service,it signs the response message and then encrypt and passs on to the client.
So my question is,is it the right way to secure web service?
As I am getting the following fault exception :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode "http://schemas.oblix.com/ws/2003/08/Faults">c</faultcode>
<faultstring>Step execution failed with an exception
</faultstring>
<detail></detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I checked the log at :
C:\coresv_install_home\external\oc4j-10.1.2.0.0\j2ee\home\log\http-web-access
but there is no helpful information available.Thanks for any help.
KashHi Rajesh,
Thanks for your reply.I am using the following policy steps:
1)for Request (Decrypt and Verify signature).
2)for Response(Sign Message and Encrypt).
The configuration for Request is shown below:
Pipeline "Request"
Pipeline Steps:
Start Pipeline
Log
Decrypt and Verify Signature
Basic Properties Type Default Value
Enabled (*) boolean true true
XML Decryption Properties Type Default Value
Decryptor''s keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Decrypt Keystore Type (*) string jks jks
Decryptor''s keystore password string *******
Decryptor''s private-key alias (*) string s1as
Decryptor''s private-key password string *******
Enforce Encryption (*) boolean true true
XML Signature Verification Properties Type Default Value
Verifying Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Verifying Keystore type (*) string jks jks
Verifying Keystore password string *******
Signer''s public-key alias (*) string xws-security-client
Enforce Signing (*) boolean true true
End Pipeline
And the configuration for Response is shown below:
Pipeline "Response"
Pipeline Steps:
Start Pipeline
Log
Sign Message and Encrypt
Basic Properties Type Default Value
Enabled (*) boolean true true
Signing Properties Type Default Value
Signing Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Signing Keystore Type (*) string jks jks
Signing Keystore password string *******
Signer''s private-key alias (*) string s1as
Signer''s private-key password string *******
Signed Content (*) string BODY BODY
Sign XPATH Expression string
Sign XML Namespace string[]
Encryption Properties Type Default Value
Encryption Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Encrypt Keystore Type (*) string jks jks
Encryption Keystore password string *******
Decryptor''s public-key alias (*) string xws-security-client
Encrypted Content (*) string BODY BODY
Encrypt XPATH Expression string
Encrypt XML Namespace string[]
End Pipeline
I checked the log again but nothing useful there,it is just giving the following values:
2006-08-14 16:32:50,372 INFO [Thread-21] mstore.OLiteMStore - SELECT MEASUREMENT_STR FROM MEASUREMENT_PERSISTED_STORE WHERE ID=? FOR UPDATE
2006-08-14 16:34:50,364 INFO [Thread-16] mstore.OLiteMStore - INSERT INTO MEASUREMENT_PERSISTED_STORE (ID,DEF_ID,CONTEXT_ID,PARENT_CONTEXT_ID,TIME,STORETIME,KEY0,KEY1,KEY2,KEY3,KEY4,KEY5,KEY6,KEY7,KEY8,KEY9,KEY10,KEY11,KEY12,KEY13,KEY14,KEY15,KEY16,KEY17,KEY18,KEY19,KEY20,KEY21,KEY22,KEY23,KEY24,KEY25,KEY26,KEY27,KEY28,KEY29,KEY30,KEY31,KEY32,KEY33,KEY34,KEY35,KEY36,KEY37,KEY38,KEY39,DBM0,MEASUREMENT_STR) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,'R',empty_clob())
2006-08-14 16:34:50,364 INFO [Thread-16] mstore.OLiteMStore - SELECT MEASUREMENT_STR FROM MEASUREMENT_PERSISTED_STORE WHERE ID=? FOR UPDATE
Any help would be appreciated.Thanks.
Kash -
Web service authentication/session management using Axis2
I'm creating a web service using Axis2 where the client will need to login to the service and maintain a session. I'm trying to figure out a good way to do this. I've read the article on the following link:
http://www.developer.com/services/article.php/3620661/Axis2-Session-Management.htm
and it describes 4 main ways of doing this: Request Session Scope, Soap session scope, Transport session scope, and Application scope. However, it doesn't give much detail in actually implementing this. It says to add a parameter to services.xml like this:
<service name="foo" scope=" transportsession">
</service>
but what about the actual code that goes in the server and client to actually handle the login process and verify the username/password in an SQL database on the server? I'm having a lot of trouble finding a good tuturial on this. Can anyone point me in the right direction? I'm also open to other ideas that don't necessarily directly involve Axis2.Session management for a web service and already answered. Locking.
-
Database transaction management in Web services
Hi,
I am using Oracle8i and firing some database queries from my web services. I want to do the transaction management for the same i.e. When one of the queries fail, i want to rollback. But when i write my own transaction management, it gives me an error :
java.sql.SQLException: Cannot call Connection.commit in distributed transaction.Transaction Manager will commit the resource manager when the distributed transaction is committed.
Can anyone please help me out as to how to perform the database transaction management in web services.
Thanking in advance.
PrashantUnfortunately to manage transactions over web services there is no viable solution available in market. All implementations come with restrictions e.g. Metro works with only EJBs on Glassfish, JBossTS works on JBoss but not with JAX-WS, Atomikos supports only Axis as of now.
1. See explanation above.
2. Yes, it can be but conditions mentioned above are applied :-)
3. [www.oasis-open.org/committees/ws-tx/|www.oasis-open.org/committees/ws-tx/]
4. Unfortunately as of now I do not see an easy way to this problem. -
A Quality report as a tool for the Quality management of Web services
Hi everybody,
I would like to explain and discuss my current research project with you:
The differentiation from competitors is crucial for the economic success of a product. This differentiation can be achieved in addition to price and the date of the market entry through the product quality. To differentiate the quality of products, it is necessary to distinguish between several relevant product characteristics, to determine their values, to evaluate these values and to relate this evaluation to the evaluation of other products. Techniques for the determination of the quality of a product are used in many areas of the quality management, e.g. in the quality assessment.
Web Services are software systems supporting a machine-machine interaction over a network. Web services are often used as modules in different software architectures, especially in Service-oriented architectures (SOA).
In the course of quality management of a Web service applied in software consequently needs appropriate procedures and quality models as means to determine the quality. As there is a lack, research is needed in this field.
In order to eliminate the described deficit, a procedure is to develop that helps to determine the quality of a Web service. A report is conceivable which integrates all relevant views, all influences on the quality and all phases of the life cycle of a Web services.
During the research a lot of similarities between Life cycle assessments of environmental management and the quality management have been identified. These similarities include e.g. principles, procedures and the terminology. Since the Life cycle assessments relate on the product life cycle, on the stakeholders and on all relevant product characteristics, an adaption of the method on the quality management of software seems to be promising.I would like to answer the following two research questions:
- Is it possible to adapt the principles and procedures of Life cycle assessment and Sustainability reporting to the quality management of Web services?
- Is a quality report based on these findings an appropriate tool for quality management?
Do you have any experiences with the quality management of Web services? Which procedures do you use to determine the quality of Web services? How are your experiences with that procedures? Where are their weaknesses?
Edited by: Bastian Grabski on Jan 7, 2010 11:36 AM -
Cannot find Web Services Configuration under Infrastructure Management
Hi YiNing,
You need to go to SOA Management-> Business Administration-> Web Service Administration.
Best Regards
PankajI think you want to Search for the Proxy Definition DestinationSI and manually create a new logical port for that destination. For that you need to go through the way i have given above and then you can proceed.
regards
Pankaj
Maybe you are looking for
-
I received notification on my iphone thru icloud that my storage is close to being full, it is because my kids ipods use the same email address! If i delete the backup for their ipods, will it delete any info from their ipods or my iphone??
-
Conversion factor and batch management
Dear gurus, 1) I want to mention conversion factor in material master but when I enter it with decimal i.e. 1 meter = 1.55 tone system is not permited the decimal what I can I do for it. 2) I want to mention my material in batche
-
I downloaded Ericsson H5321gw/C5621gw Mobile Broadband Driver for Windows 8.1 (32-bit, 64-bit), 8 (32-bit, 64-bit) - ThinkPad (http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS032425) because I occasionally have an issue with resuming. I
-
PDF loaded using ActiveX will not load when the executable is used on another computer
Hello, I am fairly new to Labveiw and have created a CAN diagnostic tool which uses an ActiveX control to display the CAN Spec PDF on the front panel. This works absolutely fine and still works fine when I create and use an executable on the same com
-
Saving a form as uneditable PDF document
I have created a form in FormsCentral. Once the form is filled out I need to save the form as an uneditable PDF file. How do I lock the form after it is complete and save as an uneditable form?