Alfresco webservice access

I would like to know how one can access alfresco webservices
from actionscript 3.0 or flex 2 mx controls.. my code sofar is=
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:WebService id="alfServ"
wsdl="
http://myalfrescoserver.nl/alfresco/wsdl/authentication-service.wsdl"
endpointURI="
http://myalfrescoserver.nl/alfresco/api/AuthenticationService">
<mx:operation name="startSession">
<mx:request>
<username>admin</username>
<password>admin</password>
</mx:request>
</mx:operation>
</mx:WebService>
<mx:TextInput x="132" y="107" id="username"/>
<mx:TextInput x="132" y="137" id="password"/>
<mx:Button x="132" y="167" label="Button"
click="alfServ.startSession.send();resultaat.text=alfServ.startSession.request.ticket"/>
<mx:TextArea x="132" y="197" width="515" height="169"
id="resultaat" text="blank"/>
</mx:Application>
regards,
Marc

Solved this problem...

Similar Messages

  • Disable Webservices access through web

    Hi All,
    In OFMW and AIA 11g ps3, how can we disable webservices access through web i.e. restrict webservice call from outside
    world using OWSM security policies?
    We dont want to use username based authentication or any other policies that is based on authentication and authorization.
    Please let me know how can we achieve this?
    Thanks in advance.

    Hi,
    I think the best way would be to block the access to services at firewall so that these services have restricted access within the network. This can be achieved only if none of the services need to be exposed over to the internet.
    Regards,
    Neeraj Sehgal

  • WebService Access Forbidden

    Gents,
    Can anyone help me on this below thread please
    WebService Access Forbidden
    Regards,
    Suresh

    The Permissions to the folder within the portal were service is deployed are all in order? Give everyone at least a "read" access and click end user check box.

  • Could not find the main class - Problem with Webservice-Access

    Hello Everybody,
    I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
    I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
    I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
    Now I do this:
    Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
    Head_t service = serviceLocator.getRPCCall();
    RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
    All this works very well.
    Now the Problem:
    Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
    If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
    Could not find the main Class - Program will exit.
    And if i add a throws Declaration to the Methodheader it tells me:
    Fatal Exception Occured - Program will exit
    But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
    All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
    Please Help me.
    Greets,
    Zap

    I am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
    This is my MANIFEST.MF file created under META-INF folder
    Manifest-Version: 1.0
    Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Main-Class: Ui_MainWindow
    When i extracted the app.jar following this i got
    1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
    2. qtjambi-4.4.3_01.jar
    3. qtjambi-win32-msvc2005-4.4.3_01.jar
    4. Ui_MainWindow.class
    Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id ..

  • Weblogic - Webservice access

    Hi,
    We have an application deployed in weblogic which needs to access a webservice. The webservice is accessible through soap-ui using the right credentials. We use basic authentication to access the webservice.
    I am able to access the webservice with the correct credentials from a normal java client but when the application is deployed in weblogic, I am unable to access the ws!
    Is there a setting in weblogic to enable basic authentication?
    (using weblogic 11g)
    Thank you

    There is a difference between application server and program access to a webservice. especially is SSL used server needs the key to access the web service. What error do you get?

  • Native webservice access results in error:  HTTP 401 - Unauthorized

    I'm trying to use the native webservice functionallity of the 11g database (11.1.0. 6.0). According to some examples and the XML DB Developer's guide I have performed the following steps:
    1: Configuring Web Services for Oracle XML DB
    2: Enabling Web Services for Specific Users
    3: Defined access to my server via the Access Control List (package DBMS_NETWORK_ACL_ADMIN)
    When I try to access the url http://host:port I'm asked to authenticate. If I log in, I get a file-index.
    When I try to access the url http://host:port/orawsv?wsdl I'm asked to authenticate. If I log in, I get the follwoing error:
    ORA-29268: HTTP client error 401 - Unauthorized
    I don't know what the reason for this error is.

    Have a look at Marks example here Testing Protocol Server  WSDL functionality
    Check your ACL file, DBMS_NETWORK_ACL_ADMIN and XDB_WEBSERVICES_XXXX roles for the account you use to connect

  • Webservice access in FLEX

    We are trying to use webservice created by .NET application
    into Flex , but it is giving following error when we are accessing
    application from remote browser (IE 6 )
    Following is details of error
    fault = (mx.messaging.messages::ErrorMessage)#0
    body = (Object)#1
    clientId = "DirectHTTPChannel0"
    correlationId = "F47724D4-8FAF-7D5C-E631-6FF1947FF342"
    destination = ""
    extendedData = (null)
    faultCode = "Server.Error.Request"
    faultDetail = "Error: [IOErrorEvent type="ioError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    Stream Error. URL:
    http://192.168.166.38/WebForce.Net/WebServices/AffiliationService.asmx"
    URL:
    http://192.168.166.38/WebForce.Net/WebServices/AffiliationService.asmx"
    faultString = "HTTP request error"
    headers = (Object)#2
    messageId = "7BE472C4-2934-82C1-7C1A-6FF194BECE96"
    rootCause = (flash.events::IOErrorEvent)#3
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#4
    bytesLoaded = 0
    bytesTotal = 0
    data = (null)
    dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#4
    text = "Error #2032: Stream Error. URL:
    http://192.168.166.38/WebForce.Net/WebSer
    Can any one please guide us that what we are missing . Any
    work around for this .
    Following is way we are configuring webservice tag in
    application .
    <mx:WebService id="CustomerService"
    wsdl="
    http://localhost/WebForce.Net/WebServices/AffiliationService.asmx?wsdl"
    useProxy="false"
    showBusyCursor="true"
    requestTimeout="0"
    fault="{handleFault(event)}"
    >
    </Webservice>

    Didn't find the solution, but I solved my problem in another
    way - I am adding data, that I wanted to pass in OUT parameters, to
    SOAP response headers. The headers can be read in Flex with no
    problems (although they're accessible as XML only, they will not be
    de-serialized to objects).

  • Webservice access

    Hi ,
    Using WSADMIN, WSCONFIG  I used to test webservice. Now everything changed to SOAMANAGER.
    If I want to use standard webservice provided by SAP query_view_data using NWDS , Do I need to config PI7.1  system with BI system for ESR? Or How can I access webservice without PI system ? Here is provider and consumer system is one system that is BI backend and BI Portal.

    Thanks. It is useful

  • WebService access over UDDI

    Hello,
    we have developed a szenario over SOAP-Adapter in XI (Send) for calling. Now we want use the uddi in the was to call the webservice. What we have to do? Creating a wsdl in configuration of course. But must we deploy something in uddi? What steps are to do to call the webservice direct over uddi?
    Thanks in advance,
    Frank

    There is no dynamic dns in the TC or AEBS.
    It depends on your setup, if the TC is the main router in your network, you maybe able to use some dyndns software on a computer in the network, although this seldom works as well as having the software on the router. If you have a different router and the TC is bridged then check that router for dyndns service. And you will need to port forward to the TC.
    There are lots of posts about getting external access. You would need to use one of those methods.

  • WebService access to soap

    how do I access the soap message received when using the javax.jws.WebService interface? I would like to get to the soap body and use jaxb to create an object from it.

    Use the JAX-WS Dispatch interface. Check out the Dispatch sample shipped with JAX-WS 2.0. It does almost exactly what you what except for the final binding using JAXB.. I uses a Dispatch<Source> client to invoke an operation. The SOAP body is returned from the invocation as a Source object that you can then use with JAXB.

  • Webservice access protection

    How do I protect access webservice from the unauthorized users on WLS 8.1
    SP3? I've created user and mapped user with the x509 certs. I've tried in
    the WLS 8.1 SP4 with this settings and it works fine. It allows authorized
    user with the DN of x509 certs.
    Thanks,
    -raj

    The Permissions to the folder within the portal were service is deployed are all in order? Give everyone at least a "read" access and click end user check box.

  • WebService access to XLMP EE.

    Hello,
    Is there any possibility to access XMLP EE / Generate reports through some WebServices interface? Is there any documentation on that (I was unable to find any)?
    regards,
    Chris

    You might find this link helpful http://blogs.oracle.com/xmlpublisher/2006/07/18#a50 .
    It's a little indirect and not a SOAP web service, but you could always wrap it into one. I've use this approach in scripts to quickly snapshot my XML data from batches of reports.
    You should probably look at the chapter on the Java API (ch. 11) for a better solution, and yeah, the docs and examples are sparse.
    good luck

  • NWDS - VC - Webservice access

    in NWDS 7.2, I am not able to see "Define webservices" option to access remote webservices, does this functionality is there only on web based VC Story board? or we can define remote services in NWDS too, if yes, please let me know how we can do that.

    Hi,
    In NWDS you define web service configurations from the menu: Window -> Preferences -> Destination Configurations -> Web Service Configuration. After defining the web service, refresh the search panel to see it.
    The same web service has to be defined with the same name in the server you deploy the model to (this is defined from /nwa).
    Best regards,
    Tal.

  • Remote webservice access

    I used MX:Webservice in MXML to access a remote webservice
    like
    <mx:WebService id="ws" wsdl="
    http://www.webservicex.com/CurrencyConvertor.asmx?WSDL">
    <mx:operation name="ConversionRate"
    result="convert();">
    <mx:request>
    <FromCurrency>{fromC.text}</FromCurrency>
    <ToCurrency>{toC.text}</ToCurrency>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    In flex builder it worked fine but after deploying it on a
    free web hosting site, I'm getting security error.
    Free web hosting website provide "ASP" scripting support...Is
    creating a proxy the right approach since I do not have permission
    to place crossdomain.xml in remote server. Can someone guide me to
    write a proxy in ASP for the above webservice?

    you might not need to access WSDL. You can just post SOAP messeages on JMS queue, for posting JMS messages you can create a JMS Adapter using Oracle BPEL.
    a sample soap request looks like this, you will have to create SOAP messages according to your webservice.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <m:getDataSourcesInfo xmlns:m="http://arcweb.esri.com/v2">
    <group xsi:type="xsd:string">ArcWebForDev</group>
    <token xsi:type="xsd:string">MyToken</token>
    </m:getDataSourcesInfo>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • Is WebService access available for OracleCRM ( R18 ) using Trial Account?

    Hi
    I wish to know if it is possible to make use of web-services to perform operations in OracleCRM .I have a trial account and when I tried I got the following error .I tried using SOAP UI to invoke UserQueryPage operation in User.wsdl .
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Server</faultstring>
    <detail>
    <ErrorCode>SBL-ODU-01006</ErrorCode>
    <ErrorMessage>Internal Error: Session is not available. Aborting.</ErrorMessage>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>

    Yes, in order to use webservices (stateful) you must perform a login operation before.
    I can provide you a class made in VB .NET that manages sessions, but in general, you must send user and password and then the oracle server sends to you a JSESSIONID, that you must indicate in every subsequent call. If you do not specify that JSESSIONID, or if the JSESSIONID specified in a call has expired (sessions expre after 10 minutes of non use), the you tipically obtain a "server" error respone.
    If you want the Session class that I made in VB Net provide me your email adress.
    I hope that helped you.

Maybe you are looking for

  • Company Code data to be populated from BDOC

    Hi, I am working on the Replication of the BP's from CRM to R/3. The replication of BP from CRM to R/3 is happening properly. In the R/3 system,All the sales area data is populated.But the House Bank data in the Payment Transactions tab of the compan

  • Help me adding dynamic column in JSP

    Hi! Can any body please tell me how to add a column DYNAMICALY in JSP? I am using a drilldown and I want to add the next column after every + is clicked in drilldown. *If you have something to e-mail then please e-mail me at my below given e-mail add

  • PRICE LIST LINE을 DELETE 하는 SAMPLE API

    제품 : MFG_QP 작성날짜 : 2006-05-23 PRICE LIST LINE을 DELETE 하는 SAMPLE API ======================================== PURPOSE Price List Lines을 delete 할 수 있는 API가 있는지 알아보고 그 사용방법 을 이해한다. Explanation 아래 설명하는 script는 Price List Lines 만을 delete 하는 sample API scr

  • Grid spacing in SSRS 2008?

    I installed SSRS 2008 BIDS on my pc the other day. As I've been getting acquainted with SSRS 2008, I've come to discover that I can find how to modify or display grid spacing. SSRS 2005 has grid spacing properties as part of report properties, but I

  • Enhacement Territory management with field Sales Office

    Hi, If i want to assign attribute for "sales office" to territory management. Which field and data element I need to use for modifiy table "CRMM_TERRATRIB". Do I need a "BAdI: Implement Business Logic for Additional Attributes"? Thanks in advance. Ly