Web Service Issue - Security or Coding problem? *HELP*

Hello all - I am stuck on a particular problem, which I've posted under flash player but also will post here in the event that it's my issue, and not a security/player issue.
I have built a video player in Flash/ AS3 which communicates with WSDL web services using the as3webservice code package from wellconsidered. The player makes a call at startup to check a user's progress in a series of videos, and updates that progress by talking to the web service as the videos are played back.
Tested locally, it works flawlessly. As soon as the player is uploaded, however, the web service' hangs' - so no fault is produced, but it seems to just never connect. This is presumably because the SWF is on one server, the web service on another. I've tried uploading it to two different servers, both different than the web service server. I'm trying to avoid moving the web service to the same server that hosts the SWF.
I've tried adding a crossdomain.xml file to the root and subdirectories of the server that hosts the web service:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="*"/>
    <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
I've also tried playing with the SWF publishing options (Local Access only vs. Network only options), but no solution seems to help. I know it's not just the web service i"m using, because public web services (such as the ones found on webservicex.net) don't connect either.
I'm at the end of my rope, and am wondering if this is a Flash Player security issue, or something I need to reconsider from my side (such as using a different web services package).I am wondering if a crossdomain.xml does not help, what other possible areas do I need to look at? If there is an article someone could point me to, or a simliar situation they've been in, i'm iopen to all suggestions.
Thanks so much...fg

You can generally check what the player is doing from the browser by using firefox with the firebug plugin. For example you can see the crossdomain permission requests or other urlrequests and responses. This is a useful way to debug as it sometimes shows issues or at the very least means you can eliminate one potential cause of the issue if there are no obvious problems there.
If you don't have firefox/firebug, then (if you can) post a url with the swf in it that exhibits the error and I or someone else can check it for you and report back.

Similar Messages

  • Iplanet Web Service issue.. Please Help

    Hi All,
    I am new Admin User for Iplanet and would required your kind help in one of our ongoing issue.We are using Iplanet Web Server Admin Server.
    Since while we have been noticing that the iplanet Web Server Service goes down frequentely when ever there is some installtion been done from Java.
    [13/Aug/2009:14:07:00] info ( 8472): successful server startup
    [13/Aug/2009:14:07:00] info ( 8472): iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 14:41
    [13/Aug/2009:14:07:01] info ( 8472): Installing a new configuration
    [13/Aug/2009:14:07:01] info ( 8472): [LS ls1] http://ssoportal1.uk.money.ge.com, port 8080 ready to accept requests
    [13/Aug/2009:14:07:01] info ( 8472): A new configuration was successfully installed
    [13/Aug/2009:14:07:01] info ( 8472): Using the Classic VM v1.2.2 from Sun Microsystems Inc.
    [13/Aug/2009:14:07:01] info ( 8472): Java VM classpath: C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;C:/iPlanet/Servers/bin/https/jar/NSServletLayer.jar;C:/iPlanet/Servers/bin/https/jar/NSJavaUtil.jar;C:/iPlanet/Servers/bin/https/jar/AdminNativeUtil.jar;C:/iPlanet/Servers/bin/https/jar/NSJavaMiscUtil.jar;C:/iPlanet/Servers/bin/https/jar/servlet.jar;C:/iPlanet/Servers/bin/https/jar/servlet-2.3-filters-api.jar;C:/iPlanet/Servers/bin/https/jar/jsp092.jar;C:/iPlanet/Servers/bin/https/jar/jaxp.jar;C:/iPlanet/Servers/bin/https/jar/crimson.jar;C:/iPlanet/Servers/bin/https/jar/xalan.jar;C:/iPlanet/Servers/bin/https/jar/jspengine.jar;
    [13/Aug/2009:14:07:01] info ( 8472): Loading IWSSessionManager by default.
    [13/Aug/2009:14:07:01] info ( 8472): IWSSessionManager: Maximum number of sessions is 1000
    [13/Aug/2009:14:07:01] info ( 8472): Successfully initialized web application environment (web-apps.xml) for virtual server (https-myukswcap1ip001-SSO)
    Our Iplanet Web Server is operating on Windows 2000 SP4.
    Any suggestion on this will be of Gr8 Help.
    Thanks
    Anand

    Okie-dokie then.
    You can hard-code the hostname into the /etc/hostconfig file. Usually, it reads <pre>HOSTNAME=-AUTOMATIC-</pre> but you can substitute <pre>HOSTNAME=machine.domain.com</pre>
    You don't need to reboot if you also issue the command
    <pre>sudo hostname machine.domain.com</pre> on the command line. (I could be wrong, but I think the hostconfig file is read on boot only.)
    Then try <pre>sudo apachectl configtest</pre> once again. If you get no errors, see if you can start up the web service. You can do it either with the Server Admin app or with <pre>sudo apachectl start</pre>

  • SharePoint 2013 error 8059 & Excel Web service issues

    Hello
    The issues I am getting is a 8059 error "and exception occurred when trying to issue security
    token" it then asks me to turn on "includeexceptiondetailsinfaults" whichIi try to do on the security token service web.config. when I do this it Error 500's and I can't even access the SharePoint site, once I remove the code line I can access
    the site but cant get any more information regarding the errors .
    Any suggestions? In the ULS logs the error appears on numerous occasions.
    Next issue is regarding Excel web access, it reports an error of "we're sorry we ran into a
    problem completing your request. please try again in a few minutes"
    I tried switching form workbook url to local but I am not sure if that's the solution, I have seen
    that it resolved the issue for other users but not for me.
    Code Below
    The ULS logs report a number of entries the key one's being regarding load balancing.
    It seems to suggest UNC or permissions but I don't know where to go from here.
    05/22/2014 17:08:08.16  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Browser ajfya   Medium  MossHostHelperMethods.IsUserLicensedForExcelServices:
    User passed 'ExcelServices' license check.    d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.16  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Browser alv5s   Medium  ExcelWebRenderer.OnLoad:
    Starting loading external EWR  d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Excel Calculation Services  ai4hl  
    Medium  MossHost.GetSPFile: exception System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)    
    at Microsoft.Office.Excel.Server.MossHost.MossHost.TryGetSPFile(SPWeb web, String fileUri, SPFile& file) accesing SPFile for url = https://sharepoint2013.bpdconsulting.co.uk/SA/Shared Documents/Business Development/Documents List.xlsx, possibly UNC or
    permissions   d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Browser ajfya   Medium  MossHostHelperMethods.IsUserLicensedForExcelServices:
    User passed 'ExcelServices' license check.    d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Excel Calculation Services  ai4hl  
    Medium  MossHost.GetSPFile: exception System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)    
    at Microsoft.Office.Excel.Server.MossHost.MossHost.TryGetSPFile(SPWeb web, String fileUri, SPFile& file) accesing SPFile for url = https://sharepoint2013.bpdconsulting.co.uk/SA/Shared Documents/Business Development/Documents List.xlsx, possibly UNC or
    permissions   d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Browser ajfya   Medium  MossHostHelperMethods.IsUserLicensedForExcelServices:
    User passed 'ExcelServices' license check.    d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  SharePoint Server   Logging Correlation Data    xmnv
       Medium  User=i:0#.w|bpdconsulting\gharwood  d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Web Front End   6k3v   
    Medium  LoadBalancer.GetNextServer: failed to get server using load balancing scheme Local, falling down to health base d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Web Front End   abho   
    Monitorable ServerSession.GetNextServerHealthBased: There are no healthy servers although the number of available server in the farm is 1; updated with no candidates available for the health based load balancing. The update duration was 0 millisecs   
    d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Web Front End   ablz   
    Monitorable LoadBalancer.GetNextServerHealthBased: There are no healthy server in the farm  d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Web Front End   abgn   
    Medium  LoadBalancer.GetFailoverServer: Failed to get a failover server using health based load balancing scheme.   d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Browser aeh11   Medium  EwaState.OpenWorkbookAndUpdateState:
    errors occurred while trying to open the workbook, [MessageId: RetryError, MessageIdHash: -80526566]   d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.18  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Excel Calculation Services  ai4hl  
    Medium  MossHost.GetSPFile: exception System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)    
    at Microsoft.Office.Excel.Server.MossHost.MossHost.TryGetSPFile(SPWeb web, String fileUri, SPFile& file) accesing SPFile for url = https://sharepoint2013.bpdconsulting.co.uk/SA/Shared Documents/Business Development/Documents List.xlsx, possibly UNC or
    permissions   d66d939c-c124-d0d5-5242-d280742cae03
    05/22/2014 17:08:08.19  w3wp.exe (0x0E20)   0x1FB0  Excel Services Application  Browser 3kdd  

    We've seen this error when the system was under load using SharePoint 2013 workflows. We tracked it back to problems with the distributed cache service. The fix is supposed to be applying CU3 or CU4 for the AppFabric Cache and potential changing some of
    the timeouts for the distributed cache. Take a look at this article:
    http://habaneroconsulting.com/insights/SharePoint-2013-Distributed-Cache-Bug#.U3yUE_mSwsa
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • LR4 Flickr plug-in 'could not contact Flickr web service' - has nobody solved this problem?

    G'day All,
    I know i'm not alone. LR4 is now telling me it cannot update (Re-Publish) images successfully uploaded only an hour before via the native Lightroom publishing service.
    Here's the plug-in diagnostic:
    Plug-in error log for plug-in at: C:\Program Files\Adobe\Adobe Photoshop Lightroom 4.1\Flickr.lrplugin
    **** Error 1
    This plug-in’s post-processing task did not finish successfully.
    Could not contact the Flickr web service. Please check your Internet connection.
    There are a couple of other discussions of the same issue on this forum, dating back to 2010, and, as far as I can see, no resolution to date.
    Am I wrong?
    I know there's the other guy's plugin, but everyone with the same problem reports no change if they switch to that. I'm signed in without problems to Flickr via both IE and FF, and the Flickr Uploadr connects just fine. I'm at work, and am hardly in a position to be tweaking modem packet-handling, (not that I'd be inclined to anyway!)
    Flickr is hardly obscure - it's the biggest, most successful photo-sharing service on the web. Is there a solution I haven't spotted? If not, surely a solution is overdue?
    regards,
    Bill

    G'day Rob,
    I've installed the Friedl plugin, but the problem is I have 50 images I'm looking to republish - specifically only to update the captions - whereas the new plugin will naturally want me to republish (all over again) the entire set of photos.
    I've just tried republishing 3 of them all over again with full captions via the Friedl plugin and it worked fine - looks like I'll have to delete the original lot if I want to have fully-captioned versions and use the Freidl plug-in from now on!
    Think I'll just fiddle with the captions of the originals online, and use the Friedl plug-in for future uploads.
    Dear Adobe - could the bug in the original, native publishing service be fixed, please? As Alan states above, we currently potentially have people wandering around playing with systems registeries and modem packet-handling and firewalls because the software is making incorrect reports of connection status, when, in fact, the Adobe Flickr plug-in simply can't handle multiple-paragraphs in captions!
    And if you've found this, Dear Reader, because the LR4 (or LRx) Flickr publishing service is telling you you can't connect to Flickr - don't tweak anything! First check if you have entered captions on your photos that contain paragraphs - i.e. carriage or hard-returns so that they appear broken into readable chunks just as this post does - because that's probably the problem. Simplify - to one line - a caption on the next photo or two due to be uploaded to check, and, if that works, and you want to have full captions, try the Friedl plugin!
    Thanks to all for your help.
    Bill

  • Web Service Issue

    Hello Everyone,
    I am having an issue with web services. I created an ABAP FM based web service in R/3 (WAS 640). The web service was created successfully but when I try to publish it to wsNavigator using WSADMIN, it take me to the wsNavigator on our J2EE server but gives me the following error:
    "Cannot download WSDL from http://server:port/sap/bc/srt/rfc/sap/ZWS_TST?sap-client=100&wsdl=1.1&mode=sap_wsdl: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator"
    When I click this error then it downloads the WSDL wthout any issues. Is there any security that needs to set up on the R/3 side for this because it seems like wsNavigator is trying to download the WSDL from R/3 but it does not have the access.
    Do ABAP based web services even show up in wsnavigator?
    Has anyone ever come across this issue? Any ideas or suggestions will be great.
    I have researched a lot but have not gotten anywhere.
    Regards.

    Hii
    Did you found out the solution to this problem, as i am facing the same issue.
    Please let me know if you got the solution.
    Thanks in advance
    Jeet

  • Exposing Portal's User Management functionality via Web Service issue

    Dear experts,
    I am trying to create and deploy a web service that will tap into User Management functionality (UMFactory) of the Portal. I created a Java project with a Java class with one of the methods exposed via Web Service. Since this is a Java project and not a Web Dynpro project, a number of external jars and libraries, but I don't know how to add WD_RUNTIME and I am guessing that my problem is related to that.
    When trying to run the application, I receive the following error message when trying to envoke UMFactory:
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Location
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:166)
         at com.hollister.getusers.GetPortalUsers.getPortalUsers(GetPortalUsers.java:75)
         at com.hollister.getusers.GetPortalUsers.main(GetPortalUsers.java:39)
    Please, help.
    Thanks,
    Alex

    Container Managed Authentication. Does everything you need.

  • Query as Web service issue.

    Hi,
    I have created a BAPI for sales order creation in one of the R/3 system. On top of that i created xeclsius report and used "Web service connection", and mapped the input and output fileds. when I click preview it working properly, but when next time open the xlf file it is not fetching the data, again we have to import and do the same process then only it is fetching the data.
    I have tried by Exsporting to SWF file and through opendoc url also, but the problem is same.
    Can any one help me on this?
    Best Regards
    Raju.k

    Hi All,
    You can try this solution. It has something to do with the universe parameter, END_SQL.
    I implemented this as a work around and it solved our problem about the sorting issue with QAAWS.
    Here are the steps:
    1: Open the universe
    2. Ope File,  then Universe Parameter
    3. Click the parameter tab
    4. Scroll down until you see the 'END_SQL' entry. This entry is blank by default.
    5. Select END_SQL
    6. On the VALUE box, type: ORDER BY 1
    7. This will enable the REPLACE button. Click REPLACE
    8. Save the universe
    9 Test a query using 2 columns and view the SQL.
    You should see now the ORDER BY 1 inferred in the SQL statement.
    Voila!!!!
    Of course you can always add ORDER By 1,2,3 later if there's a need.
    Enjoy.....
    Ferdinand

  • Secured web service for secured AM method

    Hello,
    I need to invoke method of secured Application Module (jbo.security.enforce = Must) from secured web service.
    I have a simple java class with Configuration.createRootApplicationModule ... and a web service built for this java class.
    I found I have to authentificate users twice. First time when invoking web service (this is ok) and second time when creating application module instance.
    The problem is I can get name of user logged in web service but I cannot get his password. So I cannot login to application module with the same user.
    How can I force adf business components to use user authentificated in web service to use him/her as adf bc user?
    Rado

    Hi Mayank,
    Chapter 7, Custom Serialization of Java Value Types, of the Web services developer guide may be a good place to get started.
    All the best,
    -Eric

  • Web Service From Java class, serialization problem

    Hi,
    I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
    My class have 2 methods,
    public int add(int a, int b);
    public MyResponse doSomthing(MyRequest req);
    I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
    <b>
    Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
    </b>
    Any ideas how to resolve it?
    P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
    Thanks in advance,
    Victor.

    Hi Bhavik, thanks for response.
    as I already mentioned it implements Serializable, so it is not the problem.
    Thanks Avi but it didn't helps iether
    Victor

  • Web Service and security....

    Hi everyone,
    I wanted to know if someone suceeded to call a web service via a Java standalone class using a Deployable Proxy ?
    If yes, can someone gives me all the steps ?
    Thanks a lot for your help.
    NB : I succeeded calling a web service via Standalone Proxy. But I want to securize the call to the web service.
    I noticed that I cannot use SSL with Standalone Proxy.
    If I am missunderstanding something, please let me know.

    Hi David,
    Yes, you cannot use SSL with standalone proxy.
    you can use document security for deployable proxy as i suggested you before in you earlier posts.
    Follow these steps:
    1. Specify document security as authentication mechanism in web service configuration file.
    2. In security tab in this file, choose username+encryption for request and none for response.
    2. deploy your web service.
    3. Create deployable proxy for this web service.
    4. ensure security options for this proxy is also set to document authentication.
    5. Deploy this proxy on the server.
    6. Go to visual administrator and there check whether XMLEncryption certificate is available under WebserviceSecurity view. If not then create private and public key with name XMLEncryption and XMLEncryption-cert respectively.
    7. Assign this certificate to your webservice and proxy in the services, "Web services seurity".
    8. write code in Standalone java class to call your pproxy.
    Regards,
    Bhavik

  • Oracle 9i Web Services Quickstart Install TCP tunneling problem

    When I try to run the OTNGUIDGenerator example using the TCP Tunneling portion of the Oracle 9i Web Services Quickstart
    Install I get this in the From localhost8900 tunnel window:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getGUID xmlns:ns1="oracle.otn.ws.emarket.OTNGUIDGenerator" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </ns1:getGUID>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I get this in the From 127.0.0.1:8888 window:
    HTTP/1.1 404 Not Found
    Date: Mon, 28 Oct 2002 20:38:06 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator not found on this server</BODY></HTML>
    This is my webservices stub
    public class OTNGUIDGeneratorStub
    /** public String endpoint = "http://otn.oracle.com/ws/oracle.otn.ws.emarket.OTNGUIDGenerator"; */
    public String endpoint = "http://127.0.0.1:8900/j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public OTNGUIDGeneratorStub()
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    m_httpConnection = new OracleSOAPHTTPConnection();
    Properties props = new Properties();
    /** props.put(OracleSOAPHTTPConnection.PROXY_AUTH_TYPE, "basic");
    props.put(OracleSOAPHTTPConnection.PROXY_HOST, "proxy.scott.af.mil");
    props.put(OracleSOAPHTTPConnection.PROXY_PORT, "375");
    props.put(OracleSOAPHTTPConnection.PROXY_USERNAME, "fowlerji");
    props.put(OracleSOAPHTTPConnection.PROXY_PASSWORD, "F1234567*g"); */
    m_httpConnection.setProperties(props);
    Not sure what to call the server - this works okay when I'm not using tunneling and using our proxy server??

    I think your problem is that you have a proxy user/password and the TCP Monitor (both the command line and built-in 9.0.3 version) do not support that - they only support specification of the proxy server itself :-(
    It is a feature request that I hope will make it into the late spring/early summer release of JDeveloper - I wrote it up as a request based on the number of folks who faced this issue with these tutorials.
    Mike.

  • Executing web service operation with complex input - Please help

    Hi All,
    I am working on invoking a web service through ADF. The request format for the webservice consists of multiple occurance of same element. Below is sample request. here <index> is repeating n number of times.
    <soapenv:envelope>
    <soapenv:Body>
              <ns6:StoreDocumentRequest>
                   <ns6:docFileType>ABC</ns6:docFileType>
                   <ns6:Metadata>
                        <ns6:index>
                             <ns6:indexType>Format_Type</ns6:indexType>
                             <ns6:indexValue>ACROBAT</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Buyer_No</ns6:indexType>
                             <ns6:indexValue>1234567</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Document_Type</ns6:indexType>
                             <ns6:indexValue>101A</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Capture_Location</ns6:indexType>
                             <ns6:indexValue>XYZ</ns6:indexValue>
                        </ns6:index>
                   </ns6:Metadata>
                   <ns6:Content>XXXXXXXXXXXX</ns6:Content>
              </ns6:StoreDocumentRequest>
         </soapenv:Body>
    </soapenv:envelope>
    now I need to populate these values thrugh Operation binding in my managed bean class. I have also dragged these parameters and operation on my jsf page to get hold of those in my managed bean context. I am having following code in my managed bean to set these parameters.
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding storeDocumentBinding = bindings.getOperationBinding("StoreDocument");
    storeDocumentBinding.getParamsMap().put("docFileType", filetype);
    storeDocumentBinding.getParamsMap().put("Content", filecontents);
    storeDocumentBinding.getParamsMap().put("indexType", filecontents);
    storeDocumentBinding.getParamsMap().put("indexValue", filecontents);
    storeDocumentBinding.getParamsMap().put("indexType", filecontents);
    storeDocumentBinding.getParamsMap().put("indexValue", filecontents);
    storeDocumentBinding.execute();
    Here I am facing some issues:
    1. The operation is not picking values put from ParamMap(). It is taking values as empty (as in my .jspx page form, I have made it hidden though). It takes value from my jspx page form, which is blank.
    2. when I am manually entering values in the .jspx page form, for <indexValue> and <indexType> tags, it is taking only one value (last one) for creating the request.
    3. the storeDocument() function is a SOAP based service. How can I check for SOAP response after operationBinding.execute(). I checked for response after execution, it sends an object as result. How to get a SOAP response from it.
    I need to fetch few values from the SOAP response and display it on screen.
    Please help me out. I am noob in ADF.
    regards,
    Rajan

    Hi Puthanampatti,
    I followed the link and did exactly as mentioned. Here is my code
    public String downloadDocument(FacesContext context, OutputStream out) throws IOException {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding retrieveDocumentBinding = bindings.getOperationBinding("RetrieveDocument");
    DCIteratorBinding attachmentsIterator = (DCIteratorBinding)bindings.get("AttachmentsIterator");
    String documentId = attachmentsIterator.getCurrentRow().getAttribute("Seq").toString();
    System.out.println(customSoapProvider.getRequest()); // getting null here
    AttributeBinding docFileTypeVal = (AttributeBinding)bindings.getControlBinding("docId");
    docFileTypeVal.setInputValue(522117);
    Object result = retrieveDocumentBinding.execute();
    System.out.println(customSoapProvider.getResponse()); //getting null here
    but I am getting a null response in the last line.
    what am I missing here.
    regards,
    Rajan
    Edited by: Rajan M on Jan 5, 2013 11:27 AM

  • BPEL 10.1.3.5 calling web service issue.

    Hi All,
    I am basically calling a java webservice from BPEL which takes XML as input along with some other value. The XML content is sent in a string format after stripping the namespaces in BPEL. When this XML content is received by the WS, its throwing an error saying "This parser does not support specification "null" version "null"", which it should have thrown when the XML content structure has issues. I mean the WS is expecting one structure and the BPEL is posting another. As a part of our debugging process, we realized that the WS is looking for some jar libraries before processing the data,which were not available and its throwing this error. The same web service when invoked explicitly, is perfectly accepting the same XML content.
    Can anyone please suggest how to take this ahead. Should I be adding these java jar libraries in our oc4j application server or is there any other workaround. No doubt the XSD has no issues. I am using SOA 10.1.3.5 version.
    Any inputs would be a great help to resolve this. Many thanks in advance.
    Gautham A

    Hi all,
    can anyone please respond to my issue. Its sort of urgent.
    thanks,

  • BIPlatform web service - issue

    I am unable to schedule the report using BIPlatform web service. I can connect to the server and the request is being submitted successfully. I can check the history of the reports and it says 'No Parameters' using the infoview. I can see the soap request call contains the input values for the report in the CurrentValues section. I don't see this in the soapenvelop response from the web service. Please guide me.
    I am enclosing below part of soap request and response which is being generated by web services sdk when I schedule the report as follows:
    Request:
          <ns1:ReportParameters>
           <ns1:Parameters>
            <ns1:CurrentValues>
             <ns1:CurrentValue>
              <ns1:ShowDescriptionOnlyEnabled>false</ns1:ShowDescriptionOnlyEnabled>
              <ns1:Data>1111111</ns1:Data>
             </ns1:CurrentValue>
             <ns1:CurrentValue xsi:nil="true"/>
            </ns1:CurrentValues>
            <ns1:SortMethod>1</ns1:SortMethod>
            <ns1:PromptOnDemandViewing>false</ns1:PromptOnDemandViewing>
            <ns1:ParameterName>xx_number</ns1:ParameterName>
            <ns1:ValueType>STRING</ns1:ValueType>
            <ns1:ReportParameterOptions>
             <ns1:ReportParameterOption>HAS_DISCRETE_VALUES</ns1:ReportParameterOption>
            </ns1:ReportParameterOptions>
            <ns1:GroupNumber>0</ns1:GroupNumber>
           </ns1:Parameters>
          </ns1:ReportParameters>
    Response:
    <cr:ReportParameters>
       <cr:Parameters>
           <cr:CurrentValues/>
           <cr:SortMethod>1</cr:SortMethod>
           <cr:PromptOnDemandViewing>false</cr:PromptOnDemandViewing>
           <cr:EditMask/>
           <cr:ParameterName>xx_number</cr:ParameterName>
           <cr:DefaultValues/>
           <cr:ReportParameterOptions>
             <cr:ReportParameterOption>HAS_DISCRETE_VALUES</cr:ReportParameterOption>
           </cr:ReportParameterOptions>
           <cr:Prompt>Enter number:</cr:Prompt>
           <cr:ReportName/><cr:GroupNumber>0</cr:GroupNumber>
        </cr:Parameters>
    </cr:ReportParameters>

    Hi
    Please read the following for information on future posts:
    [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    These forums are for community assistance with general questions and not a technical support venue.
    People will try and help with technical support issues, but there is no guarentee that you will be able to get a resolution for technical issues. There is also no way to control how fast or slow responses from users come or how much/little help they will be. 
    If you have technical support questions that can not wait for assistance on the forums or are not being answered to your liking, you have the option to purchase support.
    You can call 1-800-877-2340 Option 4 then Option 1 to purchase single case incidents as long as you are using Crystal Reports.  If you are using BusinessObjects Enterprise then you will need to have a support contract in place.
    Each question would need a seperate case.
    Best Regards,
    Jason

  • Web Services Issues in Coldfusion 8

    Hello all,
    I am trying to deploy .cfc files as web services in a multiserver coldfusion 8 environment.  So far it has not been working out so well.  Whenever I navigate to the .cfc file in a browser the page dumps the .cgi scope and not the component documentation.  If i append ?wsdl to the URL  I get the code for the .cgi scope dump.   You also cannot manually register a web service in the coldfusion administrator.  (components that will be web services are marked as access="remote", these same .cfc files have been and are being used in CF 7.1.)
    The cfc files in the CFIDE folder use the cfcexplorer.cfc component and do show the component documentation.
    My Environment:
    3 x T6300 Sun Solaris Blades
    3 x 8 core processors
    32GB RAM
    Hardware Load Balancer:
    Juniper DX
    NAS /web partition mount for webroot
    Does anyone know of any issues with web services in multiserver CF 8 environment?  Why would the .cfc and .cfc?wsdl dump the cgi scope and not show me the component documentation or the WSDL file?  Is there a setting that I am missing somewhere to allow web services?  Why can't I explore the cfc documentation on a file in the webroot?
    Any help or insight would be greatly appreciated!
    thanks in advance
    Steve

    There is nothing about web service and multi-home ColdFusion or ColdFusion 8 that should be radically different then web services in stand-alone CF7.
    Is there anychance there is an arrent Application.cfc file that might be applied to these ColdFusion component files?  Note that any Application.cfc file (or Application.cfm) between the CFC file and the root directory would be applied to the code running the web service.  There is an often overlooked gotcha with some Application.cfc files that use the onRequest() method.  This method can interfere with the normal deliver of a wsdl response to a web service request if this has not been accounted for in the onRequest() method.

Maybe you are looking for

  • Can you delete the game center app

    Can you delete the game center app off the iphone

  • Can I change the smtp server with Yahoo push account?

    My yahoo email account will send and receive over EDGE using the default yahoo mail settings. On my home Cox internet WiFi network I can retrieve messages but cannot send. When sending it says it was sent and makes the "swooshing" mail sent sound, bu

  • Type in a cell range

    This is probably the worst spreadsheet program in the history of man.  How the **** do you type in cell ranges in this daffy thing?

  • Render HDV Comp to DV AVI (AE CS3)

    I have a comp I made with an HDV clip - the comp is set to the HDV specs. I want to export this comp from After Effects to a DV AVI - 720 x 480 Widescreen (1.2 Image Aspect Ratio). Can someone tell me what settings I need to change in the render que

  • Help in serach field in FM

    hi, i need to do a search field in <u>FM</u> how can i do that? ex. name: Ric i get Rich Richard regards