Connect a simple WebService fails

Hello Experts,
System:
ECC6.0 with
-SAP_ABA 700 SP 16
-SAP_BASIS 700 SP 16
I created a very simple functionmodule with one import parameter and 3 export parameters. The import parameter doesn't have any further function and the export par. are set with constant values.
FUNCTION zmm_ws_materialklass_mermale .
*"  IMPORTING
*"     VALUE(FANUMMER) TYPE  BAPI_ORDER_KEY-ORDER_NUMBER
*"  EXPORTING
*"     VALUE(ZEICHNDATENBLNR) TYPE  DZEINR
*"     VALUE(ZEICHNIDX) TYPE  DZEIVR
*"     VALUE(DATENBLIDX) TYPE  AESZN
    zeichndatenblnr = '613582'.
    zeichnidx       = '00'.
    datenblidx      = '01'.
ENDFUNCTION.
Then I created the Webservice via transaction SOAMANAGER, exactly like it is demonstrated [here|http://enterprisegeeks.com/blog/2009/02/18/abap-freak-show-february-18-2009/].
The WSDL open up correctly:
<wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions">
   <wsdl:documentation>
      <sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl"/>
   </wsdl:documentation>
   <wsp:UsingPolicy wsdl:required="true"/>
   <wsp:Policy wsu:Id="BN_ZWS_MAT_CLASS_CHARACT">
      <wsp:ExactlyOne xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
         <wsp:All>
            <sp:TransportBinding>
               <wsp:Policy>
                  <sp:TransportToken>
                     <wsp:Policy>
                        <sp:HttpsToken/>
                     </wsp:Policy>
                  </sp:TransportToken>
                  <sp:AlgorithmSuite>
                     <wsp:Policy>
                        <sp:TripleDesRsa15/>
                     </wsp:Policy>
                  </sp:AlgorithmSuite>
                  <sp:Layout>
                     <wsp:Policy>
                        <sp:Strict/>
                     </wsp:Policy>
                  </sp:Layout>
               </wsp:Policy>
            </sp:TransportBinding>
         </wsp:All>
      </wsp:ExactlyOne>
      <saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" wsp:Optional="true" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/"/>
   </wsp:Policy>
   <wsp:Policy wsu:Id="IF_ZWS_MAT_CLASS_CHARACT">
      <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
         <sapsession:enableSession>false</sapsession:enableSession>
      </sapsession:Session>
      <wsp:ExactlyOne xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"/>
   </wsp:Policy>
   <wsp:Policy wsu:Id="OP_ZmmWsMaterialklassMermale">
      <sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
      <sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
      <saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
      <saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
   </wsp:Policy>
   <wsdl:types>
      <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
         <xsd:simpleType name="char12">
            <xsd:restriction base="xsd:string">
               <xsd:maxLength value="12"/>
            </xsd:restriction>
         </xsd:simpleType>
         <xsd:simpleType name="char2">
            <xsd:restriction base="xsd:string">
               <xsd:maxLength value="2"/>
            </xsd:restriction>
         </xsd:simpleType>
         <xsd:simpleType name="char22">
            <xsd:restriction base="xsd:string">
               <xsd:maxLength value="22"/>
            </xsd:restriction>
         </xsd:simpleType>
         <xsd:simpleType name="char6">
            <xsd:restriction base="xsd:string">
               <xsd:maxLength value="6"/>
            </xsd:restriction>
         </xsd:simpleType>
      </xsd:schema>
      <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
         <xsd:import namespace="urn:sap-com:document:sap:rfc:functions"/>
         <xsd:element name="ZmmWsMaterialklassMermale">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="Fanummer" type="n0:char12"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="ZmmWsMaterialklassMermaleResponse">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="Datenblidx" type="n0:char6"/>
                  <xsd:element name="Zeichndatenblnr" type="n0:char22"/>
                  <xsd:element name="Zeichnidx" type="n0:char2"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
      </xsd:schema>
   </wsdl:types>
   <wsdl:message name="ZmmWsMaterialklassMermale">
      <wsdl:part name="parameters" element="tns:ZmmWsMaterialklassMermale"/>
   </wsdl:message>
   <wsdl:message name="ZmmWsMaterialklassMermaleResponse">
      <wsdl:part name="parameter" element="tns:ZmmWsMaterialklassMermaleResponse"/>
   </wsdl:message>
   <wsdl:portType name="ZWS_MAT_CLASS_CHARACT">
      <wsp:Policy>
         <wsp:PolicyReference URI="#IF_ZWS_MAT_CLASS_CHARACT"/>
      </wsp:Policy>
      <wsdl:operation name="ZmmWsMaterialklassMermale">
         <wsp:Policy>
            <wsp:PolicyReference URI="#OP_ZmmWsMaterialklassMermale"/>
         </wsp:Policy>
         <wsdl:input message="tns:ZmmWsMaterialklassMermale"/>
         <wsdl:output message="tns:ZmmWsMaterialklassMermaleResponse"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="ZWS_MAT_CLASS_CHARACT" type="tns:ZWS_MAT_CLASS_CHARACT">
      <wsp:Policy>
         <wsp:PolicyReference URI="#BN_ZWS_MAT_CLASS_CHARACT"/>
      </wsp:Policy>
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <wsdl:operation name="ZmmWsMaterialklassMermale">
         <soap:operation soapAction="" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="service">
      <wsdl:port name="ZWS_MAT_CLASS_CHARACT" binding="tns:ZWS_MAT_CLASS_CHARACT">
         <soap:address location="http://myserver:8080/sap/bc/srt/rfc/sap/zws_mat_class_charact/100/zws_mat_class_charact/zws_mat_class_charact"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>
So I could think it should works well. But when I would test it with [soapUI|http://www.soapui.org] the WSDL is parsed well:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:ZmmWsMaterialklassMermale>
         <Fanummer>?</Fanummer>
      </urn:ZmmWsMaterialklassMermale>
   </soapenv:Body>
</soapenv:Envelope>
but finally by submit this request to the endpoint it gives me errors back:
400 Bad HTTP request
Error: -21
Version: 7000
Component: HTTP_PLG
Date/Time: Thu Feb 26 13:25:20 2009
Module: http_plg_mt.c
Line:4893
Server: hg21288_ETT_00
Error Tag: {0002b381
Detail: illegal request version
Even simple test cases with soapui like this [example|http://www.soapui.org/userguide/functional/getting_started.html] didn't work. But the user login works for this Webservice...
SchemaComplianceAssertion
line -1: error: Unexpected character encountered: 'w'
line 6: Unexpected character encountered: 'w'
SoapFaultAssertion
Response is not a SOAP Fault
What does it mean?
When I enter the location address which is showed up in the WSDL document directly in the browser it gives me the following response:
<soap-env:Envelope>
     <soap-env:Header/>
     <soap-env:Body>
          <soap-env:Fault>
               <faultcode>soap-env:Server</faultcode>
               <faultstring xml:lang="en">
               SRT: Wrong Content-Type and empty HTTP-Body received
               </faultstring>
               <detail>
                 <ns:SystemFault>
                 <Host>undefined</Host>
                 <Component>COREMSG</Component>
                 <ChainedException>
                   <Exception_Name>CX_SOAP_CORE</Exception_Name>
                   <Exception_Text>
                   SRT: Wrong Content-Type and empty HTTP-Body received
                   </Exception_Text>
                 </ChainedException>
                 </ns:SystemFault>
               </detail>
          </soap-env:Fault>
     </soap-env:Body>
</soap-env:Envelope>
The user who connects to the webservice has SAP_ALL profile and all the SAP_BC_WEBSERVICE* roles.
So maybe I have to test one step before, without the soapui tool, but what does the [documentation|http://help.sap.com/saphelp_nw70/helpdata/en/47/39b5df39591a53e10000000a1553f7/frameset.htm] for SOAMANAGER mean with point 7? Where do I have to specify the parameters?
regards,
Steffen

I reread all the help documents by SAP but with no success.
https://service.sap.com/sap/support/notes/1043195
https://service.sap.com/sap/support/notes/1135610
https://service.sap.com/sap/support/notes/1163844
Also the asych. Webservices with report SRT_ADMIN is configured correctly (SRT_ADMIN_CHECK looks fine now), but still no success.
http://help.sap.com/saphelp_nw70/helpdata/en/46/4420e292b75e3fe10000000a11466f/frameset.htm
I also tried an standard BAPI function module, and produced a web service out of it. But with the same 400 error in soapUI tool.
What could I check next?
EDIT: this workaround works for me, but it's not the way I want to go...
/people/graham.robinson/blog/2008/10/09/another-way-to-leverage-abap-web-services
thanks
Steffen
Edited by: Steffen Fröhlich on Mar 4, 2009 5:00 PM

Similar Messages

  • Simple bind failed: adserver:636 --  While connecting to AD from OIM

    Hi,
    I am using OIM 9102 BP 11.
    AD Connector version -- MSFT_AD_Base_91150
    App Serv -- Weblogic
    Database -- oracle 10g.
    I am trying to provision passwords form OIM to AD.
    The connector is working fine over non-SSL (389).
    I have exported the ROOT CA from AD machine and imported the same through keytool IMport command to OIM Cert Keystore,
    When i try to provision a user to AD over SSL (636), I am getting thie below exception
    ERROR,01 Feb 2011 10:08:43,509,[OIMCP.ADCS],================= Start Stack Trace =======================
    ERROR,01 Feb 2011 10:08:43,509,[OIMCP.ADCS],com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : createUser
    ERROR,01 Feb 2011 10:08:43,509,[OIMCP.ADCS],simple bind failed: adserver:636
    ERROR,01 Feb 2011 10:08:43,509,[OIMCP.ADCS],Description : simple bind failed: <hostname>:636
    ERROR,01 Feb 2011 10:08:43,509,[OIMCP.ADCS],com.thortech.xl.exception.ConnectionException: simple bind failed: adserver:636
    at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.connectToAvailableAD(Unknown Source)
    at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.createUser(Unknown Source)
    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.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCREATEUSER.ADCREATEUSER(adpADCSCREATEUSER.java:224)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCREATEUSER.implementation(adpADCSCREATEUSER.java:91)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    Can anybody please help me in this, I am trying the same since 3 days but no luck.
    STEPS to generate the Certificate from AD:
    1. Installed the Certificate Authority from Add\Remove Windows Components.
    2. Generated a Certificate Request in IIS by accessing CertSrv.
    3. Issued the same certificate and imported that to the keystore of OIM server.
    The AD is not responding over SSL (636). When I try to access the AD machine through expolrer as
    https:<adhost>:636
    Its not prompting to import the certificate. Also I am not able to connect to AD from LDAP browser.
    Request you to kindly help me on this ASAP.

    [Start of UME Service Failed |http://help.sap.com/saphelp_nw04/helpdata/en/20/361941edd5ef23e10000000a155106/frameset.htm]check this same exception got resolved..
    one more thing, Have you uploaded the LDAP servers certificate in the TrustedCAS of the keystore in Visual Admin in the WAS server? If you are using LDAP ssl the connection to the server will expect a certificate if you dont have the trust enabled you wont be able to connect
    Thanks

  • Error while connecting to HTTPS WebService through Jdev

    I am having issues while trying to connect to a webservice that require SSL. Has anybody seen similar exception below or any suggestion/best practice docs of how to setup the cert?
    WARNING: Unable to connect to URL: https://itsolutions/AppIntegration/org/test/sendRequest.jpd due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    Dear All,I am getting this error while connecting to ASDM Please help.Your ASA Image has a version number 8.2.1 which is not supported by ASDM 6.1(3)Show Version.....User Access VerificationPassword:
    Type help or '?' for a list of available commands.
    ASA-PT> en
    Password:ASA-PT# show verCisco Adaptive Security Appliance Software Version 8.2(1)
    Device Manager Version 6.1(3)Compiled on Tue 05-May-09 22:45 by builders
    System image file is "disk0:/asa821-k8.bin"
    Config file at boot was "startup-config"ASA-PT up 12 days 0 hoursHardware:   ASA5520, 512 MB RAM, CPU Pentium 4 Celeron 2000 MHz
    Internal ATA Compact Flash, 256MB
    BIOS Flash M50FW080 @ 0xffe00000, 1024KBEncryption hardware device : Cisco ASA-55x0 on-board accelerator (revision 0x0)
                                 Boot microcode   : CN1000-MC-BOOT-2.00
                                 SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.03
                                 IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.04
    0: Ext: GigabitEthernet0/0  : address is 0024.14d2.1582, irq 9
    1: Ext: GigabitEthernet0/1  : address is 0024.14d2.1583, irq 9
    2: Ext: GigabitEthernet0/2  : address is 0024.14d2.1584, irq 9
    3: Ext: GigabitEthernet0/3  : address is 0024.14d2.1585, irq 9
    4: Ext: Management0/0       : address is 0024.14d2.1581, irq 11
    5: Int: Internal-Data0/0    : address is 0000.0001.0002, irq 11
    6: Int: Internal-Control0/0 : address is 0000.0001.0001, irq 5
    <--- More --->ThanksTabrez
    Hi Tabrez,
    ASA5520 version 8.2.1 is supported with  ASDM 6.2(1 and above). Recommended: 6.2(3).check out the below link hope that c;ear out your query !!
    http://www.cisco.com/en/US/docs/security/asa/compatibility/asamatrx.html
    If helpful do rate the post
    Ganesh.H

  • Connect to SAP gateway failed - internal error

    Hi, I've developed a simple .NET application that connects to a SAP system and makes a function call using a SAP Connector Proxy object. Everything works fine in my workstation, but deployment doesn't. I'm also deploying the following libraries: SAP.Connector.dll, SAP.Connector.Rfc.dll and librfc32.dll.
    The fact is that deployment works fine in some servers, but not in others. I've checked that .NET Framework is installed (both versions, 1.1 and 2.0). I've checked the "WINDOWS\system32\drivers\etc\services" file. What else should I check? Any idea? Every suggestion would be appreciated.
    The error message is the following:
    Connect to SAP gateway failed Connect_PM GWHOST=xxx.xxx.xxx.xxx, GWSERV=sapgw00, ASHOST=xxx.xxx.xxx.xxx, SYSNR=00 LOCATION CPIC (TCP/IP) on local host ERROR internal error TIME Mon Nov 13 16:23:08 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -1 COUNTER 1
    And the connection string:
    CLIENT=100 USER=****** PASSWD=****** LANG=EN ASHOST=xxx.xxx.xxx.xxx SYSNR=0
    Thanks in advance

    Hi Daniel,
    Can you connect to the particular system by using SAPGUI ?
    if yes, then your librfc32 file is working fine.
    NCo internally consumes it's functions.
    Other points to check are
    1> service name as appears from within the r/3 system [transaction : smgw]
    2> NCo 2.0 uses .net 1.1 & nCo 2.5 uses .net 2.0, do you have both versions running parallely ?
    3> gateway errors are infrastructure issues, please verify your firewall settings for the relevant protocols : http / https & also sap ports 3300 onwards.
    the services file you have checked will list the ports that need to be opened on the firewall [in the case of multi - domain applications]
    4> check in your 'hosts' file [same directory as your 'services' file]
    This file contains the mappings of IP addresses to host names. Each
    entry should be kept on an individual line. The IP address should
    be placed in the first column followed by the corresponding host name.
    The IP address and the host name should be separated by at least one
    space.
    Additionally, comments (such as these) may be inserted on individual
    lines or following the machine name denoted by a '#' symbol.
    For example:
         102.54.94.97     rhino.acme.com          # source server
          38.25.63.10     x.acme.com              # x client host
    with respect,
    amit

  • RE:connection to port 6241 failed during java upgrade

    Hi all,
    We are performing Java Upgrade and we are stuck in the intial stage stage. The problem is connection to port 6241 failed .
    We have retained the default port.
    Thanks and Regards,
    sowmya

    Hi Regelio
    As Van mentioned above,the issue may caused by the TAO NT Naming service.
    Please check the status of TAO NT Naming service/License Manager
    when the issue happens.And in case the error is really caused by
    those services,please try to re-install the whole server tools.
    Also,if the issue still persists,as another workaround we suggest you to use a simple
    batch script to test the Status of the TAO NT naming service,
    and restart it when the services  was stopped.
    Such a script can be launched with windows scheduled every several
    minutes.
    @echo off
    net start    find "TAO NT Naming Service"
    IF %ERRORLEVEL% EQU 0 (
      echo Ok - "TAO NT Naming Service" is running
    ) ELSE (
    echo Error - "TAO NT Naming Service" is not running
    net stop "TAO NT Naming Service"
    net stop "SAP Business One License Manager 2005"
    net start "TAO NT Naming Service"
    net start "SAP Business One License Manager 2005"
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • Code to connect to RFCs/ webservices

    Hi All,
    Can anyone provide me the complete source code of  a simple Widget ( .kon & .js javascript file ). Actually I am trying to develope a simple widget which can integrate with SAP. Hence Javascript code of connecting to RFCs/ Webservices would be usefull. Your response would be very helpfull.
    Thanks & Regards,
    Santhosh

    Hi,
    Did you check
    RFC connection to SAP with Yahoo Widgets
    /people/nathan.jones3/blog/2006/10/26/rfc-connections-to-sap-with-yahoo-widgets
    Eddy
    Pimp up the S(D)N site and earn points. Check this web log for details

  • LDAP connection via SSL is failing

    Hi,
    I am using following code to connect to LDAP
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory");
    env.put("java.naming.provider.url", "ldaps://inpvmwin2k3ads1.VELWINTELLAB.COM"); //change for production, quality
    env.put("java.naming.security.authentication", "simple");
    env.put(Context.SECURITY_PROTOCOL,"ssl");
    env.put("java.naming.security.principal", "sapuser");
    env.put("java.naming.security.credentials", "voda@12345");
    DirContext ctx;
    ctx = new InitialDirContext(env);
    But im getting foll exception
    simple bind failed: inpvmwin2k3ads1.VELWINTELLAB.COM:636
    1) is it because the LDAP is read only mode ?
    2) if I remove ssl and connect without ssl, it is success.
    Kindly help how to overcome this error
    basicaly my requirement is to reset password of LDAP user thru my code
    thank you in advance
    B

    Hi,
    I am using following code to connect to LDAP
    Hashtable env = new Hashtable();
    env.put("java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory");
    env.put("java.naming.provider.url", "ldaps://inpvmwin2k3ads1.VELWINTELLAB.COM"); //change for production, quality
    env.put("java.naming.security.authentication", "simple");
    env.put(Context.SECURITY_PROTOCOL,"ssl");
    env.put("java.naming.security.principal", "sapuser");
    env.put("java.naming.security.credentials", "voda@12345");
    DirContext ctx;
    ctx = new InitialDirContext(env);
    But im getting foll exception
    simple bind failed: inpvmwin2k3ads1.VELWINTELLAB.COM:636
    1) is it because the LDAP is read only mode ?
    2) if I remove ssl and connect without ssl, it is success.
    Kindly help how to overcome this error
    basicaly my requirement is to reset password of LDAP user thru my code
    thank you in advance
    B

  • Connection with license server failed

    Hi, I am having problem connecting with my license server when I am using the DI Server (webservice).
    Error encountered:
    Error env:Receiver 100000001 Connection with license server failed.
    Does anyone know what is the best practice for this configuration? Thanks.
    Regards,
    Rodmann

    Hi Alvin,
    I am having the same problem on one of my development machine. I have installed DI Server and Server Tools on it.
    The license manager is working fine.
    But when I try to connect to the company object in a web application it just throws the same exception
    Error:Receiver 100000001 Connection with license server failed.
    To test the port 30000 i changed it to any thing like 1234 and it gave me message "Failed to connect to license server", changing it back to 30000 and  connect brings in all the hardware/license keys etc.
    Kindly help what you did in your case to get rid of this problem.
    Experts you support in this regard will be highly appreciated.
    Kashif

  • Mx.services.WebService() fails with Can't Find Method in Service

    When I test in debug mode, my webservices fail with can't
    find method or can't find URL. When I test on the very same
    webservice with the SWF file embedded in an HTML file, it all works
    fine!
    This all worked before I updated to Windows Vista last week!
    Any ideas? How can I troubleshoot this?? (I'm using a
    mx.services.Log when running in Debug)
    TIA,
    geo

    Some further info from the trace log:
    Error opening URL "
    http://desktop.mydomain.local/MyCompany/WebServices/MyServices.asmx"
    ObligationMet.Fault: undefined, Unable to connect to
    endpoint:
    http://desktop.mydomain.local/odoclub/WebServices/MyServices.asmx

  • LDAP Error :  simple binding failed

    I am trying to create an LDAP resource on my IDM.
    I cannot get past the "Test Connection" phase, because I keep getting this error :
    *"Unable to connect to LDAP on : mydomain.com. Simple binding failed"*
    After browsing several forums, including google, I realize that the fault lies in the fact that : I am using an SSL, which has its authentication certificate.
    My question is : How and where do I need to insert / refer to this certificate, so that IDM won't have a problem connecting to LDAP?
    Thanks

    I browsed quite a few APACHE TOMCAT documents, unfortunately there is not enough sensible explanation as to how exactly the import should be done.
    I eventually settled for using the following command :
    keytool -importcert -alias abc -file ABCCA.cer     (where "abc" is the alias)
    If I understand correctly, I imported the certificate into the KEYSTORE
    The import was successful.
    However, I am still getting the same error on my LDAP configuration.
    Am I doing something wrong? Is there something ELSE I need to do ?
    Or are the KEYSTORE and TRUSTSTORE entirely different things?

  • SOAP / WSDL LabView 2010 can't connect to local webservice of network printer

    Hi,
    we are using a Labelprinter from cab (www.cab.de) that supports a webservice.
    IP: http://192.168.1.66/services.wsdl
    When i use this link in FireFox i will get a XML file (see attachment). The company "cab"
    has an example using NetBeans to write a deskop application using Java. I tried that and
    i was able to connect to the webservice.
    When i do that with LabView 2009 or 2010 i get an error message:
    1. URL doesn't exist or WSDL is wrong
    2. authentification failed
    3. proxy settings wrong
    to 1)
    i'm shure the link is ok, i can't connect to it with Netbeans (i used copy & paste to be sure)
    to 2)
    In Netbeans it is not possible to enter a user and PW. But anyway i have use the standard
    soap user the was given by the company.
    to 3)
    don't use it
    The last point is, that there is an error in LabView 2009 and 2010, e.g. error parsing the XML file?
    Can someone help me?
    Attachments:
    services.zip ‏2 KB

    HI I have the same problem with my CAB printer...
    I try the Solution from the link
     https://decibel.ni.com/content/docs/DOC-22722
    With the soapUI it works well, I can make requests to the printer an become an answer...
    But in Labview  it doesn't work. The TCP read vi brings the error 66 an I have no idea! Have someone a solution or an idea?
    Best Regards samsi
    Attachments:
    SOAP_CAB_Drucker.zip ‏32 KB

  • Connection to License Server Failed after upgrade to PL45

    Hi Experts,
    My client is using SAP B1 SP01 PL39, Windows 2003 OS Server. I have recently upgraded the server to PL45 but after the upgrade, the workstations are encountering "Connection to License Server Failed" every time they log to the server.
    Our workaround is to go to Server suite Manager> License Manager> settings> click 'set' and the message "The port is now updated....". After which, the workstations can now log to the server.
    The problem is we cannot do this workaround everyday. I tried changing the server connection in the server suite manager to: IP no., server name or localhost but still to no avail.
    A help from you guys would be very much appreciated.
    Thank you.
    Edited by: Philip Eller on Jul 2, 2008 9:12 AM

    Hi Regelio
    As Van mentioned above,the issue may caused by the TAO NT Naming service.
    Please check the status of TAO NT Naming service/License Manager
    when the issue happens.And in case the error is really caused by
    those services,please try to re-install the whole server tools.
    Also,if the issue still persists,as another workaround we suggest you to use a simple
    batch script to test the Status of the TAO NT naming service,
    and restart it when the services  was stopped.
    Such a script can be launched with windows scheduled every several
    minutes.
    @echo off
    net start    find "TAO NT Naming Service"
    IF %ERRORLEVEL% EQU 0 (
      echo Ok - "TAO NT Naming Service" is running
    ) ELSE (
    echo Error - "TAO NT Naming Service" is not running
    net stop "TAO NT Naming Service"
    net stop "SAP Business One License Manager 2005"
    net start "TAO NT Naming Service"
    net start "SAP Business One License Manager 2005"
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • Iphone 3G The connection to the server failed

    Help,
    I'm recieving the message "The connection to the server failed" I successfully verified the Exchange profile with the OWA server. No error message. However when I go into the Exchange E-mail to sync to gives me the message "the connection to the server failed". I'm running ann Iphone 3G 2.1 on Exchange 2003 SP2. I have hard reset the Iphone, removed the domain name for the profile and even tried to use the Iphone Configuration Web Utility with no luck. I have downloaded the 2 Godaddy Root CA's and 1 intermediate CA to the Iphone. Still no luck. I have played with the Sync options on the phone changing the "mail days to sync" to "No Limit"
    Any idea?

    My issue has been resolved! First I had to install the CA root for my self signed cert by going to https://servername/certsrv/ on my iPhone.
    Then I had to follow this Microsoft KB article: http://support.microsoft.com/?kbid=817379
    SSL does not play nice with Active Sync. This provides the work around.
    Then I had to install a hotfix: http://support.microsoft.com/kb/916640
    This allows Push mail to resume after the SSL Active Sync work around has been evoked.
    After these three things were completed, I now have a 100% working Exhange Push / iPhone set up.
    I thought I was going to kill myself in frustration trying to figure out the solution. Not to mention I could not find a single location that explained all three magic keys in one simple location.
    I hope this helps others.

  • Keep get messages: connection to exchange server failed

    I am using exchange on my iphone 5s. I have used it untill this morning when i received a message: Cn't receive mail. connection to the server failed.
    I still receive mail on my gmail so there is no problem of connection. I tried to erase and download the exchange, I tried to erase all the definitions on my iphone to factory definitions, nothing helps. I need the exchange very much because it is connected
    with my work webmail so when I receive e-mails fro work on my mail, i can answer via exchange. I need the exchange very much. What can i do to fix it?
    Please answe me with simple explanations because I qam not a computer expert.
    I will appreciate very much any help in this matter.

    Hi,
    According to your description, your Exchange account cannot receive emails when it is configured on your phone. If I misunderstand your meaning, please feel free to let me know.
    If yes, before we can go further, I'd like to recommend you try to configure your account on your Windows computer Outlook client.
    Thanks,
    Angela Shi
    TechNet Community Support

  • DMS-200 doesn't play uploaded videos: "Connection to video server failed"

    Hello, everybody!
    I have CISCO DMS-200 deployed. I have console and an http access, I can manage options, I can upload videos, but I can't play them in web-browser. The device was bought 6 months ago and deployment was done by 3rd party. But the video playing over browser didn't work ever.
    There is no proxy between PC and DMS, I have all codecs installed on PC, I've checked FireFox, IE, Chrome...
    When I try to start video playing, the following message appears: "Connection to video server failed". (See screenshot).
    I have some ideas about the reasons.
    First, may be I need an additional license for Player at DMS-200 side? Because in Digital Media Players section I have "This feature is not licensed".
    (See screenshot).
    Second, may be there are problems with File Hosting Locations? I have several error messages like "URL test failed" in the appropriate section (Please, see screenshots).
    So, please, share you ideas about the issue! There is a few information about the problem, I can't find anything. Are there any ways to turn on debug at DMS-200 side?
    I've added seller's specification and pics.
    Please, help!
    Many thanks in advance!!!

    I've added licenses are currently at DMM.

Maybe you are looking for

  • Copying pictures from Aperture 3

    My wife wants to upload some of our picutres to the Costco web site for printing. She's been copying the individual images from Aperture to a folder on our desktop. In doing so she's noticed that the individual file sizes are quite small and that the

  • Monitor Settings - Aspect Ratio

    I just bought one of your computer monitors from Best Buys in Mooresville, North Carolina [#1133] with a four year extended warrantee. I bought the Lenovo - L2262 unit with the 21.5 inch screen. Monitor LI P/N: 0A46982. I paid $174.43. Here's my prob

  • How to Sync an Imac to a Motorola Z9... Isync does not work!

    How to Sync an Imac to a Motorola Z9... Isync does not work!

  • YouTube/File Size

    I have an 8-minute clip I want to upload to YT, among other sites. At that length, it becomes a rather large file to try to put on YT. So the question is: If I print to video in Final Cut then recapture that footage, can I beat the File-size sheriff

  • Little arrows by the side of music and playlists

    Does anyone know how to remove those little arrows in iTunes 8? I could get rid of them in older versions but in the new version i can find that option. Does anyone know if its still available and how to do it? Thanks