Problem with signed SAML assertion and Web Services Manager

Folks,
I’m having some issues trying to generate a proper signed SAML assertion using JDeveloper 10.1.3. I am securing a java proxy class using the wizard as described in http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html .
On the OWSM side, I have a service that I am securing with SAML - Verify WSS 1.0 Token. If I set the "Allow signed assertions only" property to false I can complete the service call. However, when it is set to true I am receiving the following fault: javax.xml.rpc.soap.SOAPFaultException: SAML token verification failed.
When I examine the message going to OWSM in a packet analyzer, it is missing the signature in the SAML assertion. The <saml:Assertion> tags looks like:
      <saml:Assertion MajorVersion="1" MinorVersion="1"
                      xmlns="urn:oasis:names:tc:SAML:1.0:assertion"
                      xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
                      AssertionID="yM0oqZgF0N1a1td6yzKgOQ22"
                      IssueInstant="2007-01-23T17:15:27Z"
                      Issuer="HealthMarkets_s3">
        <saml:Conditions NotBefore="2007-01-23T17:15:27Z"
                         NotOnOrAfter="2007-01-24T17:15:27Z"/>
        <saml:AuthenticationStatement AuthenticationInstant="2007-01-23T17:15:27Z"
                                      AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
          <saml:Subject>
            <saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">client_s3</saml:NameIdentifier>
            <saml:SubjectConfirmation>
              <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
            </saml:SubjectConfirmation>
          </saml:Subject>
        </saml:AuthenticationStatement>
      </saml:AssertionI have selected the Sign Outbound Messages in step 3 of the Secure Web Proxy Wizard. This step uses the DSA-SHA1 algorithm.
Any help is greatly appreciated.
Thanks in advance,
Joseph

Thanks for the response. I am not using any pages for this application yet... just calling the web service from SOAP UI or any Web Service testing tool causes the problem.
All that has to be done to replicate it is to build a simple EJB 3.0 JPA bean using the entities from tables wizard and then add named query as follows:
@NamedQuery(name = "BomHeader.findByDesc", query = "select o from BomHeader o where o.bomDesc like :p_bomDesc")
then build a session bean with the wizard that includes the JPA persistence unit and the entity and subsequently use the wizard to wrap the session bean in a web service.
The whole replication process should take 5 minutes if you have some database tables to work with. It breaks when the web service is called.
Thanks in advance

Similar Messages

  • Problem with validating SAML assertion signature ("bad" certificate?)

    Hi,
    We've been developing and testing webservices and webservice clients under WebLogic for awhile. In our typical configuration, we have the SAML Credential mapper configured on the webservice client side, and the SAML Identity Asserter on the webservice side, and we are using "sender-vouches", whereby the SAML assertions are being signed by the SAML Credential mapper.
    Up through development, for the signing, we've been using certs issued by a test CA that we have, but now, we are moving to a pre-production environment, and we're required to use certs issued by a specific 3rd party CA. Since we've started using those new certs, we have been getting "token failed to validate" errors. We've been trying to diagnose this problem for awhile, and we're at the point that we believe that, for some reason, the certs that we got that were issued by the 3rd party CA are "bad".
    Specifically, those certs are SSL Server certs, with the following characteristics:
    Usages:
    Digital Signature
    Key Encipherment
    Key Agreement
    Netscape Type: SSL Server Authentication
    but, they also have two "extended usage extension" OIDs, both are "2.16.840.1.101.2.x.yy.zz".
    When we looked at the certs using various tools, e.g., "openssl x509...", etc., those extended usage extensions are being displayed as "unknown", which made us a littel suspicious about them, so I setup a simple test configuration with two WebLogic 10.0 MP1 instances.
    For testing, we first used a cert from the 3rd party CA, which gave us the "failed to validate token" errors.
    During this testing, we put a sniffer on the line, and captured the SOAP message with the signed SAML assertion, and we used a small Java app that I wrote awhile ago that will validate a digital signature. When we ran that Java app, the digital signature validated successfully (i.e., the digital signature was GOOD).
    This seems to imply that the "failed to validate token signature" errors are happening because of something other than the digital signature being incorrect.
    So, then, we created a certificate that matches the 3rd party CA certs almost exactly, except that we did not include the two extended usage extensions, and we configured the two WebLogic instances to use this new certificate.
    When we tested with the new certificate, we no longer got the errors.
    So, it appears that when the cert has those two enhanced usage extensions, WebLogic is either not willing to, or not able to, utilize the certs for validating digital signatures.
    Does anyone have any insight into this problem, or has anyone encountered a problem like this before?
    I also was wondering if there are any parameters for WebLogic that we might try to set that would tell WebLogic to perhaps ignore the certificate extensions and to just do the digital signature validation?
    Thanks,
    Jim

    Hi,
    FYI, we were able to resolve this problem today. It turned out to be that the certificate and key were not "matched".
    The way that we figured this out was to use openssl and the procedure here:
    http://kb.wisc.edu/middleware/page.php?id=4064
    which showed the mismatch.
    We've since generated a new cert request and got a new certificate, and it's working now.
    Jim

  • Integration access manager and web services manager

    Hi,
    Can the SSO token sent by the access manager be used by the SOA suite web services manager ? I would assume that this is a trivial configuration.
    Can anyone help with some ideas ?
    Thanks,
    Mohan

    SOA Suite has Oracle Web Services Manger which can accept Oracle Access manger token. Instead of passing the obSSOCookie to all the services in SOA Suite ( in which case you are making the services available only to OAM authenticated users) you can create SAML token from your obSSOCookie and then send the SAML token to the SOA.
    If you want to just pass obSSOCookie to SOA Suite/ Oracle WSM, yes it is straightforward. (you have to follow the steps in OWSM document)
    Thanks
    Ram

  • Nyone who had success using sign-encrypt policy(oracle web service manager)

    Hi All,
    I could not succeed in using sign Message and Encrypt and decrypt and verify signature policy using oracle web services manager.So I would be grateful if somebody who had success in using it would shed light on its use.
    Basically,I am using the following policy steps in securing a helloworld web service using gateway(oracle web services manager) :
    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
    But I am getting the following fault exception while accessing this secure web service :
    <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 would appreciate your help.Thanks.
    Kash

    Hi clemens,
    Actually I installed OracleWebServices_Manager_4_0_3 and I see my installation directory does not contain any of the directory structure you mention.
    It installed oracle web services manager in the following location:
    C:\coresv_install_home
    and it contains the following subdirectories:
    1)bin
    2)config
    3)db
    4)ears
    5)external
    6)extlicences
    7)lib
    8)samples
    9)scripts
    10)wars
    So I like to ask did you install the same version of the oracle web services manager, if not which version you install in which security is working for you.Thanks for any help.
    Kash

  • What is the use of HFM workspace and Web service manager?

    Hi experts,
    Can any one explain me the difference between Hyperion Workspace - Agent Service and
    HFM-Web service manager?
    And how these services usefull for HFM workspace?
    Thanks
    Chandu

    Hi Chandu,
    I would recommend you take a look at the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide. It has all the answers to your questions. Here is the link:
    http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_11121/launch.html
    Cheers,
    Mehmet

  • Problem with datetime data type in Web Service

    Hi,
      I created local ABAP proxy based on a WSDL and some of the fields for the SOAP methods has data type datetime:
    name="MsgEndTimeStamp" type="s:dateTime" />
    name="MsgStatus" type="s:string"/>
    Since ABAP stack doesnt support dataTime data type it has created the proxy method with data type STRING.  Now when I call the proxy method (consuming the service) I get an error:
    <CODE>SoapFaultCode:4</CODE>
    <ERRORTEXT>Server was unable to read request. --> There is an error in XML document (1, 626). --> String was not recognized as a valid DateTime.</ERRORTEXT>
    I am sure others have faced the same issue.  Can someone help?
    Thanks

    Thanks but I dont think that link is much relevant to the problems I am facing, because I cannot change the web service definition as it is used by many others.  Also the target application runs on oracle so thats why some of the fields are datetime and I dont want to change that, even if I could.
    I am just stuck in creating the wrapper program to call the service since the SAP converts datetime data type to string and when the messages gets to the application it cannot convert string -> datetime.
    thanks anyway

  • Problem with file receiving through abap web service

    Hi experts,
    I need to created web service for import file from .NET application into SAP.
    ABAP function expect hexadecimal string (same as GUI_UPLOAD / GUI_DOWNLOAD) but hexadecimal string from C# is too long (double longer), and I have no idea how to convert it. Also there is a problem with code page...
    Is there some better way to do this? Any idea is welcome!

    Hi Nemanja,
    Please bear in mind that your SAP system is based on UTF-8 encoding. Since you have the xstring length doubled, most probably your sender system uses UTF-16 encoding. So what you need to do is change the encoding used by your .NET application when sending the data to SAP.
    Alternatively, you can try using XSL Transformations in ABAP to have the input data converted from UTF-16-encoded xstring to ABAP structures. You can find a little example in this thread: ABAP data to XML conv with UTF-8 encoding and custom namespace. The point is to start your XSLT with the following: <?xml version="1.0" encoding="utf-16"?>.
    Hope this helps,
    Greg

  • Problems with UTL_DBWS calling out a web service.

    I´m using ORACLE 10G 10.2.0 and i ´ve downloaded the dbws-callout-utility-10R2.zip utility l´ve unziped it and launched it .
    the command loadjava -u SCOTT/passwd -r -v -f -genmissing dbwsclientws.jar dbwsclientdb102.jar ended without errors.
    then I gave grant access using the following commands
    the environment variable is
    $TMPCLASSPATH=$ORACLE_HOME/sqlj/lib/dbwsa.jar:$ORACLE_HOME/jdk/lib/dt.jar:$ORACLE_HOME/jdk/lib/tools.jar:$ORACLE_HOME/sqlj/lib/runtime12.jar:$ORACLE_HOME/sqlj/lib/translator.jar:$ORACLE_HOME/javavm/lib/aurora.zip:$ORACLE_HOME/rdbms/jlib/xdb.jar:$ORACLE_HOME/lib/xsu12.jar:$ORACLE_HOME/jlib/jndi.jar:$ORACLE_HOME/rdbms/jlib/aqapi.jar:$ORACLE_HOME/rdbms/jlib/jmscommon.jar:$ORACLE_HOME/lib/xmlparserv2.jar:$ORACLE_HOME/jlib/orai18n.jar:$ORACLE_HOME/jdbc/lib/ojdbc14.jar
    call dbms_java.grant_permission( 'SCOTT','SYS:java.lang.RuntimePermission', 'shutdownHooks', '' );
    COMMIT;
    call dbms_java.grant_permission( 'SCOTT', 'SYS:java.util.logging.LoggingPermission', 'control', '' );
    COMMIT;
    call dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'setFactory', '' );
    COMMIT;
    then I created the package running UTL_DBWS .SQL scripts
    when I run a test for calling out the web service I got the next error.
    ORA-29532: UNCAUGHT JAVA EXCEPTION : Java.Lang.IllegalAccessException: java.lang.ExceptionLnLn
    at line
    " function create_service_proxy(wsdl_Document_Location VARCHAR2, service_Name VARCHAR2) return SERVICE
    as language java 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long' "
    name 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long';
    Is necessary to install the jpublisher in addition for a sucessfully web service calling out?
    what goes wrong?
    Thanks for the soon answer.

    I have exactly the same problem.
    All possible grants are made.
    Running as SYS is not functioning as well.
    The same installation (the same jar's, the same utl_dbws version, the same database version) does function on two other (developers team's) servers .
    The differences are:
    Where it functions: Oracle database Enterprise edition on Windows (Windows 7, Vista)
    Where it does not function: Oracle database Stadard edition on Unix
    I have gone though a decent number of forums and other on-line resources with no success. Solutions available are to grant missing permissions. However these solutions are based on the assumption that under SYS user everything functions properly.
    In my case, this does not function even under SYS as SYSDBA.
    I will highly appreciate any recommendations!
    Best Regards,
    Michail
    P.S.
    Database: Oracle 10.2.0.1 Standard edition installed on Unix

  • Problem with Using Spring IoC and Web Start

    Greetings Everyone,
    I have a small Swing app that runs using spring to load its dependencies. I can run it from a single signed jar file locally, and I setup my .jnlp file to try it with Web Start.
    Unfortunately, I get the following:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
         at java.lang.Class.checkMemberAccess(Class.java:2157)
         at java.lang.Class.getDeclaredMethods(Class.java:1790)
         at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:429)
         at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:412)
         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:363)
         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:296)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:448)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:597)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:366)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
         at org.chibgrant.main.MainPOE.main(MainPOE.java:31)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.javaws.Launcher.executeApplication(Launcher.java:1321)
         at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1267)
         at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
         at com.sun.javaws.Launcher.run(Launcher.java:116)
         at java.lang.Thread.run(Thread.java:619)
    I am running build 1.6.0_13-b03. Anyone run into this before?
    Thanks for any insights...!

    I suspect you may have solved this yourself by now, but in case not.
    I've recently created a desktop application that uses Spring and is launched via Java Web Start and I did have a problem getting it to launch via Web Start until I modified my code to ensure the classloader setup is done before any Spring methods are called.
    i.e.
        // This is needed for Java Web Start compatibility.
        UIManager.getLookAndFeelDefaults().put("ClassLoader", Loader.class.getClassLoader());In may application this code is invoked in the class that starts my application (Loader) before I load anything via Spring.
    Cheers,
    Stephen.

  • Problems with deep request structure in web service

    I'm having problems when trying to consume an Enterprise Service-like web service in my Web Dynpro application. The web service FindXByElements has a request-structure as follows:
    XByElementsQuery
    -ProcessingConditions
    -QueryHitsMaximumNumberValue
    -QueryHitsUnlimitedIndicator
    -XSelectionByElements
    -ID
    -Year
    Regarding the structures on level two, the structure ProcessingConditions are of the global data type "WITHOUT_LASTRETURNED_QueryProcessingConditions" and are therefore typed. The structure XSelectionByElements on the other hand are just a "level" in the request structure and are therefore not typed. Both structures have occurrence 1 so they have to be filled with input data.
    The code in wdDoInit in the Component Controller looks like this:
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    The last row generates the following exception:
    java.lang.IllegalArgumentException: Cannot perform write operation 'setRelatedModelObject' on target role: Class 'XSelectionByElements' is not compatible to class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$002fXsdComplexType$005b3$005d$002fXsdSequence$002fXsdElement$005b2$005d$002fXsdComplexType' of target role 'XSelectionByElements' in model class 'XByElementsQuery_Sync'
    There seems to be a problem to bind a non-typed structure element to a context node since the processing structure is working fine but the selection structure are not.
    What am I doing wrong, anyone got any clues?
    /Oskar

    Hi
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    XByElementsQuery
    ProcessingConditions
    QueryHitsMaximumNumberValue
    QueryHitsUnlimitedIndicator
    XSelectionByElements
    ID
    Year
    as
              QueryXInModel model = new QueryXInModel();
               Request_FindXByElement  request = new Requst_FindXByElement();
                ProcessCondition   processCond  = new  ProcessCondition(model);
                QueryHitsMaximumNumberValue  qhMaxNumValues = QueryHitsMaximumNumberValue(model);
          QueryHitsUnlimitedIndicator  qhUnLimind = new QueryHitsUnlimitedIndicator(model);
            XSelectionByElements  selecByEle = new XSelectionByElements(model);
                     processCond.set....();                         
                     qhMaxNumValues .set...();
               and so on
                    request.set....();
    wdcontext.nodeReqestFindX..bind(request);
      in the above during the values you will automatically get the set values .

  • Problems with Community Bridge (MS REST-Web-Service)

    Hello,
    few days ago I started experiencing problems while connecting to Microsoft TechNet Forums
    by using Community Bridge 3 (MSDN/Social/Partner) and "Forté
    Agent" client. I get the error below from bridge debugger while retrieving headers from Windows Server General Forums
    I subscribed:
    Update threads since (null)
    CreateRequest: https://forumsapi.contentservices.msdn.microsoft.com/threads/?forumId=0b3d1d0b-dfd6-4df9-a87a-80d34d658a5f&sort=createdDate&order=desc&page=1
    WebException: JSON: {
    "errors": [
    "No results found."
    RequestTime: 8348 ms
    Note: The error also appears from any other forum. 
    So I sent bridge debugger collected information to Jochen Kalmbach (the developer).
    The error seems to come from the MS REST-Web-Service.
    Could you confirm the problem ?
    Bye,
    Luca
    Disclaimer: This posting is provided AS IS with no warranties or guarantees, and confers no rights. Whenever you see a helpful reply, click on [Vote As Help] and click on [Mark As Answer] if a post answers your question.

    You might also check on that over here.
    http://communitybridge.codeplex.com/discussions
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Problems with creating model in Email Web Service tutorial

    Hello!
    In the moment, I'm trying to follow the tutorial "Using an Email Web Service in Web Dynpro". I followed all the steps in the chapter "Generating a Model from the WSDL Description", but after typing in the mentioned WSDL description "http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService" in the "New Model" wizard, I'm getting the error message, that the WSDL file is not found or not valid and no new model can be created.
    So I'm quite stuck. What am I doing wrong? Did anyone encounter the same problems?
    Greeting
    Bärbel

    Hello Baerbel,
    I could not reproduce this error and never had this before. What you could do in the meantime is taking the wsdl description from the url and copy and paste it into a notepade file. Then please save it under emailwebservice.xml onto your hard disc and select it from "local file system or url" and take it from the path of your local file system.
    Hope that helps!
    Best regards,
    Karin

  • Problems with G6 - PT API and Content Service Upload Installation

    Hi all,
    What port number is PT API using in G6? Examples in Installation Guide are using 11905for PT API, is that the right port or just a dummy port? Same question for Content Service Upload, is port 11910dummy?
    I installed all Plumtree Foundation Components in one box as a Test. Followed every single instruction in the installation guide and the installation went successfully. Installation logs have no errors at all. Run diagnostic.bat test and it went successfully. All Plumtree services started successfully.
    But the installation didn't create a "ptapi" virtual directory in IIS, hence the verifying installation (following instruction in installation guide page 4-25) step failed. PTSpy captured an error message (please see my reply coz the collab message can't exceed 16K chars).
    Verifying Content Upload Service also failed (Tried to upload a simple document to a KD folder, error occured and upload was unsuccessful). PTSpy captured some error messages (please see my reply coz the collab message can't exceed 16K chars).
    Can someone give me a hint ? Has anyone experienced these problems too???
    Regards,
    JS

    Content Service Upload Error
    406 portal.saptg6.Administrator 2-9-2006 16:12:10.296 Error Portal_Browsing .NET #37 com.plumtree.portalpages.browsing.directory.DirRepostControl DirRepost::PerformAction The following error occured when trying to submit a card: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>', lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive numbercom.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>', lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive numbercom.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>', lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive number at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e) at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(String vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 465 at com.plumtree.portalpages.browsing.directory.DirModel.SubmitCardWithPropertyBag(Int32[] arFolderIDs, String strLanguage, Int32 nDocTypeID, Int32 nDataSourceID, IXPPropertyBag pbagCardProp, String strCardName, String strCardDescription) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirModel.cs:line 3290 at com.plumtree.portalpages.browsing.directory.DirModel.SubmitCardWithPropertyBag(Int32 nDataSourceID, String strCardName, String strCardDescription, IXPPropertyBag pbagCardProp) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirModel.cs:line 3205 at com.plumtree.portalpages.browsing.directory.DirModel.SubmitCard() in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirModel.cs:line 3051 at com.plumtree.portalpages.browsing.directory.DirRepostControl.PerformAction(Int32 nAction) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirRepostControl.cs:line 626   at com.plumtree.uiinfrastructure.form.RepostControl.CheckActionSecurityAndExecute(XPHashtable arguments) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\form\RepostControl.cs:line 184   at com.plumtree.portalpages.browsing.directory.DirRepostControl.CheckActionSecurityAndExecute(XPHashtable arguments) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirRepostControl.cs:line 312   at com.plumtree.uiinfrastructure.interpreter.MVCController.HandleRedirect(Redirect redirect, RequestData tempData) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\MVCController.cs:line 385   at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 387   at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 167   at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\2.0.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 82   at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 37   at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   at System.Web.HttpApplication.ResumeSteps(Exception error)   at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)   at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)   at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)Caused by: com.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTCPBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive number at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e) at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(IXPPropertyBag vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 446 at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(String vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 456 ... 18 moreCaused by: com.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive number at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e) at com.plumtree.server.impl.directory.accessors.PTFileAccessorBase.AttachToDocument(IXPPropertyBag pBagDocumentLocation, IPTSession pSession) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTFileAccessorBase.cs:line 130 at com.plumtree.server.impl.directory.providers.PTWebProvider.AttachToDocument(IXPPropertyBag spIPBagDocumentLocation, String AccessorID) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\providers\PTWebProvider.cs:line 183 at com.plumtree.server.impl.directory.PTDataSource.InternalImportDocument(IXPPropertyBag vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider, IPTDocumentType spDocumentType) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 1494 at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(IXPPropertyBag vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 436 ... 19 moreCaused by: com.plumtree.openfoundation.util.XPIllegalArgumentException: Year must be a positive number at com.plumtree.openfoundation.util.XPCalendar.ValidateYearRange(Int32 year) at com.plumtree.openfoundation.util.XPCalendar..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at com.plumtree.openfoundation.util.XPCalendar.GetInstance(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.convertStringToDate(String val) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 643 at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.assignPropertyValue(Int32 iRow, Object key, OpenSearchFileProperty prop) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 363 at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.ReadPDFFieldsFromDoc() in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 292 at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.CheckDocumentValidity() in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 40 at com.plumtree.server.impl.directory.accessors.PTFileAccessorBase.AttachToDocument(IXPPropertyBag pBagDocumentLocation, IPTSession pSession) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTFileAccessorBase.cs:line 113 ... 22 more

  • Problems with permissions to execute a web service in a drop down list ...

    Hello:
    I have created several iView with VC and I integrated it into guided procedures process. In some of that VC iViews I have drop down list that are filled with data retrieved from web services created by us that doesnu2019t require any authentication.
    When I execute my VC iViews with the Administrator user everything works ok, but when I execute it with a different user the drop down list doesnu2019t retrieve any value, as if the corresponding web services where not executed. 
    If I assign the "super_administrator" portal role to those users everythingu2019s goes OK. But I don't want that users to have that permission. Can anyone help me to identify which granular permission do I have to assign to that users in order to get the iView working as they are working for the "super_administrator" role?
    Thank you in advance.
    Ricardo Zengin.
    Edited by: Ricardo Zengin on Jul 6, 2009 6:35 PM

    I solved this issue giving administrator read and end user permision in te portal systems creadted for the web services to a group to which all my users belongs.

  • Problems with Internetstick CS-10 and "Data Servic...

    Hi,
    I have problems with my USB-Stick CS-10 with MultiSim-Card. MultiSim supports simultanious opereation, when Stick is connected to the PC/Notbook an outgoing call from my mobile is possible an incoming is rejected after the first dialtone. I found in the www some hints to change the mode with at-commands in hyperterminal, I can connect the stick with hyperterminal and for example the command to check the manufactor "ati" is working and sending an "at" is answered by "OK". But the commands like "enter at_odo?" to check the status and the others to change the status are not working for the cs-10. Have you some hints to solve the problem.
    Thanks in advance
    yours Hans

    HI,
    we have seen that there might be some issue with MultiSim and working on that issue.
    In meantime you might check with
    AT%ICSCALL=1,0 command. IN most cases this worked
    Br, Oliver

Maybe you are looking for

  • How do I add a signature to email on iPad

    I have a signature I use on my MacBook mail program. Can I sync/transfer it to the iPad mail app. I use mobile me to sync

  • How can I put two beats of normal 16th notes and two beats of triplet 16th notes in the same measure?

    Hello! How can I make a measure that has the first two beats as normal 16th notes, then the last two beats as triplet 16th notes? I'm putting the notes straight into the score. Oh, and I'm in 4/4 time. Exactly what I did: 1. Score>Insert>16th note. P

  • FF805 Tax statement item missing for tax code O0

    Hi Gurus, We are working in Upgrade project 4.6C to ECC 6. We are getting an error when releasing billing document  to accounting in ECC 6 sytem. Error:  FF805 Tax statement item missing for tax code O0 No tax item exists for tax code O0 in a G/L acc

  • How to use create by and modified by

    how to use create by and modified by ? when some one create row it will stamp who create and when some one edite row it will stamp who edit row i ever user create on and modified on but creay by and modified by i never use it.

  • Link to other sites

    Endomondo asks for friend requests from facebook when I sign into facebook it has 2 tick boxes skip amd allow I select allow but nothing happens eventually it throws me out stating cannot connect even when I have full internet connection and phone co