How do I select ports for capturing audio?

Summary:
I am working on a project that needs to programmatically query the sound system and present the user with a list of choices of input lines (Port) to be captured (just one input at any time), with the ability for the user to control the volume of the selected input line (Port).
It seems that either:
a) I'm not querying the sound system correctly to get the information needed to do what I want
b) I don't understand the way the system is intended to present a logical description of the sound system
c) My system is bizarre
d) The (only) way I can think of to make this work is actually the correct way - and will be subject to failure on different machines.
I hope it's either option a) or b) - I can fix that; c) is a nuisance, but d) is a worry.
Discussion:
What I've found is that all 3 source Ports reported by AudioSystem queries are associated with Mixers that do not support TargetDataLines (each such Mixer presents a description of "Port Mixer"). It appears for each of the three (source) Port Mixers on my system, there is another logically distinct Mixer (each such Mixer presents a description of "Direct Audio Device: DirectSound Capture") that is somehow connected to the source Port Mixer. The only thing that I can find that indicates any connection between the two Mixers is the naming of the two Mixers: the Port Mixer is named "Port <someName>" and the Direct Audio Mixer is named "<someName>" (without the "Port" prefix). I confirm this logical connection between the two mixers by noting that when I read from a TargetDataLine on the Direct Audio Mixer I am capturing the audio present on the source Port of the similarly-named Port Mixer.
I'd be happy to just use the TargetDataLine from the Direct Audio Mixer and ignore the Port Mixer, but there are no controls on the former and I need to present a volume/gain control to the user, which only exists on the Ports of the latter.
Question:
Is it correct, and portable, to assume that there is this apparent 1:1 relationship between a mixer named "<someName>" and another mixer named "Port <someName>"? I have read the entire javax.sound.sampled tutorial, several times. I have read the often-recommended article at http://www.vsj.co.uk/java/display.asp?id=370
several times and while I believe I understand the concepts being presented, the configuration I have doesn't seem to match what is described there.
I've written code to query the audio system on my machine (Windows Vista) and the (shortened) output is below. Java version info:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
If there is some way to make this question better so as not to require an unreasonable amount of effort from anyone kind enough to answer just let me know.
Thanks.
AudioSystem Info::
  Source Ports: 3
     LineInfo: Master Volume source port
       Port is a SOURCE
       Controls: 1
     LineInfo: LINE_IN source port
       Port is a SOURCE
       Controls: 1
     LineInfo: Master Volume source port
       Port is a SOURCE
       Controls: 1
  Target Ports: 5
     LineInfo: SPEAKER target port
       Port is a TARGET
       Controls: 4
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 4
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 4
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 4
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 4
Mixer Info::
Found 13 mixers
Mixer Name: Primary Sound Driver
  Description: Direct Audio Device: DirectSound Playback
  Controls: NONE
  Source Lines: 2
     LineInfo: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: 4
     LineInfo: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
  Target Lines: NONE
Mixer Name: Speakers (VIA High Definition Audio)
  Description: Direct Audio Device: DirectSound Playback
  Controls: NONE
  Source Lines: 2
     LineInfo: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: 4
     LineInfo: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
  Target Lines: NONE
Mixer Name: SPDIF Interface (VIA High Definition Audio)
  Description: Direct Audio Device: DirectSound Playback
  Controls: NONE
  Source Lines: 2
     LineInfo: interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: 4
     LineInfo: interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
  Target Lines: NONE
Mixer Name: Primary Sound Capture Driver
  Description: Direct Audio Device: DirectSound Capture
  Controls: NONE
  Source Lines: NONE
  Target Lines: 1
     LineInfo: interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
Mixer Name: Line In (VIA High Definition Au
  Description: Direct Audio Device: DirectSound Capture
  Controls: NONE
  Source Lines: NONE
  Target Lines: 1
     LineInfo: interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
Mixer Name: Stereo Mix (VIA High Definition
  Description: Direct Audio Device: DirectSound Capture
  Controls: NONE
  Source Lines: NONE
  Target Lines: 1
     LineInfo: interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
Mixer Name: CD Audio (VIA High Definition A
  Description: Direct Audio Device: DirectSound Capture
  Controls: NONE
  Source Lines: NONE
  Target Lines: 1
     LineInfo: interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes
       Controls: NONE
Mixer Name: Java Sound Audio Engine
  Description: Software mixer and synthesizer
  Controls: 1
  Source Lines: 2
     LineInfo: interface SourceDataLine supporting 8 audio formats
       Controls: 4
     LineInfo: interface Clip supporting 8 audio formats, and buffers of 0 to 4194304 bytes
       Controls: 4
  Target Lines: NONE
Mixer Name: Port Speakers (VIA High Definition A
  Description: Port Mixer
  Controls: NONE
  Source Lines: NONE
  Target Lines: 1
     LineInfo: SPEAKER target port
       Port is a TARGET
       Controls: 4
Mixer Name: Port SPDIF Interface (VIA High Defin
  Description: Port Mixer
  Controls: NONE
  Source Lines: NONE
  Target Lines: 1
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 4
Mixer Name: Port Stereo Mix (VIA High Definition
  Description: Port Mixer
  Controls: NONE
  Source Lines: 1
     LineInfo: Master Volume source port
       Port is a SOURCE
       Controls: 1
  Target Lines: 1
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 2
Mixer Name: Port Line In (VIA High Definition Au
  Description: Port Mixer
  Controls: NONE
  Source Lines: 1
     LineInfo: LINE_IN source port
       Port is a SOURCE
       Controls: 1
  Target Lines: 1
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 2
Mixer Name: Port CD Audio (VIA High Definition A
  Description: Port Mixer
  Controls: NONE
  Source Lines: 1
     LineInfo: Master Volume source port
       Port is a SOURCE
       Controls: 1
  Target Lines: 1
     LineInfo: Master Volume target port
       Port is a TARGET
       Controls: 2Edited by: user8620608 on Mar 7, 2011 9:51 PM
Edited by: ags on Mar 8, 2011 9:55 PM
Shortened code output. Added Exec summary. Trying to make it easy to help.

It seems that either:
a) I'm not querying the sound system correctly to get the information needed to do what I want
b) I don't understand the way the system is intended to present a logical description of the sound system
c) My system is bizarre
d) The (only) way I can think of to make this work is actually the correct way - and will be subject to failure on different machines.
I hope it's either option a) or b) - I can fix that; c) is a nuisance, but d) is a worry.Working through this logically...
SourceDataLines are things the user can read from, and TargetDataLines are things the user can write to...
You have SourceDataLines associated with the Speakers and the SPDIF Interface... both of those are outputs, but I think it's safe to assume those two "mixers" are actually loopback interfaces to monitor the outputs.
You have TargetDataLines associated with the CD Audio and Port Line In... both of those are inputs, and writing to them doesn't really make any sense...
It looks like your system is "being helpful" by providing a loopback interface (Master Volume target port) with each output port...
My best guess is that all of the ports with just source lines feed into a common area ("Master Volume") and then all feed out of that common area into a series of mixers that have a loopback SourceDataLine you can monitor the output on and a TargetDataLine that you can write to... and then they leave the system through whatever hardware they are associated with.
If that's not the case, then it's the case that you have multiple parallel paths through your Sound System, and you can "write" to things that should be inputs because those inputs have their own mixers.
Is it a safe bet that it's a 1:1 mapping? Well, I think it's a safe bet that either that's the case, or, it doesn't matter. You could run into problems down the line doing it that way, but, I'd recommend you:
1) Handle a normal system (system with a single port mixer) in the normal way
2) Handle a funky system like yours by assuming "Mixer <Source>" will give you the output of "Port <Source>"...
Because, frankly, I think that "Mixer <Source>" should give you the output of all of the "Port <Source>" that are enabled... or it'll just give you the output of the one Port. Either way, you should be fine.

Similar Messages

  • How to write Select statement for this codition

    I need to check whether SGTXT contains BELNR value.
    SGTXT is a text field and It should be matched with BELNR
    How to write select statement for this.
    Select AUGBL AUGDT into t_BSAD
    from BSAD
    where SGTXT should have the given BELNR Value.
    Plz note : Here I cannot give as SGTXT = BELNR as coz BELNR have only 10 digits.

    Hi,
    data temp(12).
    concatenate '%' belnr '%' into temp.
    Select AUGBL AUGDT into t_BSAD
    from BSAD
    where SGTXT like temp.
    If belnr is having multiple values,just create a internal table as follows.
    types : begin of ty,
            belnr....
            temp(12),
            end of ty.
    data itab_ type standard table of ty.
    data wa type ty.
    loop at itab into wa.
    concatenate '%' wa-belnr '%' into wa-temp.
    modify itab from wa index sy-tabix transporting temp.
    endloop.
    Change your select statement accordingly.
    Kindly reward poits if it helps.

  • How to programatically select text for editing in an af:inputText control?

    Hello, I am new to jdeveloper 11.1.1.3.0 and have searched and searched for info. I must be using the wrong terms as I cannot find any info or example on how to programatically select text for editing in an inputText field.
    My request is to change an existing app so when the user presses a button, control should go to the inputText control (this part works, see existing backing bean code from another developer below) but automatically select the text within for editing by the user (saving the user from having to select the text first before editing).
    Backing bean code to set the focus to an inputText field:
    * sets the cursor to the given component id
    * @param  componentId of item on page
      public void setFocusOnUIComponent(String componentId) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        ExtendedRenderKitService service =
          Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
        UIComponent uiComponent = facesContext.getViewRoot().findComponent(componentId);
        service.addScript(facesContext,
          "Component = AdfPage.PAGE.findComponentByAbsoluteId('" + componentId + "'); Component.focus();");
      } I hope this isn't a dumb question and would appreciate it if someone can steer me in the right direction.
    Thank you for any info,
    Gary

    Hi,
    not a dumb question at all. Before answering it, here some comments on the code you pasted in your question
    1. UIComponent uiComponent = facesContext.getViewRoot().findComponent(componentId);
    This code line is not used at all in your method. So it seems you can get rid of it
    2. "Component = AdfPage.PAGE.findComponentByAbsoluteId('" + componentId + "'); Component.focus();");
    I suggest to change it to
    "var component = AdfPage.PAGE.findComponentByAbsoluteId('" + componentId + "'); component.focus();");
    as it is better coding practice to have variable names starting with a lower case letter and being flagged with the "var" identifier
    For pre-selecting text in an an input component, there is no API available in ADF Faces, which means you need to reach out to the rendered HTML ouput. To access the markup for the rendered component, you can try
    var markup = AdfRichUIPeer.getDomContentElementForComponent(component)
    If this markup returns the HTML input component then you can use JavaScript you find on the Internet to select the area of it. If it does not return the input component then you may have to use
    document.getElementById(componentId+'::content')
    Note however that working directly with generated HTML output bears the risk that your code breaks when - for whatever reason - the ADF Faces component rendering changes in the future
    Frank
    Frank

  • How to add a port for a IP cam in the airport extreme setting? thx!

    I has buy a IP cam, but I don't know how to add a port for a IP cam in the airport extreme setting? (I can see the IP cam in local, but not the internet.) Many Thanks!

    atwoodjordan, Welcome to the discussion area!
    See Steve Newstrum's user tip "How do I use Port Mapping (Part I)". When it talks about giving your Mac a static IP address just substitute camera instead.

  • How to create select-options for 3 fields out of 5 by FREE_SELECTIONS_INIT

    Hi Experts,
    I am using the Function Modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG to create the select-options dynamically on the selection screen.
    My problem is that I am passing a field list of 10 fields in the FIELDS_TAB of the function.
    Now it creates the select-options for all 10 fields. I want to create select-options for only 5 fields initially and let the user select out of the remaining 5 fields to create the select-options.
    How to achieve this.?
    I tried by passing the 5 fields in FIELDS_NOT_SELECTED table but they get hidden and once hidden I am not able to get them back in my field list.
    Please help me out.
    Useful answers will be suitably rewarded.
    Thanks in advance.
    Regards,
    Himanshu

    Hi Experts,
    I am using the Function Modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG to create the select-options dynamically on the selection screen.
    My problem is that I am passing a field list of 10 fields in the FIELDS_TAB of the function.
    Now it creates the select-options for all 10 fields. I want to create select-options for only 5 fields initially and let the user select out of the remaining 5 fields to create the select-options.
    How to achieve this.?
    I tried by passing the 5 fields in FIELDS_NOT_SELECTED table but they get hidden and once hidden I am not able to get them back in my field list.
    Please help me out.
    Useful answers will be suitably rewarded.
    Thanks in advance.
    Regards,
    Himanshu

  • HT4539 Does any one know how to reset the password for the audio account?

    I havent downloaded a book in a few years and i forgot the password for the Audio Account does any one know how to change the password? This is driving me crazy.

    Welcome to the Apple community.
    The password for your Apple ID is the same for all apple services, if you have forgotten it, you can reset it at the website iForgot.com

  • How to find COM port for a specific USB device

    I want to automatically find the COM port for a specific USB device. I use the VISA find resource function but I can't get the manufacturer's ID. VISA says the device doesn't have this information. The find resource function does narrow my search (and often finds the port depending on what other usb devices are connected). In the case where it finds multiple possible ports, can I safely send a message to each port to determine if it is the correct device? I know it will work for my purposes but I don't know if I am asking for trouble by sending messages to unidentified devices. Any thoughts on how I can identify my device port will be appreciated. Thank you - Dave F

    You can do it using WMI.  I have C# code I am supposed to convert into LabVIEW foing something similar to what you want to do.  In my case, I am testing a USB device and need to know which port on the hub is which COM port (the device creates a virtual COM port for communication).  Using WMI, you can find the hardware path to the device and know that COM10 is USB hub Port 1 for example.  Unfortunately, I cannot share the C# code.
    You can download the WMI Code Creator tool from Microsoft, which should help you tremendously find the proper method of getting your info.
    You basically want to look at all the W32_USB devices for the specific device you are looking for.  Once you have that, you can look for the COM Port associated with it.  I don't know when I will get to coding this up in LabVIEW, but will report back when I do, assuming you haven't found the solution by then.

  • How to disable selection parameter for a particular radio button

    hi experts,
    How to disable selection parameter(bukrs) for a particular radio button 'radio1'.

    hi,
    Check This Code (copy paste and run it ).
    U have to use MODIF ID along with the parameter.
    *----------------Option
    *---Background
    *---Summary Report
    PARAMETERS       : p_backgd RADIOBUTTON GROUP rad1
                       USER-COMMAND radio DEFAULT 'X'.
    PARAMETERS       : p_sumrep RADIOBUTTON GROUP rad1 .
    *----------------File
    PARAMETERS       : p_sumfl TYPE char255 modif id ABC  .
    PARAMETERS       : p_detfl TYPE char255 modif id ABC.
    *---------------Activate & Deactivate Screen Fields--------------------*
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_sumrep = 'X'.
          IF screen-group1  = 'ABC'.
            screen-input  = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    <b>Please Reward Points & Mark Helpful Answers</b>
    To mark Helpful Answers ;click radio Button next to the post.
    RadioButtons
    <b>o</b> Helpful Answer
    <b>o</b> Very helpful Answer
    <b>o</b> Problem Solved.
    Click any of the above button next to the post; as per the anwers
    <b>To close the thread; Click Probelm solved Radio Button next to the post ,
    which u feel is best possible answers</b>

  • How to forward/open ports for WRT54G?

    Hi. I recently bought a WRT54G because my old router was destroyed by lightening and thunder. I have managed to set it up, and got the interent itself to work with static IP adress (192.168.1.101 for my PC).
    However, even though I have tried to forward/open ports for applications like uTorrent and DC++ as well as Limewire, I have no luck. When I test if the ports are indeed opened, I get the result that they are not. Here are how my port forward setting looks like for utorrent. The port in the settings image is of course the same as in uTorrent.
    http://www.pictub.com/quickupload/01/untitled-1mb4wd.jpg
    I can't seem to open any ports, even though I have followed tutorials like the ones at portforward.com. I have the latest firmware for my router, as I flashed it when I got it. Help .

    Yes, I did .
    Anyways, look what I found in the uTorrent FAQ:
    1.7 Special note for users with Linksys WRT54G/GL/GS routers, there are severe problems with them when running any P2P application
    To fix it, they say one has to flash with a unofficial firmware, but I will rather get the money back and buy another router tomorrow. Thanks for the help anyways .

  • Supported formats for capturing audio

    I need to capture audio in PCM format.
    According to the JDE 4.6.0 Multimedia Guide:
    "The BlackBerry® smartphone uses two formats to record audio: Adaptive Multi-Rate (AMR) and 8 kHz mono-16-bit pulse code modulation (PCM). By default, the format is AMR.
    PCM: capture://audio?encoding=pcm or capture://audio?encoding=audio/basic"
    However, when I run the code:
    Manager.createPlayer( "capture://audio?encoding=pcm" );
    This works on a Pearl 8100, but on a Pearl 8330, I get a MediaException, with the error:
    Unsupported record encoding type
    Do all handsets support PCM encoding? If not, where would I find out the capabilities of the different models?

    Supported audio formats by BlackBerry -
     The following audio formats (including extensions) are supported:
    ACC - audio compression formats AAC, AAC+, and EAAC+
    AMR - Adaptive Multi Rate-Narrow Band (AMR-NB) speech coder standard Supported AMR-NB rates are 4.75 KBps, 5.15 KBps, 5.9 KBps, 6.7 KBps, 7.4 KBps, 7.95 KBps, 10.2 KBps, and 12.2 KBps. AMR
    files must conform to the standards specified in the Internet
    Engineering Task Force (IETF) Request for Comments (RFC) document
    RFC3267, Section 5, on the Internet RFC Archive web site.
    MIDI - Polyphonic MIDI (.mid, .midi, or .smf)
    MP3 - encoded using MPEG Part 1 and Part 2 audio layer 3 Supported sample rates are 16kHz, 22.050kHz, 24kHz, 32kHz, 44.1kHz, and 48kHz.
    WAV
    - supports sample rates of 8 kHz, 16 kHz, 22.05 kHz, 32 kHz, 44.1 kHz,
    and 48 kHz with 8-bit and 16-bit depths in mono or stereo WAV files
    created using audio codec GSM6.10 are supported. However, BlackBerry
    8830 series smartphones do not natively support Global Systems for
    Mobile Communications® (GSM®) encoding and require the BlackBerry
    Attachment Service from either the BlackBerry® Enterprise Server or the
    BlackBerry® Internet Service. See KB13547 for more information. Note:
    Playback of WAV files received as email message attachments requires
    BlackBerry Enterprise Server software version 4.1 Service Pack 2
    (4.1.2). Note: If the BlackBerry smartphone
    user has a BlackBerry Internet Service 2.3 account with BlackBerry
    Device Software 4.2 or later, WAV voice mail files will work.
    Windows Media Audio (WMA 9) Standard Profile Decoder WMA 10 Professional M0 Profile Decoder WMA 9 Profile Decoder and WMA 10 M0 Profile Decoder are only supported by BlackBerry Device Software 4.2.1 or later. See KB05419 for more information.
    The
    following audio file extensions are also supported (depending on
    BlackBerry smartphone model and BlackBerry Device Software version):
    .avi containing PCM, MP3, AAC, AAC+, eAAC+, H.263, MPEG4-SP, MPEG4-ASP, uLaw/aLaw, GSM610
    .3gp containing MP3, AMR-NB, AAC, AAC+, eAAC+, H.263, MPEG4-SP, MPEG4-ASP, uLaw/aLaw, AMR-NB
    .mp4 containing MP3, AMR-NB, AAC, AAC+, eAAC+, H.263, MPEG4-SP, MPEG4-ASP, uLaw/aLaw, AMR-NB
    >.mov containing MP3, AMR-NB, AAC, AAC+, eAAC+, H.263, MPEG4-SP, MPEG4-ASP, uLaw/aLaw, AMR-NB
    .wmv containing WMV, WMA9/10Pro
    .aac and .m4a containing AAC, AAC+, eAAC+
    .wav containing PCM, uLaw/aLaw, GSM610
    Note:
    Support is available for streaming stereo audio over a Bluetooth®
    connection (A2DP and AVRCP Bluetooth profiles) on the following
    BlackBerry smartphone models:
    BlackBerry® 8800 Series smartphones (running BlackBerry Device Software 4.2.2 or later)
    BlackBerry Curve 8300 Series smartphone (running BlackBerry Device Software 4.2.2 or later)
    BlackBerry Pearl 8100 Series smartphones (running BlackBerry Device Software 4.2.2 or later)
     Note: DRM (Digital Rights Management) copyright protected files will not play on BlackBerry smartphones.
    Source: KB05482 
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • How to write selection Query for the following requirment.

    Hi All,
    I am new to ABAP, I need a help ,
    I need to select all plants(WERKS) from MARC at Plant/Material level,
    then I need to take all sales organozation(VKORG) from T001w,
    then I need the company code(BUKRS) from TVKO based on VKORG,
    then I need the currency key(WAERS) from T001 based on BUKRS,
    Can any one help me in writing selection Query for the same?
    Thanks All,
    Debrup.

    Hi,
    Its easy for you if you learn SELECT with JOIN to complete your task. So SEARCH the forum with SELECT statement and you will get a lot of examples using which you can write your own.
    If you struck up anywhere revert back.
    Regards
    Karthik D

  • How to make select-option for one inner table

    Hi,
    Who can teach me to  make select-option for a inner table, which let select-option display data from this inner table.
    Thanks in advance.

    Is this what you are looking for?
    report zrich_0002.
    data: begin of itab occurs 0,
          matnr type mara-matnr,
          spras type makt-spras,
          maktx type makt-maktx,
          end of itab.
    select-options: s_matnr for itab-matnr.
    select-options: s_spras for itab-spras.
    start-of-selection.
      select mara~matnr makt~spras makt~maktx
               into corresponding fields of table itab
                      from mara
                            inner join makt
                               on mara~matnr = makt~matnr
                                        where mara~matnr in s_matnr
                                          and makt~spras in s_spras.
      check sy-subrc = 0.
    Regards,
    Rich Heilman

  • How to change default ports for task flow application?

    I deploy a task form with the following hwtaskflow.xml information:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <hwTaskFlows xmlns="http://xmlns.oracle.com/bpel/workflow/hwTaskFlowProperties">
    <ApplicationName>worklist</ApplicationName>
    <LookupType>LOCAL</LookupType>
    <TaskFlowDeploy>false</TaskFlowDeploy>
    <TaskFlowServer>
    *<hostName/>*
    *<httpPort/>*
    *<httpsPort/>*
    </TaskFlowServer>
    <hwTaskFlow>
    <WorkflowName>ApproverHumanTask</WorkflowName>
    <TaskDefinitionNamespace>http://xmlns.oracle.com/MyApp/MyComposite/MyTask</TaskDefinitionNamespace>
    <TaskFlowId>MyTask_TaskFlow</TaskFlowId>
    <TaskFlowFileName>WEB-INF/MyTask_TaskFlow.xml</TaskFlowFileName>
    </hwTaskFlow>
    </hwTaskFlows>
    When I deploy the form then check the task URI in EM I see
    Host name: server host name
    HTTP port: 80
    HTTPS port: 443
    I know I can override these ports in the hwtaskflow but what if I want HTTPS port left blank? We don't have HTTPS active on our server. Another server in our environment only populates the HTTP port (HTTPS port is left blank) but I'm puzzled why the different behavior.
    Can anyone tell me either how to specify a "blank" HTTPS port in the hwtaskflow or, preferably, how to change the server configuration so that HTTPS port is not filled in when I deploy the task form? We are wanting a completely automated deployment and presently we have to manually remove the HTTPS port via EM after deploying. Argh!

    Jon,
    May be you already figured out the solution nevertheless i will answer your questions.
    1. Turning off the https port - give value as 0 for httpsPort in your hwtaskflow.xml.
    Second reason why your custom hwtaskflow is not getting picked up is you have set the TaskFlowDeploy as false.
    If you set this as true , and specify your cluster address you should be all set.
    for eg : - your cluster host address is somename.cluster.com with only http configured at port 80 lets assume.
    Then your hwtaskflow should look like this
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <hwTaskFlows xmlns="http://xmlns.oracle.com/bpel/workflow/hwTaskFlowProperties">
    <ApplicationName>worklist</ApplicationName>
    <LookupType>LOCAL</LookupType>
    <TaskFlowDeploy>true</TaskFlowDeploy>
    <TaskFlowServer>
    <hostName>somename.cluster.com</hostName>
    <httpPort>80</httpPort>
    <httpsPort>0</httpsPort>
    </TaskFlowServer>
    <hwTaskFlow>
    <WorkflowName>LeaveRequestTask</WorkflowName>
    <TaskDefinitionNamespace>http://xmlns.oracle.com/BuildApplication/BuildProject/LeaveRequestTask</TaskDefinitionNamespace>
    <TaskFlowId>LeaveRequestTask_TaskFlow</TaskFlowId>
    <TaskFlowFileName>WEB-INF/LeaveRequestTask_TaskFlow.xml</TaskFlowFileName>
    </hwTaskFlow>
    </hwTaskFlows>
    This will automatically pick up the values on deployment , other play you can configure this is in your em console as well.

  • How to Assign Logical port for a standar Consumer proxy

    Hello,
    I'm working with a SAP application creating a WS Connector that ask me for the following data:
    - Class name:
    - Logical Port name:
    As far as I have read SAP delivers for this application an example implementation for the following web service: ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In with the /BCV/CL_SIN_WS_BOM class.
    And the help also says that We can find the example implementation delivered by SAP for the Web service ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In in the package /BCV/SIN_PRX, under Service Consumer /BCV/CO_PRODUCTION_BILL_OF_MAT
    In se80 transaction under /BCV/SIN_PRX package I can find /BCV/CO_PRODUCTION_BILL_OF_MATERIAL consumer proxy.
    As far as I know, I just need to assign a Logical port to this proxy.
    So, I go to soamanager transaction under "Service-Administration" --> "Single Service Configuration" and find this Consumer proxy. Then, under Configuration tab I select "Create logical port" option but I need to fill an URL for WSDL access.
    Where can I find this URL? I think that I need to provide de WSDL URL (end point) of the ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In Web Service but I can't find it on the soa manager. Or maybe I need to implement a WS by my own WB using the /BCV/CL_SIN_WS_BOM class?
    I appreciate if someone could help me with these SOA concepts.
    Thanks in advance,
    Abigail.

    Hi Abigal,
    In  SOAMANAGER , u can configure the logical port in 3 ways first it by WSDL and second by manually and third by PI.
    1. WSDL based :   URL will automatically determined using WSDL file.
    2. MANUAlly :   in this , we have to provide the URL .
    Thanks
    jitendra

  • How to open a port for CCTV on Router Cisco DDR2201v1

    Hello, I want to know how could I configure a Router Cisco DDR2201v1 for watching my CCTV System from anywhere with a internet connection. I already try to open a port in the NAT virtual server configuration but it didn't work. Could you help me please? Thanks
    Can anybody tell me what's wrong with this configuration. 

    Hi.
    Welcome to Cisco Home Community.
    Please follow this link, https://supportforums.cisco.com/   for the correct product category.
    Thanks.

Maybe you are looking for

  • Follow up on photo book quetion

    --When I then try to use these smaller photos in the photo book, I get the yellow warning that the photo "may print at too low quality". This is what concerns me.

  • CD / DVD drive is missing after upgrading to Windows 8

    My Toshiba laptop (SATELLITE P755-S5320 )  hard drive crashed and had to be replaced. I've got Windows 7 installed and am doing a Windows Update. But I fear that it won't install all the [correct] needed drivers. I see there is a huge list of Drivers

  • Can't rename event in iCal?

    Hi everyone! We're having quite a problem at our company common iCal. Aprox 20 different calendars are created and most is in use 5/7 days a week. During last week we suddenly discovered a new issue - we couldn't create new events. When double clicki

  • Nokia N97 software problem

    Hello!Yesterday I have updated my phone software from V11 to v12.When the phone automatically restarted the phone came up with the message:Update completed but the next message was "No connection avaiable".At to moment the WLAN fuction has completely

  • How do I identify and install latest RAW plug in for elements 10 for Sony A 7 mark 2

    How do I identify and install latest RAW plug in for elements 10 for Sony A 7 mark 2