Adding timestamp to Workshop service

Hi, my Web service security requires a valid timestamp, but i can't find a way to include one in my Workshop web service. Help files only mention doing it with Weblogic Server by modifying the web-services.xml deployment file.
However, that's no use because I don't have one with Workshop - so can I add and process the timestamp with Workshop?

Hi, my Web service security requires a valid timestamp, but i can't find a way to include one in my Workshop web service. Help files only mention doing it with Weblogic Server by modifying the web-services.xml deployment file.
However, that's no use because I don't have one with Workshop - so can I add and process the timestamp with Workshop?

Similar Messages

  • Error occured while Adding a reference Web Service(BizTalkServer2009_Tutorial2)

    Hi,
    I was going through the Biztalk tutorials. While doing the second tutorial of web service I got stuck while adding reference to the Web Service.
    Steps I did:
    Add service reference(by right clicking my project) --> Advanced -->  Add Web Reference -->  URL : http://localhost/b2bsupplierprocesspo/process.asmx
    But somehow this URL is not accesible over there. I got following error:
    Please suggest/guide me on this.
    Thanks, Girish R. Patil.

    The error clearly states the reason for failure, being "CS0016: Could not write to output file ..... ..... - Access is denied."
    The directory in question is the "C:\Windows\Microsoft.Ner\Framework\v2.0.50727\Temporary ASP.NET Files". So two things
    Does the tutorial mention that the Web Service should be hosted under a .Net V2.0 Application Pool? If so then please give "Full Control" permissions to the above directory for the BizTalk Service Accounts (which also should be part of your "BizTalk Isolated
    Host Users" Group.
    If not then the service has to be hosted in a .Net v4.0 app pool. Change the Application Pool Settings through IIS Manager and give permissions to a similar folder (Temporary ASP.Net) but under the Framework\V4.0.... directory.
    Regards.

  • Adding attachments to web service

    Hi,
    I am working on a project which requires me to add pictures as attachments of a web service.
    This is what I do:
    messageContext = endpointContext.getMessageContext();
    SOAPMessageContext soapContext = (SOAPMessageContext) messageContext;
    SOAPMessage msg = soapContext.getMessage();
    //URL url = new URL("file:///attachments/jhe061.gif");
    URL url = new URL("http://www.google.ro/images/hp0.gif");
    DataHandler dataHandler = new DataHandler(url);
    AttachmentPart attachment = msg.createAttachmentPart(dataHandler, "image/gif");
    attachment.setContentId("image/gif");
    msg.addAttachmentPart(attachment);
    According to the J2EE tutorial, an image attachment should be added to the service. On the client side no sign of a multipart is found....
    Could anybody tell me what I do wrong?
    Thanks, d3m0

    Attachment support for webservices is not defined using the mime binding in the
    current jaxrpc1.1 implementation. It is done in an implementation specific manner.
    See the jaxrpc1.1 specfication chapter 7 where it talks about SOAP messages with
    attachments. This is optional functionality in the jaxrpc1.1 release.
    In jaxrpc1.1.2 (a follow on release) support for WS-I Attachment Profile1.0 is
    in this release defined via the wsdl mime binding. You can get this release by
    downloading the JWSDP1.4 release. This contains the required attachment support
    you need for handling attachments in webservices in a portable way. To create
    a webservice with attachments using this release is quite easy. You simply
    define your attachments in your wsdl using the wsdl mime binding. You can send
    attachments to a webservice in the SOAP request by defining the mime binding
    on the operation input and you can get attachments back from the webservice by
    defining the mime binding on the operation output. You will need to look at
    at the WS-I Attachment Profile 1.0 Specification to see how this is done.
    Also look at the documentation and release notes for the JWSDP1.4 release.
    Here is an example of the mime binding for a webservice operation on the
    output.
    <binding name="SwaTestSoapBinding1" type="tns:SwaTest1">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="getMultipleAttachments">
    <soap:operation/>
    <input>
    <soap:body parts="request" use="literal" namespace="http://SwaTestService.org/wsdl"/>
    </input>
    <output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="response" use="literal" namespace="http://SwaTestService.org/wsdl"/>
    </mime:part>
    <mime:part>
    <mime:content part="attach1" type="text/plain"/>
    </mime:part>
    <mime:part>
    <mime:content part="attach2" type="text/html"/>
    </mime:part>
    </mime:multipartRelated>
    </output>
    </operation>
    An example of using attachments in jaxrpc1.1:
    To do attachments in jaxrpc1.1 you can start from java and develop an SEI with
    signatures as follows:
    Sample SEI
    package attachmentstest;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import java.awt.Image;
    import javax.mail.internet.MimeMultipart;
    import javax.xml.transform.Source;
    import javax.activation.DataHandler;
    import java.util.*;
    // Service Defintion Interface - as outlined in JAX-RPC Specification
    public interface AttachmentsTest extends Remote {
    public Image echoImage(Image v) throws RemoteException;
    public Image[] echoImageArray(Image[] v) throws RemoteException;
    public MimeMultipart echoMimeMultipart(MimeMultipart v) throws RemoteException;
    public MimeMultipart[] echoMimeMultipartArray(MimeMultipart[] v) throws RemoteException;
    public Source echoSource(Source v) throws RemoteException;
    public Source[] echoSourceArray(Source[] v) throws RemoteException;
    public DataHandler echoDataHandler(DataHandler v) throws RemoteException;
    public DataHandler[] echoDataHandlerArray(DataHandler[] v) throws RemoteException;
    Sample Client
    private boolean dataHandlerTest() {
         TestUtil.logMsg("AttachmentsTest:(dataHandlerTest)");
         boolean pass = true;
         DataHandler response;
    try {
    DataHandler dataHandler = new DataHandler(sourceFileURL);
         TestUtil.logMsg("Test request/response of DataHandler ...");
         TestUtil.logMsg("dataHandler="+dataHandler);
         response = port.echoDataHandler(dataHandler);
         if (!(response.getContent().equals(dataHandler.getContent()))) {
              TestUtil.logErr("DataHandler comparison mismatch");
              pass = false;
    } catch (Exception e) {
         TestUtil.logErr("Caught exception: " + e.getMessage());
    TestUtil.printStackTrace(e);
         pass = false;
         printTestStatus(pass, "AttachmentsTest:(dataHandlerTest)");
         return pass;
    private boolean sourceTest() {
         TestUtil.logMsg("AttachmentsTest:(sourceTest)");
         boolean pass = true;
         Source response;
    try {
    Source source = new StreamSource(xmlFileURL.openStream());
         TestUtil.logMsg("Test request/response of Source ...");
         response = port.echoSource(source);
         // Code for comparison here
    } catch (Exception e) {
         TestUtil.logErr("Caught exception: " + e.getMessage());
    TestUtil.printStackTrace(e);
         pass = false;
         printTestStatus(pass, "AttachmentsTest:(sourceTest)");
         return pass;

  • Adding attachments to Web Service call

    Hi
    Does Bea's web service classes include support for adding attachments to the soap message sent by a web service?
    How do I do it? or otherwise, how do I get through the abtraction down to the soap message so I can add it manually?
    I have both a weblogic.webservice.core.rpc.StubImpl and a javax.xml.rpc.Service to work with, I'm guessing it's somewhere deep down in the context of the Service...?

    Hi
    Does Bea's web service classes include support for adding attachments to the soap message sent by a web service?
    How do I do it? or otherwise, how do I get through the abtraction down to the soap message so I can add it manually?
    I have both a weblogic.webservice.core.rpc.StubImpl and a javax.xml.rpc.Service to work with, I'm guessing it's somewhere deep down in the context of the Service...?

  • Checkbox to be added to HR self service page

    Hi
    We have a requirement to add a checkbox field to a HR Self service page. After the details are entered and Next button is clicked, the control goes to a Review page where the user clicks the Submit button, which saves the data in the database. The checkbox value needs to be saved in the same table along with other standard data.
    The OAF region on which we need to add the checkbox is to be added is based on a VO with SQL query (and not on Entity). Could you please suggest as what would be approach to implement the above requirement.
    Appreciate your help.
    Thanks

    Hi,
    Please find below the complerte requirement.
    We have a requirement to add a checkbox field to a HR Self service Personal Information Emergency Contacts page. After the details are entered user can select the Next button or 'Save for Later' button. When the Next button is clicked, the data is stored in temporary transaction tables and the control goes to a Review page where the user clicks the Submit button, which saves the data in the actual table in database. The checkbox value needs to be saved in the same table along with other standard data.
    The OAF region on which we need to add the checkbox is to be added is based on a VO with SQL query (and not on Entity). Could you please suggest as what would be approach to implement the above requirement.
    Thanks

  • Changed bill after I paid it and added in a $70 service charge they had taken off!

    I feel like Comcast is a complete ripoff now - and I have been a loyal customer for more than 15 years! I was totally bamboozled by Comcast after I paid my bill and then opened up my "new bill" and saw that my last month's e'bill has been changed after I paid it in full  - all my services have been changed and now are being charged more - and a service charge of $70 for a phone problem which was totally their equipment problem and they had previously removed from the bill has now been added back in!! Now the new bill was added in - my "free HBO for 6 months for previous problems" - was removed and I'm now being billed for it - all of my services are being charged more - and my service - which was supposed to be $89. for two years - and I had agreed to - is now $161. - WHAT A RIP-OFF!!! Of course, I can't reach anyone by telephone now as the phone service has changed and I'll have to wait until tomorrow and try some other numbers. I have now switched back to Paper billing and may cut off the phone as this is a total crazy way to operate a business!!! I wish they would just be honest with me after helping me and thanking me for my business and telling me what my bill would be for two years and saying that my bill was paid in FULL!!!

    Thanks - I did get a private message that they've taken off the service charge and taken off some of the other charges that had been put on after the fact on the last bill and on this month's bill but then when I log in to look at the bill - it is still more than it is supposed to be as it say it will one to 2 billing cycles for that to take effect.I can't even SEE my own bill ONLINE!  I now have to put in a "pin" number to view it and I'm locked out of my own account as there is no place to enter the PIN number and I don't have a record of ever creating a PIN number when I created my account 15 years ago!!  -  So I wil be emailing that back to the person who emailed me as well as to the ecare@ comcast.com

  • Adding Timestamp to Report when it was Last Run.

    This is a general Reporting requirement we need to include in some of our Reports.
    Is there any way we can display "Timestamp" anywhere in report indicating when it ran sucessfully priviously.
    If it is not possible please let me know how can I add current timestamp in report when I run it.
    Here is what I did for now:
    I have added 'Started Time' option as 'Display Date and Time' under Title Edit View.
    Please let me know if there is any other way to put timestamps for your report.
    Regards,
    Abhay

    Hi,
    You can also put this in a column as and use the 'NOW()' function. No matter how you do this though it will always be based on the server locale and not the users regional locale which is a bit of a shame and usually renders this useless.
    Thanks
    Oli @ Innoveer

  • Problem while Adding the SAP Web service in Visual Studio 2005

    Hi all,
    I have created the web service thru SOAMANAGER.
    Now I am just trying to access that web service in Visual Studio 2005.
    I am not able to access...
    Please give me the procedure , if any body knows.
    -Balajee Jeyaraj.

    - Start Tcode SOAMANAGER
    - Now it depends on your setup, you might have to press "Logon" and.......logon
    - Click tab "Business Administration"
    - Click "Web Service Administration"
    - Choose "Service" for "Search by"
    - Enter a search pattern (E g Z*) and press "Go"
    - Mark the line of your web service
    - Press "Apply Selection"
    - Click the link "Open WSDL document for selected binding"
    - your web browser opens.
    - copy and paste the link into Visual Studio.
    I'm always adding    &wsdl=1.1     at the end of the link.

  • SharePoint adding, then removing Network Service to local groups

    After upgrading our two server farm to SharePoint 2010, SP2, April 2014 CU, we've noticed activity in our event log when the Timer Service restarts daily and when FIM syncs run.  It looks like SharePoint is adding the Network Service account to
    the local groups IIS_IUSRS and WSS_WPG, then removing it a little later on.
    Does anyone know why this happens?  Is it expected activity or a bug with the version we are running?
    Thanks in advance for your time- Rob

    Hi Rob,
    According to your description, my understanding is that you want to know why SharePoint adds and removes the Network Service account to local groups.
    Per the thread below, it seems like it is an internal SharePoint process and SharePoint adds this user as a test to validate whether it has the rights necessary to add users to local groups.
    More reference:
    http://social.technet.microsoft.com/Forums/en-US/1d451db9-fc73-4b1a-a532-7e89be2888ee/sharepoint-automatically-adding-network-service-account-to-the-iisusers-group?forum=sharepointadminprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Invalid Attribute value Exception while adding Timestamp Attribute value

    Good Day friends,
    I'm using IBM Directory Server 4.1 LDAP to maintain the Online User Registeration for a Web Application. I need to store the Timestamp at the time user registers, so that another java application of mine can delete non-active users within specific amount of time. But when i provide a value for "createTimestamp" attribute in LDAP using Java sql class object Timestamp, it gives me a exception of InvalidAttributeValueException. I tried inserting the entry with String, but without success. What is the type or format for createTimestamp Attribute? How i can bind a time or date object to this object? Any Help or Suggestions will be highly appreciated. Thanks in Advance. Cheers..!!
    The source code is as follows:
    public void createUserProfile(String afname, String alname, String aemail, String apassword) {
              String fname, lname, email, password;
              fname = afname;
              lname = alname;
              email = aemail;
              password = apassword;
              Date regDate = new Date();
              //java.sql.Time tsObj = new java.sql.Time(regDate.getTime());
              Timestamp tsObj = new Timestamp(regDate.getTime());
              String strTS = tsObj.toString();
              System.out.println("Created Date: "+tsObj);
              try {
                   InitialDirContext ctx = new InitialDirContext(prop);
                   BasicAttribute objClasses = new BasicAttribute("objectclass");
                   objClasses.add("inetOrgPerson");
                   BasicAttributes attrs = new BasicAttributes();
                   attrs.put(objClasses);
                   attrs.put("givenName", fname);
                   attrs.put("sn", lname);
                   attrs.put("mail", email);
                   attrs.put("userPassword", password);
                   attrs.put("createTimestamp", tsObj);
                   ctx.createSubcontext("cn="+fname+",ou=Dept,o=InterComp", attrs);
                   ctx.close();
                   } catch (Exception e) {
                   System.out.println("Error : " + e.getMessage());
                   e.printStackTrace();
    The Error is as follows:
    Error : Malformed 'createTimestamp' attribute value
    javax.naming.directory.InvalidAttributeValueException: Malformed 'createTimestamp' attribute value; remaining name 'cn=arun15382,ou=Dept,o=InterComp'
         at com.sun.jndi.ldap.LdapClient.encodeAttribute(LdapClient.java:964)
         at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1012)
         at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:648)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:323)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:253)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:241)
         at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:180)

    I've the same problem with lastModifiedTime:
    java.sql.Timestamp cal = new java.sql.Timestamp(System.currentTimeMillis());
    myAttrs.put(new BasicAttribute("lastModifiedTime", cal));
    this results in:
    javax.naming.directory.InvalidAttributeValueException: Malformed 'lastModifiedTime' attribute value; remaining name 'uid=tester,ou=people,dc=...'
         at com.sun.jndi.ldap.LdapClient.encodeAttribute(LdapClient.java:1041)
         at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1089)
    Have you fixed it?

  • Is there a way to simplify the published version of an animation, so it can be easily added into RealMedia ad service?

    When publishing an animation from Edge, I get given 1 x html file and 3 (or 5) js files. Is there an option to add the js inline, so that I am only left with 1 html file? This would make it a lot easier to add an animated file into RealMedia  ad service.
    At the moment I am left trying to work out what file paths to change in the js files and then making sure the html file is also looking at an uploaded addess for the js files.

    Here's a recent thread about this:http://forums.ni.com/t5/LabVIEW/LabVIEW-Version-of-Built-Executables/td-p/2162718
    In short, we found a way to read the EXE as a text file and performed a search for a specific pattern.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Adding timestamp to Archive folder name

    Hi All,
    I need to add the current date to the archive folder name of my file sender adapter, so that files are archived in folders based on the date on which they are picked.
    Can this be achieved?
    Regards,
    Diptee

    Diptee,
    I am not sure if there is any easy way of passing filename directly to script which is called from OS.
    The other work around i can see here is...have a temp archive folder where your sender communication channel will archive the file adding tmpstmp in temp archive folder and then call a script and read the file name in the temp archive directory and make new archive directory with the archived file name and move the file from temp to new archive directory.
    In this way you can have your files archived in the directories which tmpstmp too.
    you just need to use simple commands to read the filename and creating directory and moving the file...
    Thanks,
    Prasanthi.

  • Adding a list in Service Mananger Query Filter

    In this post:
    http://www.concurrency.com/blog/service-manager-request-query-result-filtering/
    " The trick was to setup the simple list to include no initial results, which provided very fast form load and quick search
    result return speeds. "
    They have a list or a prompt in their query filter. Is there a site anywhere that explains what this is, or where to do this? I'm absolutely baffled and searching provides no documentation but sky-high level overviews. 

    Lets say you want to filter users based on department. You'll end up with two questions in your service offiering
    Department to search in. refresh the next question after changing this value.
    User.
    the first question contains a simple list (see the table at
    This Blog Post for more details on that)
    [null]
    LegitDepartment1
    LegitDepartment2
    LegitDepartment3
    ETC...
    the second question is your actual query result question. The Criteria on this is going to compare the user's department to the results of the first question. >when the form loads, it going to run the following query:
    System.User where Department = [Null]
    Since there are no users with a null department, this result will be empty and return immediately. 
    Then, the user goes down, hits the right department, and then hits refresh on the second question and gets the correct users, clicks the right one, and goes on with their life. 

  • Adding Silverlight-enabled WCF Service failed with error code 50

    Hello everyone,
    I am very new to Silverlight ,and I am working on silverlight with WCF.
    When I tried to add a silverlight-enabled WCF service. I kept getting the error
       Method failed with unexpected error code 50.
    I am working with Silverlight 5 and VS 2013 ,I have no idea about it. I appreciate that if anyone can help?
    Thank you

    Hi,
    Please make sure your wcf is valid.
    Here are some resources which could help you:
    https://msdn.microsoft.com/library/cc838234(VS.95).aspx
    http://www.codeproject.com/Articles/262164/Using-WCF-Service-with-Silverlight#_articleTop
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem Adding Custom Field to Service Process Screen

    Hi Folks,
    I'm a dinosaur ABAP developer whose been asked to create a custom field to appear on the Business Transaction service process (Support Message) initial selection screen.
    I've created the field and generated the necessary objects via the EEWB transaction.  The client has created a Z* transaction type.
    Could someone please instruct me how to get the custom field onto the Z transaction selection screen? 
    Points rewarded for a successful instructions.
    Cheers,
    Steve

    Hi Stephen,
    If you have overcome this problem and have any documentation that you can share, please send me at [email protected]
    I am having a similar requirement and would be very grateful for your help.
    Thanks & regards,
    Srini

Maybe you are looking for

  • Best Practices for SRM Installation !!

    Hi     can someone share the best Practices for SRM Installation ? What is the typical timeframe to install SRM on development server and as well as on the Production server ? Appericiate the responses Thanks, Arvind

  • How to store a pdf file in a table

    Hi In my project i have to store a pdf file in the table column. can anyone tell what wil be the column type while creating the table in oracle 7.3.4 Thanks Alok

  • Running Business Rules with Decision Service using WebDav

    Hello everybody, I have a problem when I change a rule from Rules Author. I have the following scenario: Machine1 - I have Oracle Soa Suite 10 and I have defined a rule set using Rules Author pointing to a WebDav repository on Machine2 Machine2 - I h

  • How to streamline process of adding descriptions in Book mode

    Working through completing a Photo Book. Understand how to add text to each photo and make changes. My question concerns streamlining the process of adding my descriptions I attached to each photo when first ordered. Instead of having to click to the

  • Error 1935: An error occured during the installation of assembly component

    I am attempting to install SAP Crystal Reports for Visual Studio 2012. The installation (which was initialized with elevated permissions) fails near completion, with the following error message: Error 1935. An error occurred during the installation o