Capturing the response received from the WCF web service method?

Hi,
I am trying to call a WCF web service method with input parameters in an xml file and then receive the returned output data by the web service as response into an xml file.
So far I am able to call the webservice method successfully and not sure how to capture the response data. I am able to see the response data in the tracked message event using the query expression search at the BizTalk group root.
I may be missing something simple in my orchestration(image at http://social.msdn.microsoft.com/Forums/getfile/535971)  ?
Steps in my orchestration are,
1) Receive the xml file with input parameters
2) Send to webservice using WCF-BasicHttp transport type
3) Receive response from web service
4) Send to xml file
Not sure how I can have 2 receive shapes in series there. I have seen few related posts in the forum but could not resolve.
Could someone please correct me?

Hi Rachit,
Thanks for your quick response. My orchestration is similar to the one in that post. In your post at step 7, how you are able to set 'Activate property' of the receive shape to true? as its the 2nd receive shape in series.
I am unable to post any images or links at the moment. My orchestration is posted at this link  http://social.msdn.microsoft.com/Forums/getfile/535971
I am able to access  the above link using chrome.
Yes,  I did use the Request/Response port to communicate with the web service.  I
am looking to achieve similar to the one in your post.
Thanks.

Similar Messages

  • SSRS in SharePoint2013:Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModule

    SSRS in SharePoint2013: There is a report in SharePoint and it contains a sub-report and the sub-report hyperlink. When I click the hyperlink to go to the sub-report, after >10min, I click the "Back to.." button
    on IE to go to the previous page. Then it catch the error as:
    Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '
    <!DOCTYPE html PUB'.
    I am using SQL2012 and Sharpoint2013.

    Hi Alisa,
    Thanks for your reply, I changed the web.config, but the issue did not resolved. 
    I add the codes in two parts of the web.config as below, you can find in by keywords “aspnet:MaxHttpCollectionKeys”
    This issue can not reproduce on Chrome only occur on IE.
    So, do you have some details suggestion for me to fix it?
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configuration>
    <configSections>
    <sectionGroup name="SharePoint">
    </sectionGroup>
    <location path="_layouts/15/TA_AppMonitoringDetails.aspx">
    <appSettings>
    <add key="ChartImageHandler" value="storage=memory;timeout=20" />
    </appSettings>
    </location>
    <location path="_layouts/15/ReportServer/RSViewerPage.aspx">
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>
    </location>
    <system.net>
    <defaultProxy />
    </system.net>
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    <add key="aspnet:RestrictXmlControls" value="true" />
    <add key="FeedCacheTime" value="300" />
    <add key="FeedPageUrl" value="/_layouts/15/feed.aspx?" />
    <add key="FeedXsl1" value="/Style Library/Xsl Style Sheets/Rss.xsl" />
    <add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </appSettings>

  • The Data Received from the server running AD RMS didn't match the expected format.contact your system administrator for further investigation.

    Hi All,
       We Have implemented AD RMS in our organisation recently.But the Problem we are facing here many users those are Ms office 2013 we will get the error"The Data Received from the server running AD RMS didn't match the expected format.contact
    your system administrator for further investigation." and those who are in Ms office 2010 Professional it says  
        "The service is Temporally unavailable.Ensure the you have   connectivity to this server.This error could be caused if you are working offline.Proxy setting are preventing your connection or intermittent network issue."
      Below are the workaround did,
    1.Able to reach to Our pipeline ADRMS cluster.
    2.We have a valid Certificate.
    3.if we type https://adrms.ourdomain.com its working fine.
    4.Manually put the registry setting for effected computers.
    5. Applied the Hotfixes:MicrosoftFixit50903,KB2627273.
       Kindly help or suggest us to resolve the above issue as many computers in domain are not working with IRM.
    Thanks and reqard,
    Mohammed Siddiq.

    Hi Mohammed,
    Were you able to fix the issue with CRL disablement?
    Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer.

  • How to get the report description from obiee's web services (web catalog)?

    I am trying to get the Description from the properties of a report (using web services + web catalog). I am not able to retrieve the description through the itemProperties[] array, and have not been successful finding it anywhere else. Has anyone been able to get the this Description property? Thanks.

    hi,
    are you looking for table name,column name,subject area,created time for a specific report/request ?
    IF yes we can do this using Catalog manager
    Open Catalog Manager-->tools-->Create Report
    thanks,
    saichand.v

  • Iphone will not stay connected "invalid response received from the device."

    I have an older iPhone (8gb) and for some reason whenever I plug it into the usb port on my computer it will not stay connected whatsoever. Itunes freaks out, it'll come up for a little bit and then just as soon as it appeared, 'Josh's iPhone' disappears. When I say "won't stay connected" I mean you'll hear the "new usb device" sound over and over again continuously and the iPhone goes crazy too. Like it's connected, disconnecting, connecting, disconnecting, etc.. The error I get during all this madness is "itunes could not connect iPhone because it received an invalid response from the device."
    I've used this ( http://support.apple.com/kb/ts1286 ) link to no avail (yet.) I am about to restart my computer right now. If it works after that I'll just simply delete this post. But anyway it's in a usb 2.0, it's plugged directly into the computer, etc etc
    Also I'm not sure if this has anything to do with it but I put ringtones on the phone as well, I tried adding about 5 or 6 of them through itunes and it only uploaded two of them, except one of those two appears FOUR TIMES.
    Thanks in advance for anyone who can help!

    Okay, after the updates I am still having the same problem. I'll try explaining it as detailed as possible, hoping somebody has an answer because this is pretty weird to me.
    -I have 5 files, Ringtone1.m4r, Ringtone2.m4r, Ringtone3.m4r, Ringtone4.m4r and Ringtone5.m4r.
    -I add them to the "ringtones" section under "Devices"
    -ON ITUNES they show up perfectly fine. In order, and if I play them through itunes, all the ringtones are correct, just how they should be.
    -I eject iPhone, go to settings > sounds > ringtone, and under custom, what I see is:
    Ringtone1
    Ringtone1
    Ringtone1
    Ringtone1
    Ringtone1
    Why on Earth could this be?

  • Is there a way to speed up the response time from the dock

    Is there a way to speed up the response time for external hard drives from the dock? I have three external HDs but when I click on the alias in the dock there is always hesitation before it opens. I'm leaning towards the fact that it is just a result of the fact that the speed of the Mac is what it is. But, maybe there is something I can do to speed it up. The drives are plugged via usb directly to the Mac and they have there own power source. The curious thing is that they once were plugged into a large separately powered USB hub and I don't recall a lag like I have now. Any thoughts? Thanks...
    Message was edited by: gfann18

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

  • The length received from the server does not match the expected length

    Every time I attempt to transfer a tv show or movie from my mac mini library to my work laptop library, I receive the above error - any ideas?

    I found this plugin which solved pretty much all of my mail font rendering problems.  It is designed for Lion, so don't know whether it will work but thought I would offer it up.
    http://noware-it.zxq.net/

  • Unable to open connection to MS Access 2013 .accdb file Under WCF Web Service Project Using Windows 8.1 64bit

    I am encountering the following error when trying to connect to an Access 2013 database:
    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
    I have Visual Studio 2013 SP3 running on Windows 8.1 64bit OS which also has Office 2013 installed (which includes MS Access 2013).  My project is a WCF web service using .NET Framework 4.5.1 using any cpu as target.  I have tried reluctantly
    to install the older drivers as described by in the below article:
    https://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine?forum=vstsdb
     and also went through the "Add Data Source" wizard in the Project menu to have the connect string automatically built.  Even with the automatically built connect string I can not connect to the .accdb file from within my WCF web service.
    What's odd is if I use the Database Explorer in Visual Studio it has no problem connecting the my Access file.  I inspected the connect string and tried to use it as well but still get the same error. Even stranger is that I have no problem connecting
    to the Access DB in an ASP.NET project on the same PC. I am also able to connect to the Access file using a simple Windows Forms application.  So I'm wondering if it has something to do with trying to connect to the Access file from a WCF web service
    project.
    What I'd like to know is if anyone has been able to get this to work in an environment as I described above as a 64bit WCF web service project?  I tried to switch my project to 32bit but when I do I get a different error which reads:
    System.BadImageFormatException: Could not load file or assembly 'file:
    Almost to the point of trying to get this web service project done with SQL Express but would like to know if it can be done with MS Access 2013.  Any information anyone can provide to help me get past this issue is greatly appreciated. Thanks.

    Have you installed the 64-bit Access driver on your machine? See
    Data Source Names and 64-Bit Operating Systems for the differences in odbcad32. Call %SystemRoot%\system32\odbcad32.exe to check the drivers.
    How do you host your service? Stand-alone or IIS or embedded to another application? Keep in mind that IIS7 runs it in its application pool which is defaullt 64bit. Thus the bad image exception, when compiling your service as 32bit.
    When you need the Access database for your service to store informtation, then I would switch to SQL Server (Express) or XML files depending on your actual needs.
    Also check whether your account under which your service is run has the necessary NTFS file permissions on the access file and the folder. This is getting even more complex when it's a remote folder.

  • Propery Binding exception when bound to data received from the web socket

    Hi,
    I am getting the following exception when I try to bind my properties to the data received from the MessageWebSocket. Works fine when the data is received from the normal StreamSocket.
    A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in System.dll
       at System.StubHelpers.EventArgsMarshaler.CreateNativePCEventArgsInstance(String name)
       at System.Runtime.InteropServices.WindowsRuntime.PropertyChangedEventArgsMarshaler.ConvertToNative(PropertyChangedEventArgs managedArgs)
       at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
       at WinStoreApp.Common.BindableBase.OnPropertyChanged(String propertyName)
       at WinStoreApp.Common.BindableBase.SetProperty[T](T& storage, T value, String propertyName)
       at WinStoreApp.DataModel.Model.StockItem.set_BidVol(String value)
       at WinStoreApp.Core.FIDValueMapper.PopulateFIDValue(Int32 fid, String value, StockItem stockItem)
       at WinStoreApp.Core.StockFeedReceiver.<ProcessData>d__20.MoveNext()
    Code snippet of message received:
     static async void _websocket_MessageReceived(MessageWebSocket sender, MessageWebSocketMessageReceivedEventArgs args)
                try
                    using (var reader = args.GetDataReader())
                        reader.UnicodeEncoding = Windows.Storage.Streams.UnicodeEncoding.Utf8;
                        string message = reader.ReadString(reader.UnconsumedBufferLength);
                        await myObj.Message = message; // Exception here
                catch (Exception ex)
    Please let me know what may the problem.

    Hi,
    According to your description, I think you can received message from server by using
    MessageWebSocket class, but the data you received may not be right. I see the document in the link below:
    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.networking.sockets.aspx
    In the document above indicates:
    StreamSocket class is a stream socket to use for incoming or outgoing network communication over TCP
    MessageWebSocket is a message-based WebSocket.
    If the server send the data based on stream format, the
    MessageWebSocket class may not received the right data.
    You can use StreamWebSocket
    to see whether the problem occur. And you should give us more information and upload a test project to OneDrive so that we can test it.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Exposing other classes (as well as the EF Model) from a WCF Service?

    Hello,
    I have been following some of the tutorials on the Oracle.Net development centre, such as creating a Data Service for the Entity framework:-
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/dotnet/EntityFrameworkWCF/WCFEntityFramework.htm
    This is good - However, I have written a number of extra classes as part of my model i.e. buddy classes for data annotations/meta data (for strongly typed views) and various extra classes that contain LINQ statements looking at the EF Entity classes.
    Can anyone explain how I go about moving all my classes to the WCF data service, such as above ?
    I tried to alter the *.svc file (as created in above example like) to include more than one entity, but it's not keen:-
    E.g.
    public class TasService : DataService < TasEntities >  *: DataService < OrganisationService>* //<-- this bit doesn't work
          public static void InitializeService(DataServiceConfiguration config)
                config.SetEntitySetAccessRule("*", EntitySetRights.All);
                config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
    }I can find other example of creating a WCF library and hosting out services with I.P addresses stored in an App.config file, but the above example only stored a web.config file.
    Thus, I have tried created a WCF Data Service and WCF Library, but still cannot successfully expose all my model classes + Entity Framework Model.
    Does anyone have a solid example OR has anyone managed to achieve this task ? Someone must be in the know... please don't hold out on us mere mortals ......
    Thanks,
    Graeme
    Edited by: user4487499 on 21-Apr-2011 03:24
    Edited by: user4487499 on 21-Apr-2011 03:25

    Do you have any mapping done on the response message from the WCF service . ?
    If so Better to copy the suspended message coming from the WCF service and validate against the custom response Schema you have created.
    Note : You can try running fiddler tool to check the response from from the web service incase of failure.
    Also try logging the message in the event viewer or any debug tool.
    Thanks
    Abhishek

  • Information received from the QuickTime server is invalid.

    I recently updated my itunes to the latest version and with that everytime I try to open itunes or Quicktime, I receive a message saying "Some of your QuickTime software is out of date. You can fix this problem by updating to the latest version", when I click "Do it now", an error message pops up saying "Information received from the QuickTime server is invalid. Please try again later". I have tried uninstalling and reinstalling QuickTimes but this does not help. Please help!

    I have this identical problem. I have now completed a successful (?) update to Quicktime Player 7.3.1. Every time I boot or open Quicktime, I receive the message that some of the components are out of date. However, I am no longer receiving the "Information received from the QuickTime server is invalid. Please try again later" message. When I click on "do it now" the box simply disappears.

  • Transmit and receive from the same ip address?

    Helpers:
    We 've been using transmit/Receive for a while, I read all the discussions. No one seem really know does the transmit send to a destination IP address and the destination receive from the same IP or the IP address the sender send from?
    like sender send from: java Transmitter 123.4.3.162 5000
    receiver receive from: java Receive 123.4.3.162 5000
    or sender send from: java Transmitter 123.4.3.162 5000
    receiver receive from: java Receive 10.118.5.162 5000
    I think the frist one is correct, does anyone has clear idea and experience about it.
    Desperate coder!

    Receiver code is as follows
    import java.io.*;
    import java.awt.*;
    import java.net.*;
    import java.awt.event.*;
    import java.util.Vector;
    import javax.media.*;
    import javax.media.rtp.*;
    import javax.media.rtp.event.*;
    import javax.media.rtp.rtcp.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.AudioFormat;
    import javax.media.format.VideoFormat;
    import javax.media.Format;
    import javax.media.format.FormatChangeEvent;
    import javax.media.control.BufferControl;
    public class AVReceive2 implements ReceiveStreamListener, SessionListener,ControllerListener
    String sessions[] = null;
    RTPManager mgrs[] = null;
    Vector playerWindows = null;
    boolean dataReceived = false;
    Object dataSync = new Object();
    public AVReceive2(String sessions[])
              this.sessions = sessions;
    protected boolean initialize()
    try
              InetAddress ipAddr;
         SessionAddress localAddr = new SessionAddress();
              SessionAddress destAddr;
              mgrs = new RTPManager[sessions.length];
              playerWindows = new Vector();
              SessionLabel session;
              for (int i = 0; i < sessions.length; i++)
                   try
         session = new SessionLabel(sessions);
              catch (IllegalArgumentException e)
         System.err.println("Failed to parse the session address given: " + sessions[i]);
                        return false;
    System.err.println(" - Open RTP session for: addr: " + session.addr + " port: " + session.port + " ttl: " + session.ttl);
         mgrs[i] = (RTPManager) RTPManager.newInstance();
         mgrs[i].addSessionListener(this);
         mgrs[i].addReceiveStreamListener(this);
         ipAddr = InetAddress.getByName(session.addr);
              if( ipAddr.isMulticastAddress())
    // local and remote address pairs are identical:
    localAddr= new SessionAddress( ipAddr,session.port,session.ttl);
    destAddr = new SessionAddress( ipAddr,session.port,session.ttl);
                        else
    localAddr= new SessionAddress( InetAddress.getLocalHost(),session.port);
    destAddr = new SessionAddress( ipAddr, session.port);
              mgrs[i].initialize( localAddr);
    BufferControl bc = (BufferControl)mgrs[i].getControl("javax.media.control.BufferControl");
                        if (bc != null)
              bc.setBufferLength(350);
                   mgrs[i].addTarget(destAddr);
              catch (Exception e)
    System.err.println("Cannot create the RTP Session: " + e.getMessage());
    return false;
         long then = System.currentTimeMillis();
    long waitingPeriod = 30000; // wait for a maximum of 30 secs.
              try
              synchronized (dataSync)
    while (!dataReceived && System.currentTimeMillis() - then < waitingPeriod)
                        if (!dataReceived)
                                  System.err.println(" - Waiting for RTP data to arrive...");
                        dataSync.wait(1000);
              catch (Exception e) {}
              if (!dataReceived)
    System.err.println("No RTP data was received.");
              close();
              return false;
    return true;
    public boolean isDone()
              return playerWindows.size() == 0;
    protected void close()
              for (int i = 0; i < playerWindows.size(); i++)
              try
         ((PlayerWindow)playerWindows.elementAt(i)).close();
              catch (Exception e) {}
              playerWindows.removeAllElements();
         // close the RTP session.
              for (int i = 0; i < mgrs.length; i++)
              if (mgrs[i] != null)
    mgrs[i].removeTargets( "Closing session from AVReceive2");
    mgrs[i].dispose();
                        mgrs[i] = null;
    PlayerWindow find(Player p)
              for (int i = 0; i < playerWindows.size(); i++)
              PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
              if (pw.player == p)
                        return pw;
              return null;
    PlayerWindow find(ReceiveStream strm)
              for (int i = 0; i < playerWindows.size(); i++)
              PlayerWindow pw = (PlayerWindow)playerWindows.elementAt(i);
              if (pw.stream == strm)
                        return pw;
              return null;
    public synchronized void update(SessionEvent evt)
              if (evt instanceof NewParticipantEvent)
         Participant p = ((NewParticipantEvent)evt).getParticipant();
    System.err.println(" - A new participant had just joined: " + p.getCNAME());
    public synchronized void update( ReceiveStreamEvent evt)
         RTPManager mgr = (RTPManager)evt.getSource();
    Participant participant = evt.getParticipant();     // could be null.
    ReceiveStream stream = evt.getReceiveStream(); // could be null.
              if (evt instanceof RemotePayloadChangeEvent)
    System.err.println(" - Received an RTP PayloadChangeEvent.");
    System.err.println("Sorry, cannot handle payload change.");
              System.exit(0);
              else
              if (evt instanceof NewReceiveStreamEvent)
              try {
    stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
    DataSource ds = stream.getDataSource();
              // Find out the formats.
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
                        if (ctl != null)
    System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
                        else
    System.err.println(" - Recevied new RTP stream");
                        if (participant == null)
    System.err.println(" The sender of this stream had yet to be identified.");
                        else
    System.err.println(" The stream comes from: " + participant.getCNAME());
    // create a player by passing datasource to the Media Manager
    Player p = javax.media.Manager.createPlayer(ds);
                        if (p == null)
                        return;
                   p.addControllerListener(this);
                        p.realize();
         PlayerWindow pw = new PlayerWindow(p, stream);
         playerWindows.addElement(pw);
                   synchronized (dataSync)
                        dataReceived = true;
                        dataSync.notifyAll();
              catch (Exception e)
         System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
                        return;
              else
              if (evt instanceof StreamMappedEvent)
                   if (stream != null && stream.getDataSource() != null)
                        DataSource ds = stream.getDataSource();
              // Find out the formats.
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
         System.err.println(" - The previously unidentified stream ");
                        if (ctl != null)
         System.err.println(" " + ctl.getFormat());
         System.err.println(" had now been identified as sent by: " + participant.getCNAME());
              else
              if (evt instanceof ByeEvent)
    System.err.println(" - Got \"bye\" from: " + participant.getCNAME());
              PlayerWindow pw = find(stream);
              if (pw != null)
                        pw.close();
              playerWindows.removeElement(pw);
    public synchronized void controllerUpdate(ControllerEvent ce)
              Player p = (Player)ce.getSourceController();
              if (p == null)
              return;
         // Get this when the internal players are realized.
              if (ce instanceof RealizeCompleteEvent)
              PlayerWindow pw = find(p);
              if (pw == null)
              // Some strange happened.
              System.err.println("Internal error!");
                        System.exit(-1);
              pw.initialize();
              pw.setVisible(true);
              p.start();
              if (ce instanceof ControllerErrorEvent)
              p.removeControllerListener(this);
              PlayerWindow pw = find(p);
              if (pw != null)
                        pw.close();
              playerWindows.removeElement(pw);
         System.err.println("AVReceive2 internal error: " + ce);
    class SessionLabel
              public String addr = null;
              public int port;
              public int ttl = 1;
    SessionLabel(String session) throws IllegalArgumentException
              int off;
              String portStr = null, ttlStr = null;
              if (session != null && session.length() > 0)
         while (session.length() > 1 && session.charAt(0) == '/')
              session = session.substring(1);
              // Now see if there's a addr specified.
                        off = session.indexOf('/');
                        if (off == -1)
                        if (!session.equals(""))
                   addr = session;
                        else
              addr = session.substring(0, off);
              session = session.substring(off + 1);
              // Now see if there's a port specified
              off = session.indexOf('/');
                        if (off == -1)
                        if (!session.equals(""))
                        portStr = session;
                             else
              portStr = session.substring(0, off);
              session = session.substring(off + 1);
              // Now see if there's a ttl specified
                                  off = session.indexOf('/');
                                  if (off == -1)
                                  if (!session.equals(""))
                                            ttlStr = session;
                   else
              ttlStr = session.substring(0, off);
              if (addr == null)
         throw new IllegalArgumentException();
              if (portStr != null)
                        try {
              Integer integer = Integer.valueOf(portStr);
                        if (integer != null)
                                  port = integer.intValue();
              catch (Throwable t)
              throw new IllegalArgumentException();
              else
              throw new IllegalArgumentException();
              if (ttlStr != null)
                        try {
              Integer integer = Integer.valueOf(ttlStr);
                        if (integer != null)
                   ttl = integer.intValue();
                        catch (Throwable t)
              throw new IllegalArgumentException();
    class PlayerWindow extends Frame {
         Player player;
         ReceiveStream stream;
         PlayerWindow(Player p, ReceiveStream strm) {
         player = p;
         stream = strm;
         public void initialize() {
         add(new PlayerPanel(player));
         public void close() {
         player.close();
         setVisible(false);
         dispose();
         public void addNotify() {
         super.addNotify();
         pack();
    class PlayerPanel extends Panel {
         Component vc, cc;
         PlayerPanel(Player p) {
         setLayout(new BorderLayout());
         if ((vc = p.getVisualComponent()) != null)
              add("Center", vc);
         if ((cc = p.getControlPanelComponent()) != null)
              add("South", cc);
         public Dimension getPreferredSize() {
         int w = 0, h = 0;
         if (vc != null) {
              Dimension size = vc.getPreferredSize();
              w = size.width;
              h = size.height;
         if (cc != null) {
              Dimension size = cc.getPreferredSize();
              if (w == 0)
              w = size.width;
              h += size.height;
         if (w < 160)
              w = 160;
         return new Dimension(w, h);
    public static void main(String args[])
              String[] argv = new String[2];
              argv[0] = "100.210.0.220/42050";
              argv[1] = "100.210.0.220/4002";
              AVReceive2 avReceive = new AVReceive2(argv);
              if (!avReceive.initialize())
         System.err.println("Failed to initialize the sessions.");
              System.exit(-1);
              try {
              while (!avReceive.isDone())
                        Thread.sleep(1000);
              } catch (Exception e) {}
              System.err.println("Exiting AVReceive2");

  • Pulling Data from an imported web service into a data grid - Flex 3.0

    Hi all,
    I have created a web service from Oracle using JDeveloper and imported it into my Fex 3 project, and I am trying to populate a data grid with the data from the web service.  I was trying to emulate the example found in my Adobe Flex 3.0 for Dummies book (see http://dougmccune.com/flexfordummies/chapter14/srcview/index.html), and while the code from the book with that data service works fine, I can't get my application to work.  My issue is with the part of code mx:DataGrid dataProvider="(service)"  - I do not know how to specify what to use for the data source to populate the data grid from my imported web service.  Any suggestions or examples would be helpful, as I am a newcomer to Adobe Flex.  My code is as follows:
    <?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"xmlns:webservices="
    generated.webservices.*">
     <mx:Script>
    <![CDATA[
     private function getData():void {service.getPdRec(ageDt.text);
    ]]>
    </mx:Script>
     <webservices:PD_Pct_Web_Service id="service" />
     <mx:VBox>
     <mx:HBox width="100%">
     <mx:TextInput id="ageDt" width="100%" />
     <mx:Button id="submitButton" label="Search" click="getData()" />
     </mx:HBox>
     <mx:DataGrid dataProvider="(service.getPdRec_lastResult
    " rowHeight="
    58" width="100%" height="300">
     <mx:columns>
     <mx:DataGridColumn dataField="creditManager" headerText="Credit Manager" width="40" />
     <mx:DataGridColumn dataField="pdTarget" headerText="PD Target" width="40" />
     <mx:DataGridColumn dataField="totalPd" headerText="Total PD" width="40" />
     <mx:DataGridColumn dataField="pdPct" headerText="PD Percent" width="50" />
     </mx:columns>
     </mx:DataGrid>
     </mx:VBox>
     </mx:Application>
    My web service returns the following when invoked:
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:ns0="http://erec_db/PD_Pct_Web_Service.wsdl/types/">
    <env:Body>
      <ns0:getPdRecResponseElement>
       <ns0:result>
        <ns0:creditManager>Cobb</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>147.65</ns0:totalPd>
        <ns0:pdPct>26.77</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Collova</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>27.71</ns0:totalPd>
        <ns0:pdPct>21.67</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Lee</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>33.61</ns0:totalPd>
        <ns0:pdPct>72.38</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Maynard</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>74.19</ns0:totalPd>
        <ns0:pdPct>33.69</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Ong</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>13.26</ns0:totalPd>
        <ns0:pdPct>46.06</ns0:pdPct>
       </ns0:result>
      </ns0:getPdRecResponseElement>
    </env:Body>
    </env:Envelope>

    Use data binding. <mx:DataGrid dataProvider="{service.getPdRec_lastResult}"
    -Radhakrishna

  • Itunes could not connect to the ipad because an invalid response was received from the device

    Hello
    I just installed the maximus v extreme motherboard with a ocz vertex 4 ssd with windows 7 x64. Installation was fine and installing drivers went without a hitch. Re-installing the software i use went fine as well.
    However, when i went to use iTunes( v10.7) to sync my ipad i got an error message saying:
    "Itunes could not connect to the ipad because an invalid response was received from the device"
    I then connected my ipod nano to see if it will cause the same error, but it worked fine. So i tried an iphone and the same error I got for my ipad came up.
    I tried reinstalling the usb drivers, but the same error came up. I also updated BIOS to the latest version, but the error still came up. I also reinstalled itunes numerous times and still got the error. I reinstalled and updated all drivers as well. Again this did not fix the issue. I also tried to run itunes in vista compatability and xp compatability mode. Again this did not fix the issue.
    I have also followed all the steps apple recommends to do on their website with regards to this issue, again it did not fix the issue.
    It is a real pain as everything else works like a dream! Is there anything i can do to get itunes to work properly on my pc?
    Thank you for your help!
    System specs:
    asus rampage v extreme motherboard
    OCZ vertex 4 SSD
    8 Gb DDR3 RAM (1600 mHz)
    windows7 x64
    Intel i7 3.5Ghz 1155
    nvidia GTX295  (x2 running in Sli)

    I fixed this problem.  Believe the problem is iOS 7 incompatibility with older iTunes Versions on older MacOS systems or platforms.
    My iPad 2 would no longer sync with my old  PowerPC Mac mini running MacOS. My iPhone 3GS synced fine.  IPad2 updated to iOS 7 which doesn't run on my iPhone 3GS. Error message for iPad sync problem was "invalid response received from iPad" out of iTunes.  I then applied update iOS 7.1.2 to iPad and error message changed to indicate this version of iTunes not supported, use 11.1.
    iPad 2 used to sync prior to iOS 7 installation. 
    Research on Apple web site shows iOS 7 on iPhones and iPads does not support older MacOS and iTunes versions.
    Upgraded with new Mac mini and iTunes 11.1 and MacOS 10.9.2. (put this off as long as I could.  )
    all good now.

  • Aironet 1600 - A response was not received from the router or access point

    Hi,
    I'm trying to set up a wireless network with multiple SSID's. The new network only has CISCO products (router, switches). For the moment I'm trying to connect to 1 SSID (Windekind.Gast). the SSID is visible but when connecting devices have te folowing error message in the log:
    Connection status summary
    Connection started at: 2015-02-17 09:55:49-951
    Profile match: Success
    Pre-Association: Success
    Association: Fail
    Security and Authentication: Not started
    Root cause:
    Wireless association to "Windekind.Gast" failed
    A response was not received from the router or access point.
    Detailed root cause:
    Wireless association to this network failed. Windows did not receive any response from the wireless router or accesspoint.
    The signal is perfect (I'm only a few feet away from the AP).
    To make sure there is no dhcp problem I tested the swich port in access mode for vlan 30 which supplied an IP correctly. I'm really not seeing the problem and searched the web for days now! Any help would be very much appreciated! 
    Below the config of the access point (done via de web interface).
    ! Last configuration change at 05:30:28 UTC Mon Mar 1 1993
    version 15.2
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec localtime show-timezone
    service password-encryption
    hostname AP002-C
    logging rate-limit console 9
    enable secret 5 $1$Bxv3$Of8o5..8v6gzIiAe2tXlh/
    no aaa new-model
    no ip cef
    dot11 syslog
    dot11 vlan-name Windekind.Directie vlan 50
    dot11 vlan-name Windekind.Gast vlan 30
    dot11 vlan-name Windekind.Klasnet vlan 40
    dot11 ssid Windekind.Directie
    vlan 50
    band-select
    authentication open
    mobility network-id 50
    dot11 ssid Windekind.Gast
    vlan 30
    band-select
    authentication open
    authentication key-management wpa version 2
    mbssid guest-mode
    mobility network-id 30
    wpa-psk ascii 7 14201B05080121222A2C6A6D63
    dot11 ssid Windekind.Klasnet
    vlan 40
    band-select
    mobility network-id 40
    crypto pki token default removal timeout 0
    username Cisco password 7 112A1016141D
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption vlan 30 mode ciphers aes-ccm tkip
    ssid Windekind.Directie
    ssid Windekind.Gast
    ssid Windekind.Klasnet
    antenna gain 2
    stbc
    beamform ofdm
    mbssid
    speed basic-1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    channel 2452
    no preamble-short
    station-role root
    payload-encapsulation dot1h
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    interface Dot11Radio0.30
    encapsulation dot1Q 30
    no ip route-cache
    bridge-group 30
    bridge-group 30 subscriber-loop-control
    bridge-group 30 spanning-disabled
    bridge-group 30 block-unknown-source
    no bridge-group 30 source-learning
    no bridge-group 30 unicast-flooding
    interface Dot11Radio0.40
    encapsulation dot1Q 40
    no ip route-cache
    bridge-group 40
    bridge-group 40 subscriber-loop-control
    bridge-group 40 spanning-disabled
    bridge-group 40 block-unknown-source
    no bridge-group 40 source-learning
    no bridge-group 40 unicast-flooding
    interface Dot11Radio0.50
    encapsulation dot1Q 50
    no ip route-cache
    bridge-group 50
    bridge-group 50 subscriber-loop-control
    bridge-group 50 spanning-disabled
    bridge-group 50 block-unknown-source
    no bridge-group 50 source-learning
    no bridge-group 50 unicast-flooding
    interface Dot11Radio1
    no ip address
    no ip route-cache
    encryption vlan 30 mode ciphers aes-ccm tkip
    ssid Windekind.Directie
    ssid Windekind.Gast
    ssid Windekind.Klasnet
    antenna gain 4
    no dfs band block
    stbc
    beamform ofdm
    mbssid
    speed basic-6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    channel dfs
    station-role root
    payload-encapsulation dot1h
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    interface Dot11Radio1.30
    encapsulation dot1Q 30
    no ip route-cache
    bridge-group 30
    bridge-group 30 subscriber-loop-control
    bridge-group 30 spanning-disabled
    bridge-group 30 block-unknown-source
    no bridge-group 30 source-learning
    no bridge-group 30 unicast-flooding
    interface Dot11Radio1.40
    encapsulation dot1Q 40
    no ip route-cache
    bridge-group 40
    bridge-group 40 subscriber-loop-control
    bridge-group 40 spanning-disabled
    bridge-group 40 block-unknown-source
    no bridge-group 40 source-learning
    no bridge-group 40 unicast-flooding
    interface Dot11Radio1.50
    encapsulation dot1Q 50
    no ip route-cache
    bridge-group 50
    bridge-group 50 subscriber-loop-control
    bridge-group 50 spanning-disabled
    bridge-group 50 block-unknown-source
    no bridge-group 50 source-learning
    no bridge-group 50 unicast-flooding
    interface GigabitEthernet0
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    bridge-group 1
    bridge-group 1 spanning-disabled
    no bridge-group 1 source-learning
    interface GigabitEthernet0.30
    encapsulation dot1Q 30
    no ip route-cache
    bridge-group 30
    bridge-group 30 spanning-disabled
    no bridge-group 30 source-learning
    interface GigabitEthernet0.40
    encapsulation dot1Q 40
    no ip route-cache
    bridge-group 40
    bridge-group 40 spanning-disabled
    no bridge-group 40 source-learning
    interface GigabitEthernet0.50
    encapsulation dot1Q 50
    no ip route-cache
    bridge-group 50
    bridge-group 50 spanning-disabled
    no bridge-group 50 source-learning
    interface BVI1
    ip address 10.0.0.81 255.255.255.0
    no ip route-cache
    ip default-gateway 10.0.0.1
    ip forward-protocol nd
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    logging facility user
    bridge 1 route ip
    line con 0
    line vty 0 4
    login local
    transport input all
    end

    Hi Rasika
    thanks for the reply! 10.0.0.81 belongs to vlan 1. I changed the config as suggested but no luck.. (same problems are logged in the event viewer). the ap is connected to a switchport in trunk mode and vlan 1 is the native lan (untagged). the port also is joined to vlan 30 (and others).
    Below the new config. Hope you can see an error..
    ! Last configuration change at 22:56:10 UTC Thu Apr 1 1993
    version 15.2
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec localtime show-timezone
    service password-encryption
    hostname AP002-C
    logging rate-limit console 9
    enable secret 5 $1$Bxv3$Of8o5..8v6gzIiAe2tXlh/
    no aaa new-model
    no ip cef
    dot11 syslog
    dot11 vlan-name Default vlan 1
    dot11 vlan-name Windekind.Directie vlan 50
    dot11 vlan-name Windekind.Gast vlan 30
    dot11 vlan-name Windekind.Klasnet vlan 40
    dot11 ssid Windekind.Directie
       vlan 50
       band-select
       authentication open
       mobility network-id 50
    dot11 ssid Windekind.Gast
       vlan 30
       band-select
       authentication open
       authentication key-management wpa version 2
       mbssid guest-mode
       mobility network-id 30
       wpa-psk ascii 7 14201B05080121222A2C6A6D63
    dot11 ssid Windekind.Klasnet
       vlan 40
       band-select
       mobility network-id 40
    crypto pki token default removal timeout 0
    username Cisco password 7 112A1016141D
    bridge irb
    interface Dot11Radio0
     no ip address
     no ip route-cache
     encryption vlan 30 mode ciphers aes-ccm tkip
     ssid Windekind.Directie
     ssid Windekind.Gast
     ssid Windekind.Klasnet
     antenna gain 2
     stbc
     beamform ofdm
     mbssid
     speed  basic-1.0 2.0 5.5 11.0 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
     no preamble-short
     channel 2452
     station-role root
     payload-encapsulation dot1h
    interface Dot11Radio0.1
     encapsulation dot1Q 1 native
     no ip route-cache
     bridge-group 1
     bridge-group 1 subscriber-loop-control
     bridge-group 1 spanning-disabled
     bridge-group 1 block-unknown-source
     no bridge-group 1 source-learning
     no bridge-group 1 unicast-flooding
    interface Dot11Radio0.30
     encapsulation dot1Q 30
     no ip route-cache
     bridge-group 30
     bridge-group 30 subscriber-loop-control
     bridge-group 30 spanning-disabled
     bridge-group 30 block-unknown-source
     no bridge-group 30 source-learning
     no bridge-group 30 unicast-flooding
    interface Dot11Radio0.40
     encapsulation dot1Q 40
     no ip route-cache
     bridge-group 40
     bridge-group 40 subscriber-loop-control
     bridge-group 40 spanning-disabled
     bridge-group 40 block-unknown-source
     no bridge-group 40 source-learning
     no bridge-group 40 unicast-flooding
    interface Dot11Radio0.50
     encapsulation dot1Q 50
     no ip route-cache
     bridge-group 50
     bridge-group 50 subscriber-loop-control
     bridge-group 50 spanning-disabled
     bridge-group 50 block-unknown-source
     no bridge-group 50 source-learning
     no bridge-group 50 unicast-flooding
    interface Dot11Radio1
     no ip address
     no ip route-cache
     encryption vlan 30 mode ciphers aes-ccm tkip
     ssid Windekind.Directie
     ssid Windekind.Gast
     ssid Windekind.Klasnet
     antenna gain 4
     no dfs band block
     stbc
     beamform ofdm
     mbssid
     speed  basic-6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
     channel dfs
     station-role root
     payload-encapsulation dot1h
    interface Dot11Radio1.1
     encapsulation dot1Q 1 native
     no ip route-cache
     bridge-group 1
     bridge-group 1 subscriber-loop-control
     bridge-group 1 spanning-disabled
     bridge-group 1 block-unknown-source
     no bridge-group 1 source-learning
     no bridge-group 1 unicast-flooding
    interface Dot11Radio1.30
     encapsulation dot1Q 30
     no ip route-cache
     bridge-group 30
     bridge-group 30 subscriber-loop-control
     bridge-group 30 spanning-disabled
     bridge-group 30 block-unknown-source
     no bridge-group 30 source-learning
     no bridge-group 30 unicast-flooding
    interface Dot11Radio1.40
     encapsulation dot1Q 40
     no ip route-cache
     bridge-group 40
     bridge-group 40 subscriber-loop-control
     bridge-group 40 spanning-disabled
     bridge-group 40 block-unknown-source
     no bridge-group 40 source-learning
     no bridge-group 40 unicast-flooding
    interface Dot11Radio1.50
     encapsulation dot1Q 50
     no ip route-cache
     bridge-group 50
     bridge-group 50 subscriber-loop-control
     bridge-group 50 spanning-disabled
     bridge-group 50 block-unknown-source
     no bridge-group 50 source-learning
     no bridge-group 50 unicast-flooding
    interface GigabitEthernet0
     no ip address
     no ip route-cache
     duplex auto
     speed auto
    interface GigabitEthernet0.1
     encapsulation dot1Q 1 native
     no ip route-cache
     bridge-group 1
     bridge-group 1 spanning-disabled
     no bridge-group 1 source-learning
    interface GigabitEthernet0.30
     encapsulation dot1Q 30
     no ip route-cache
     bridge-group 30
     bridge-group 30 spanning-disabled
     no bridge-group 30 source-learning
    interface GigabitEthernet0.40
     encapsulation dot1Q 40
     no ip route-cache
     bridge-group 40
     bridge-group 40 spanning-disabled
     no bridge-group 40 source-learning
    interface GigabitEthernet0.50
     encapsulation dot1Q 50
     no ip route-cache
     bridge-group 50
     bridge-group 50 spanning-disabled
     no bridge-group 50 source-learning
    interface BVI1
     ip address 10.0.0.81 255.255.255.0
     no ip route-cache
    ip default-gateway 10.0.0.1
    ip forward-protocol nd
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    logging facility user
    bridge 1 route ip
    line con 0
    line vty 0 4
     login local
     transport input all
    end
    t

Maybe you are looking for