WebService Response not resolvable

When my webservice run send(), it returns the following error
[WSDLError faultString="Element
http://tempuri.org/dcli.xsd:dgInfoWrapper
not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]
But dgInfoWrapper is the response element. Why
myWebService.send() requires the response element.
<element name="dgInfoWrapper">

<complexType>

<sequence>
<element name="vecDgInfo" type="dcli:dgInfoOutArray"
minOccurs="1" maxOccurs="1" nillable="false"/>
<element name="result" type="dcli:cmdResult" minOccurs="1"
maxOccurs="1"/>
</sequence>
</complexType>
</element>
operation name="getHostsByDg">
<documentation>Service definition of function
dcli__getHostsByDg</documentation>
<input message="tns:getHostsByDg"/>
<output message="tns:dgInfoWrapper"/>
</operation>
Thanks in advance for any help.

Hi,
To begin troubleshooting, you may check any monthly applications' running like update or anti-virus.
Thanks,
Gordon

Similar Messages

  • I want to extract part of webservice response(not entire response)

    Hi guys,
    I created one BPEL process in Oracle Jdeveloper.I am invoking some WSDL url to get the response.It is giving the response in below (example - I am giving some example format here) format:
    <data>
    <name> name1 <name>
    <type> type1 </type>
    </data>
    <data>
    <name> name2 <name>
    <type> type2 </type>
    </data>
    <data>
    <name> name3 <name>
    <type> type3 </type>
    </data>
    I am getting like above format.But I want to have the response depending on type (type2) like below.Basically I want to extract
    the below details from entire response:
    <data>
    <name> name2 <name>
    <type> type2 </type>
    </data>
    So that I want to map above format to another application required response format (using transform activity) like below:
    <appData>
    <appName> name>
    <appType> type>
    <appData>
    name ----- > appName
    type -----> appType
    So How can we do that?Can anybody help me on this?
    Edited by: 899283 on Jul 4, 2012 10:28 PM

    Hi guys,
    I am getting When I invoke the Secured webservice (which is in partner link), below error:
    remoteFault>
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s):
    'WSDL URL HERE'</summary>
    </part>
    <part name="detail">
    <detail>Unable to access the following endpoint(s):
    'WSDL URI HERE'</detail>
    </part>
    I red in one forum below solutions but I am not able to understand them:
    1 solution) Add the security policy named "oracle/wss_http_token_client_policy"
    For reference, create two binding properties
    1. oracle.webservices.auth.username
    2. oracle.webservices.auth.password
    For the above two properties, provide the appropriate values.....
    2 solution)
    Sending username and pass to a secure service being called from bpel itself ,simply add the partnerlink properties below and deploy your bpel.
    <partnerLinkBinding name="SecureWebService">
    <property name="wsdlLocation">SecureWebService.wsdl</property>
    <property name="basicHeaders">credentials</property>
    <property name="basicUsername">username</property>
    <property name="basicPassword">password</property>
    <property name="preemptiveAuthentication">false</property>
    </partnerLinkBinding>
    Can u anybosy help me to understand above points and tell me how to to set the HTTP authentication headers to a service in Composite?

  • DI Webservice - Response not well-formed XML & OBServer.dll failed extract

    Hi,
    My company just implement SAP B1 this year.
    So far, we encounter 2 issue :
       1. Every month we encounter "Response is not well-formed XML" using DI Server Webservice.
       2. Failed to extract OBServer.dll from CAB file (encounter also once a month)
    For issue 1, restart DI Server service will not help.
    I need to reboot the Windows OS to make it work again.
    For issue 2, restart DI Server service will help to solve the problem.
    But the question why this happening ?
    Please help.
    Thanks.

    Hi,
    To begin troubleshooting, you may check any monthly applications' running like update or anti-virus.
    Thanks,
    Gordon

  • Webservice response (XML response) with tag not mandatory

    Hello all,
    I have a problem with a webservice response.
    I implemented a wsdl who created some method to call webservices (Methox X, Y ,Z).
    I call the method 'X' with a table of string who have3 values in input, and I have in a  XML Answer of the webservice call that :
    <tag1> Value 1.1
    <tag2> Value 1.2
    <tag3> Value 1.3
    <message>OK
    <tag3> Value 2.3
    <message>KO
    <tag1> Value 3.1
    <tag2> Value 3.2
    <tag3> Value 3.3
    <message>OK
    Tags 1, 2 and 3 are not mandatory in wsdl (Min occurs = 0).
    In output of the method 'X' (created by wsdl implemantation) a ABAP structure with that :
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    Value 3.1 | Value 3.2 | Value 2.3 | KO
    No value. | No value. | Value 3.3 | OK
    I expect to have logically:
    ValueTag1 | ValueTag2 | ValueTag3 | message
    Value 1.1 | Value 1.2 | Value 1.3 | OK
    No value. | No value. | Value 2.3 | KO
    Value 3.1 | Value 3.2 | Value 3.3 | OK
    SAP put into the line 2of the structure, data of 3rd response because it dont found tag in the 2nd response.
    If i do my call, value by value and i concatenate anwsers, i have no problem.
    I dont understand the error and i cant find SAP note on the subject.
    Someone know ths problem ?
    Thanks.

    Hello,
    I have a wsdl file who describe webmethod and his parameters.
    I implemented this wsdl into a client proxy.
    SAP create automatically some CLASS, METHOD, STRUTURE.
    I call one of this method to ask the webservice.
    A XML flow sent and the webservice respond to me with a other XML flow.
    The XML flow response his automatically transforme by SAP, and i receive it into a structure in output of my method.
    Example :
    CREATE OBJECT XXX
      EXPORTING
        logical_port_name = `ZZZZ`.
    CATCH cx_ai_system_fault INTO fault.
      RAISE EXCEPTION fault.
    IF XXX IS BOUND.
      TRY.
        XXX->METHODYYY(
                EXPORTING
                   input =  ii_input
                IMPORTING
                   output = oo_output ).
       CATCH cx_ai_system_fault INTO fault1.
         RAISE EXCEPTION lr_fault1 .
       CATCH Error_ws INTO fault2.
         RAISE EXCEPTION lr_fault2.
       CATCH cx_ai_application_fault INTO fault3.
         RAISE EXCEPTION lr_fault3.
       CLEANUP.
      ENDTRY.
    ENDIF.
    METHODYYY was created by SAP with wsdl file.
    ii_input and oo_output and typed like structure in wsdl file.
    I can see XML flow and his content in SOAMANAGER transaction when i activate full trace.

  • WebService bad element / not resolvable

    Hi,
    I am trying to connect to a web service I have built with
    Java. When I send my web service request from Flex, I get the
    following error:
    [WSDLError faultString="Element
    http://geovista.psu.edu/campus:generateListImage
    not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::parseMessage()
    at mx.rpc.soap::WSDLOperation/parseMessages()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()
    at mx.rpc.soap::WebService/::unEnqueueCalls()
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc.soap::WSDLParser/dispatchEvent()
    at mx.rpc.soap::WSDLParser/::parseCompleted()
    I have read that this may be because Flex does not support
    import statements in the wsdl file. I am wondering if this is true
    or if I should be looking at another reason why my web service
    request is not working? If this is true, does anyone know of a
    workaround?
    Thanks,
    Scott

    Hello, everyone.
    (First, I'm sorry my poor English....
    Recentry, I saw the same situation.
    In my case, this error happends when the target WebService is
    based on
    .NET, using SQL Server & SQLXML3.0.
    I've been provided my WebServices based on these technology,
    and had no problem when I used
    Flex1.5 and Flex2.0.
    After updating my Flex Builder to
    2.0.1, this error happends.
    (I tried to test the same applications compiled by Flex
    Builder2.0 and Flex Builder 2.0.1, then, only the later one has the
    problem.)
    I find that only the "First" send is failed and any data is
    not send to the server.
    But the later send requests are not failed.
    So that I handle this problem with retrying when exception is
    happened.
    Like this:
    <mx:Webservice id="ws" .../>
    try {
    ws.send();
    } catch (e:Error) {
    // retry!
    ws.send();
    I wonder why this trouble comes after using Flex Builder
    2.0.1 and why another webservice are not failed....
    It seems this is caused from WSDL format but the WSDL is
    auto-generated by SQLXML, so I have no way to change the WSDL.
    Anyway, I manage to work my application like above.
    I hope this post is any help for you......

  • Could not resolve mx:DataGrid to a component implementation

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- dpcontrols/DataGridPassData.mxml -->
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        title="Jobs List">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.*;
                                  private var DGArray:Array = [
                                            {Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
                                            {Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
                                            {Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
                                            {Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
                                            {Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
                                            {Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
                                  [Bindable]
                                  public var initDG:ArrayList;
                                  //Initialize initDG ArrayList variable from the Array.
                                  //If you use this technique to process an HTTPService,
                                  //WebService, or RemoteObject result, use an ArrayCollection
                                  //rather than an ArrayList.
                                  public function initData():void {
                                            initDG=new ArrayList(DGArray);
                        ]]>
              </fx:Script>
              <!--s:states>
              <s:State name="loginState"/>
              <s:State name="State1"/>
              </s:states-->
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                          <fx:Component className="AlertMsgDay">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only TODAY."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
                        <fx:Component className="AlertMsgWeek">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only THIS WEEK."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
              </fx:Declarations>
              <s:BorderContainer x="10"  y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
                        <s:Scroller width="100%" height="363" verticalScrollPolicy="on">
                                  <s:Group width="100%" height="100%">
                                            <mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" >  <<<< THE ERROR IS HERE
                                                      <mx:columns>
                                                                <mx:DataGridColumn dataField="Lease" />
                                                                <mx:DataGridColumn dataField="Well" />
                                                                <mx:DataGridColumn dataField="Location" />
                                                                <mx:DataGridColumn dataField="Customer" />
                                                                <mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
                                                                <mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
                                                      </mx:columns>
                                            </mx:DataGrid>
                                  </s:Group>
                        </s:Scroller>
              </s:BorderContainer>
              <s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
                                   verticalAlign="middle"/>
              <s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
              <s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
              <s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
    </s:View>

    I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- dpcontrols/DataGridPassData.mxml -->
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        title="Jobs List">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.*;
                                  private var DGArray:Array = [
                                            {Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
                                            {Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
                                            {Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
                                            {Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
                                            {Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
                                            {Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
                                            {Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
                                            {Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
                                  [Bindable]
                                  public var initDG:ArrayList;
                                  //Initialize initDG ArrayList variable from the Array.
                                  //If you use this technique to process an HTTPService,
                                  //WebService, or RemoteObject result, use an ArrayCollection
                                  //rather than an ArrayList.
                                  public function initData():void {
                                            initDG=new ArrayList(DGArray);
                        ]]>
              </fx:Script>
              <!--s:states>
              <s:State name="loginState"/>
              <s:State name="State1"/>
              </s:states-->
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                          <fx:Component className="AlertMsgDay">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only TODAY."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
                        <fx:Component className="AlertMsgWeek">
                                  <s:SkinnablePopUpContainer x="70" y="300">
                                            <s:TitleWindow title="Filtering" close="close()">
                                                      <s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
                                                                <s:Label text="This button will filter jobs to show only THIS WEEK."/>
                                                                <s:Button label="OK" click="close()"/>
                                                      </s:VGroup>
                                            </s:TitleWindow>
                                  </s:SkinnablePopUpContainer>
                        </fx:Component>
              </fx:Declarations>
              <s:BorderContainer x="10"  y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
                        <s:Scroller width="100%" height="363" verticalScrollPolicy="on">
                                  <s:Group width="100%" height="100%">
                                            <mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" >  <<<< THE ERROR IS HERE
                                                      <mx:columns>
                                                                <mx:DataGridColumn dataField="Lease" />
                                                                <mx:DataGridColumn dataField="Well" />
                                                                <mx:DataGridColumn dataField="Location" />
                                                                <mx:DataGridColumn dataField="Customer" />
                                                                <mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
                                                                <mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
                                                      </mx:columns>
                                            </mx:DataGrid>
                                  </s:Group>
                        </s:Scroller>
              </s:BorderContainer>
              <s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
                                   verticalAlign="middle"/>
              <s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
              <s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
                                    fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
              <s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
    </s:View>

  • Send back IDOC ack with details  to  webservice response ?

    Hi Friends ,
    Can we send IDOC acknowledgment  as SOAP response . Our scenario is say for example create SO via Webservice call . Our requirement is to use IDOC only not RFC/BAPI etc . Even we know that IDOC is asynchronous we need to return the SO number which is created .So ,
    1. Can we get Ack with SO number which is created and map to Webservice response filed ? 
    Thanks .,
    V.Rangarajan

    Hi Rangrajan,
    You Have to Identify in which Idoc you want to get the response back in R3 then Map Response of Webservice that contains SO to the idoc identified and you well get all the things you require in R3.
    Let me make few things clear:
    You have to use BPM for this
    ALEAUD is for IDOC acknowledgment not for Idoc response (There is difference between ack and response). So it will not serve your purpose.
    Report IDX_ALEREQUEST is to convert the idoc acknowledgment (ALEAUD) to XML formate.
    Thanks
    Sunil Singh

  • 2008 R2 DNS does not resolve external websites until I clear DNS cache

    Do I need to apply this hotfix
    http://support.microsoft.com/kb/2508835/en-us
    MCSE Certified

    Thank you for posting the ipconfig /all, but we can't use it since the relevant data that we need to evaluate has been blocked out. I can understand if you have a strong security policy.
    The Conditional Forwarders shouldn't be causing you to not to resolve specific domain names.
    How long has this been going on?
    What exactly occurs? Does DNS stops totally responding when you test it with nslookup, or are you just testing it with Internet Explorer?
    If you have nslookup tests and responses, it may be helpful to see them, but if your security policy prevents you from posting them, I understand.
    I'm curious about this part that you posted:
    > "And as suggested by microsoft
    > earlier,we have blocked few DNS
    > Domains by creating conditional
    > forwarders , pointing to
    > our another domain."
    Did you open a ticket with Microsoft support that provided this suggestion? If yes, you can email your support engineer that assisted you.
    Or did you post this in this forum or elsewhere that you received this suggestion? If a forum post, do you have a link?
    Without specifics, it may be difficult to assist. However, what I can provide are the following hotfixes. The second one you had already installed. I suggest and recommend to install the others.
    1. DNS Server service does not use root hints to resolve external names in Windows Server 2008 R2
    Post Windows 2008 R2 SP1 HOTFIX available.
    APPLIES TO •Windows 2008 R2 Datacenter •Windows 2008 R2 Ent •Windows 2008 R2 Std.
    Requires a restart.
    http://support.microsoft.com/kb/2616776
    2. DNS Server service does not resolve some external DNS names after it works for a while in Windows Server 2008 R2
    Hotfix release - (released 4/15/2011)
    http://support.microsoft.com/kb/2508835
    3. Windows 2008 -
    DNS queries for external domains are not resolved when you use Conditional Forwarding in Windows Server 2008
    Post Windows 2008 SP2 Hotfix available
    Requires a restart.
    http://support.microsoft.com/kb/2625735/
    4. DNS server stops responding to DNS queries from client computers in in Windows Server 2003, in Windows Server 2008 or in Windows Server 2008 R2 - Post Service Pack Hotfix available.
    Does not require a restart.
    http://support.microsoft.com/kb/2655960
    If the above do not help or provide improvements, I highly suggest to contact Microsoft Support for specific assistance. Here's the link if you decide that you need to go with this option:
    http://support.microsoft.com/contactus/
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • TextLayout.swc does not resolve to valid file

    Hi, I have not worked in Flash for awhile and have spent way too long just adding a link to a simple button. I have scoured the web looking for AS3 button examples and tried them all. No matter what I try, I keep getting the following error when I publish. When I try to click the link in the swf on my html page it doesn't link to anything and just goes back to the collapsed state of the flash file.
    Here is the error:
    Warning: Library path "$(AppConfig)/ActionScript 3.0/libs/11.0/textLayout.swc" does not resolve to a valid file.
    Perhaps I should mention that I am currently evaluating Adobe Cloud versions, trying to decide if I'm going to be purchase the membership. Not sure if that matters but thought I'd mention it.
    Thanks.

    Thanks for the response. I actually shouldn't have any text fields at all (which is another reason I thought it was a strange error). I'm using an expanding ad template with a library that only consists of only graphics. I don't see any text fields in symbols or movie clips at all.  I was looking to try to set it back to Flash 9 but it doesn't look like that is even an option with Flash CC. The farthest back I can go is 10.  Hmmm. Kind of stumped at the moment.

  • WSDL for Provided Web Service does not resolve in IE

    Hi,
    After successfully providing a Web Service in FSCM 9/PT 8.49, I copied the generated WSDL URL in IE I was unable to view the WSDL. In-fact I cannot view any of the OOB WSDL's using the URL which PS generates after successfully posting it to the WSDL repository.
    Any thoughts Please.
    Thank You
    Prashant

    Hi Nicolas,
    The URL that i am currently using is "http://localhost:8280/PSIGW/PeopleSoftServiceListeningConnector/SALES_ORDER_LOAD.1.wsdl
    And when I paste this in IE I get the following response...
    &lt;![CDATA[ Unable to find a Routing corresponding to the incoming request message.  ]]&gt;
    Status Code 20 & MessageID - 505 ... I could not paste the actual SOAP Fault message, as the Rich Text format was not resolving it correctly...
    And on the Web Server window it says "[Fatal Error] :1:1: Content is not allowed in prolog.
    I did lookup this particular error message for Weblogic and what I could make out is that the XML doc being provided has additional BOM Objects which need to stripped..
    Below is the snippet from the +<strong
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    com.peoplesoft.pt.integrationgateway.common.GeneralFrameworkException
    at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftServiceListeningConnector.service(PeopleSoftServiceListeningConnector.java:361)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.peoplesoft.pt.integrationgateway.common.IBFilter.doFilter(IBFilter.java:69)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Message-ID: &lt;5852381.1229014948625.JavaMail.CipherXP@cipher-b194ccb8&gt;
    Date: Thu, 11 Dec 2008 22:32:28 +0530 (IST)
    Mime-Version: 1.0
    Content-Type: multipart/related;
    boundary="----=_Part_40_130942.1229014948609"
    Content-ID: PeopleSoft-Integration-Broker-Internal-Mime-Message
    PeopleSoft-ToolsRelease: 8.48
    ------=_Part_40_130942.1229014948609
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: IBInfo
    &lt;?xml version="1.0"?&gt;&lt;IBInfo&gt;&lt;ExternalOperationName&gt;&lt;![CDATA[GetWSDL]]&gt;&lt;/ExternalOperationName&gt;&lt;HttpSession&gt;&lt;SessionID&gt;&lt;![CDATA[]]&gt;&lt;/SessionID&gt;&lt;/HttpSession&gt;&lt;From&gt;&lt;WSA-ReplyTo&gt;&lt;![CDATA[]]&gt;&lt;/WSA-ReplyTo&gt;&lt;WSA-MessageID&gt;&lt;![CDATA[]]&gt;&lt;/WSA-MessageID&gt;&lt;/From&gt;&lt;QStrArgs&gt;&lt;QStrArg&gt;&lt;Name&gt;&lt;![CDATA[wsdl]]&gt;&lt;/Name&gt;&lt;Value&gt;&lt;![CDATA[SALES_ORDER_LOAD.1]]&gt;&lt;/Value&gt;&lt;/QStrArg&gt;&lt;/QStrArgs&gt;&lt;ContentSections&gt;&lt;ContentSection&gt;&lt;ID&gt;ContentSection0&lt;/ID&gt;&lt;NonRepudiation&gt;N&lt;/NonRepudiation&gt;&lt;Headers&gt;&lt;Accept&gt;&lt;![CDATA[image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-shockwave-flash, */*]]&gt;&lt;/Accept&gt;&lt;Accept-Language&gt;&lt;![CDATA[en-us]]&gt;&lt;/Accept-Language&gt;&lt;UA-CPU&gt;&lt;![CDATA[x86]]&gt;&lt;/UA-CPU&gt;&lt;Accept-Encoding&gt;&lt;![CDATA[gzip, deflate]]&gt;&lt;/Accept-Encoding&gt;&lt;User-Agent&gt;&lt;![CDATA[Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)]]&gt;&lt;/User-Agent&gt;&lt;Host&gt;&lt;![CDATA[localhost:8280]]&gt;&lt;/Host&gt;&lt;Connection&gt;&lt;![CDATA[Keep-Alive]]&gt;&lt;/Connection&gt;&lt;/Headers&gt;&lt;/ContentSection&gt;&lt;/ContentSections&gt;&lt;IBProfileInformation&gt;&lt;AppServer&gt;&lt;TransformInbound&gt;0&lt;/TransformInbound&gt;&lt;OnRoutePeopleCode&gt;0&lt;/OnRoutePeopleCode&gt;&lt;OnRequestPeopleCode&gt;0&lt;/OnRequestPeopleCode&gt;&lt;TransformOutbound&gt;0&lt;/TransformOutbound&gt;&lt;DataBase&gt;0&lt;/DataBase&gt;&lt;AppServerSendTime&gt;0&lt;/AppServerSendTime&gt;&lt;AppServerRecvTime&gt;0&lt;/AppServerRecvTime&gt;&lt;/AppServer&gt;&lt;GatewayRequest&gt;&lt;Connector&gt;0&lt;/Connector&gt;&lt;Transform&gt;0&lt;/Transform&gt;&lt;GatewayTime&gt;0&lt;/GatewayTime&gt;&lt;/GatewayRequest&gt;&lt;GatewayResponse&gt;&lt;Transform&gt;0&lt;/Transform&gt;&lt;GatewayTime&gt;0&lt;/GatewayTime&gt;&lt;/GatewayResponse&gt;&lt;/IBProfileInformation&gt;&lt;AttachmentSection ResponseAsAttachment="N"&gt;&lt;/AttachmentSection&gt;&lt;/IBInfo&gt;
    ------=_Part_40_130942.1229014948609
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: ContentSection0
    &lt;?xml version="1.0"?&gt;
    ------=_Part_40_130942.1229014948609--
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Message-ID: &lt;12927846.1229014948625.JavaMail.CipherXP@cipher-b194ccb8&gt;
    Date: Thu, 11 Dec 2008 22:32:28 +0530 (IST)
    Mime-Version: 1.0
    Content-Type: multipart/related; boundary="Integration_Server_MIME_Boundary"
    Content-ID: PeopleSoft-Integration-Broker-Internal-Mime-Message
    PeopleSoft-ToolsRelease: 8.48
    --Integration_Server_MIME_Boundary
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: IBInfo
    &lt;?xml version="1.0"?&gt;&lt;IBInfo&gt;&lt;Status&gt;&lt;StatusCode&gt;20&lt;/StatusCode&gt;&lt;MsgSet&gt;158&lt;/MsgSet&gt;&lt;MsgID&gt;505&lt;/MsgID&gt;&lt;DefaultMsg&gt;Unable to find a Routing corresponding to the incoming request message.&lt;/DefaultMsg&gt;&lt;/Status&gt;&lt;AttachmentSection ResponseAsAttachment="N"&gt;&lt;/AttachmentSection&gt;&lt;/IBInfo&gt;
    Integration_Server_MIME_Boundary
    Thank You for your help
    Prashant

  • WebService response charset problems

    Some time ago I posted a problem regarding unicode characters in WebService
    responses from WL7.0. I received a patch that helped partially - after the
    patch was applied, WL no longer threw any exception when an utf character
    was included in the response. So far so good.
    However, a problem arises when I call the WebService from a .NET client;
    .NET doesn't understand that the response is utf-8 encoded, so when the
    response is deserialized on the client side the encoded characters (such as
    å, ä, ö) come out as question marks. It seems that the Content-Type header
    doesn't specify the correct charset (I would expect something like
    'Content-Type:text/xml; charset=utf-8', but the charset=... part seems to be
    missing)
    By fiddling about a bit with the .NET generated proxy class I managed to
    force .NET to think that the Content-Type mime header does in fact contain
    the correct value (quite messy - I can supply the code if anyone should be
    interested). However, this should not be necessary - the solution I came up
    with is awkward and the only thing needed is that the correct Content-Type
    header be included in the WebService response. Is there a way to specify a
    default value for this?
    I tried creating a handler to intercept the response and set this specific
    mime header, but no luck - the value I set seems to be ignored (i tried
    ctx.getMessage().getMimeHeaders().setHeader("Content-Type", "text/xml;
    charset=utf-8");, as well as ...addHeader()). Besides, even if this did work
    it would seem unnecessarity complicated to create a handler and set it to
    handle all the methods in my WebService (there are quite a few).
    Any ideas?
    /Mattias Arthursson
    Compost Marketing

    This problem should be fixed in SP1. If the system property
    user.lang is not english, then SP1 will use utf-8 as charset
    (I think this will be your case).
    In SP1 you can also set a system property to change charset :
    weblogic.webservice.i18n.charset="my-char-set"
    regards,
    -manoj
    "Mattias Arthursson" <[email protected]> wrote in message
    news:[email protected]...
    Some time ago I posted a problem regarding unicode characters inWebService
    responses from WL7.0. I received a patch that helped partially - after the
    patch was applied, WL no longer threw any exception when an utf character
    was included in the response. So far so good.
    However, a problem arises when I call the WebService from a .NET client;
    .NET doesn't understand that the response is utf-8 encoded, so when the
    response is deserialized on the client side the encoded characters (suchas
    å, ä, ö) come out as question marks. It seems that the Content-Type header
    doesn't specify the correct charset (I would expect something like
    'Content-Type:text/xml; charset=utf-8', but the charset=... part seems tobe
    missing)
    By fiddling about a bit with the .NET generated proxy class I managed to
    force .NET to think that the Content-Type mime header does in fact contain
    the correct value (quite messy - I can supply the code if anyone should be
    interested). However, this should not be necessary - the solution I cameup
    with is awkward and the only thing needed is that the correct Content-Type
    header be included in the WebService response. Is there a way to specify a
    default value for this?
    I tried creating a handler to intercept the response and set this specific
    mime header, but no luck - the value I set seems to be ignored (i tried
    ctx.getMessage().getMimeHeaders().setHeader("Content-Type", "text/xml;
    charset=utf-8");, as well as ...addHeader()). Besides, even if this didwork
    it would seem unnecessarity complicated to create a handler and set it to
    handle all the methods in my WebService (there are quite a few).
    Any ideas?
    /Mattias Arthursson
    Compost Marketing

  • 08004:[oracle][odbc][ora]ora-12154: TNS: could not resolve the connect ....

    This error has just recently started happening, and i cannot figure out why, i have not changed anything in tnsnames.ora file.
    i am always able to "test connection" in ODBC. even when i get the error in crystal.
    so i restart Crystal, and i am able to connect to db.
    strange thing is that always when i do a tnsping to db i always get the message :-
    TNS-12541: TNS:no listener
    Any ideas ?

    Re: 08004:[oracle][odbc][ora]ora-12154: TNS: could not resolve the connect ....  
    Posted: Aug 22, 2011 5:56 PM     in response to: John Fleming          
         Edit                          Reply
    I am receiving a similar error.
    Failed to open the connection.
    Details: 08004:[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified [Database Vendor Code: 12154]
    I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
    I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
    Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
    Thank you for your time.

  • ORA-12154 could not resolve the connect indentifier specified

    [http://www.freeimagehosting.net/image.php?793d240bb3.jpg]
    when i try to install oracle 10g i find this problem i wish you help me

    user473080 wrote:
    [http://www.freeimagehosting.net/image.php?793d240bb3.jpg]
    when i try to install oracle 10g i find this problem i wish you help meIn the future please work from a command line and use copy and paste to put commands and results in your posts. Many people's corporate nets block access to blog sites.
    I have recently blogged extensively on this very subject. See edstevensdba.wordpress.com. I can't post a link to the exact article, because my corporate website blocks access to blog sites. I have also, many many times posted on this error in this forum, which a cursory search would have turned up. But once again, back by popular request:
    =================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Finding it, tns sends a request through the normal network stack to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the standard networking process delivers the message to port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, the listener will spawn a server process to act as the intermediary between your client and the database instance. Communication to the server process will be on a randomly selected available port. At that point the listener is out of the process and continues to user port 1521 to await other connection requests.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • URGENT ::  ORA-12154: TNS:could not resolve service name

    Hi All,
    I am connecting to the db using oracle thin driver in java. I am invoking a SOAP call and after getting the response, i am inserting the response(gen. a pdf file) into my DB. I am using a static connection. I have to insert 130 pdf's in DB. After processing 120 pdf's, the following error has occurred,
    ERROR DBUtil - ORA-12154: TNS:could not resolve service name
    java.lang.NullPointerException
         at com.elsevier.cds.ew.DBUtil.insertPDF(Compiled Code)
         at com.elsevier.cds.ew.GenerateSoapRequest.generateSOAPCall(Compiled Code)
         at com.elsevier.cds.ew.EOffprintLoad.processPDFFiles1(Compiled Code)
         at com.elsevier.cds.ew.EOffprintLoad.init1(Compiled Code)
         at com.elsevier.cds.ew.EOffprintLoad.<init>(EOffprintLoad.java:138)
         at com.elsevier.cds.ew.EOffprintLoad.main(EOffprintLoad.java:987)
    ERROR GenerateSoapRequest -
    ERROR DBUtil - ORA-12154: TNS:could not resolve service name.
    The checked the oracle listener status. It was UP.
    Can anyone help me in this issue.
    Thanks,
    Rag

    Hello,
    Make sure that the service which you have specified in jdbc for making connection with oracle, exists in TNSNAMES.ORA file. You will find this file at different locations in 8i and above. So, better search for it. And add you service name in it. Example services is given in this file itself. So, take help from them.

  • TNS:could not resolve the connect identifier specified

    I am at the end of my rope and I would really appreciate some assistance.
    I get the error: "TNS:could not resolve the connect identifier specified " from my ASP pages and "Warning: oci_connect() [function.oci-connect]: Error while
    trying to retrieve text for error ORA-12154" when connecting from php pages.
    I am trying to access these pages from the same server as the database.
    I manage to connect to the database homepage, but only after I manually stop and start the database after a restart (why?).
    I have been reading forums and I have been googling for days. I think this is what you guys need to know to be able to help me.
    General information:
    Oracle Database 10g Express Edition Universal
    Windows Server 2003 Standard SP 1
    IIS 6
    PHP Version 5.1.2
    ASP allowed "normal" scrips runs ok
    Php Allowed "normal" scrips runs ok
    system variable path
    C:\oraclexe\app\oracle\product\10.2.0\server\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\php;C:\instantclient_10_2
    (server has been rebooted since last editing)
    IUSR_Curium has full control on following folders including subfolders:
    c:\windows\temp
    C:\oraclexe
    C:\instantclient_10_2
    IWAM_Curium
    IUSR_Curium has full control on following folders including subfolders:
    c:\windows\temp
    C:\oraclexe
    C:\instantclient_10_2
    HTTP access is set to "Available from local server and remote clients"
    All oracle related services except OracleJobSchedulerXE is set to Automatic and is in status started
    I can ping curium and i get a response from the server's public IP-Adress
    I can ping localhost and i get a response from 127.0.0.1
    This is my connection in ASP:
    Set OraConn = Server.CreateObject("ADODB.Connection")
    Oraconn.ConnectionString = "Driver={Microsoft ODBC for Oracle};Server=xe;Uid=hr;Pwd=hr;"
    ASP connection gives the following error:
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
    /asptest/test.asp, line 5
    This is my connection in php
    $conn = oci_connect('hr', 'hr', 'xe');
    PHP connection gives the following error:
    Warning: oci_connect() [function.oci-connect]: Error while trying to retrieve text for error ORA-12154 in c:\Inetpub\wwwroot\index1.php on line 3
    Error while trying to retrieve text for error ORA-12154
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-MAR-2006 22:09:01
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 21-MAR-2006 20:57:04
    Uptime 0 days 1 hr. 11 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=curium)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=curium)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-MAR-2006 22:11:39
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:38 refused:0 current:24 max:1002 state:ready
    DISPATCHER <machine: CURIUM, pid: 1972>
    (ADDRESS=(PROTOCOL=tcp)(HOST=curium)(PORT=1045))
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    C:\>tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-MAR-2
    006 22:14:10
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = curium)(
    PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (10 msec)
    C:\>sqlplus system/xxxxx as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Ti Mar 21 22:15:38 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    C:\>sqlplus hr/hr@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Ti Mar 21 22:15:21 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    C:\>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Ti Mar 21 22:15:02 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Litener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = curium)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    sqlnet.ora
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (nts)
    tsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = curium)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Sorry for the long post....
    Best regards
    Roy-Christian Natland
    Norway

    Great post - it has nearly everything needed for diagnosis. Well done.
    The database is working, and the listener is listening. The successful tnsping to XE shows me that the client subsystem (at least in the oraclexe) path is set up correctly.
    However, two other non-oracle clients (ASP and PHP) cannot see the definition for the XE server. This suggests to me that something is pointing them to another Oracle client software set up
    I note that you have C:\instantclient_10_2 in your path - so presumably you had/have installed Instant Client on this machine as well ?
    Given that you are on the server box, I don't think you need the Instant Client set up. It's possible that this is what is misdirecting the other clients you are suing. Try taking this out of your path.
    If that doesn't work, can you provide the output of a SET command issued from the command line.

Maybe you are looking for

  • How to order the photos in a slideshow

    how to order the photos in a slideshow

  • File Chooser--not JFileChooser, but WIndows style

    I once saw in a Java program a file opener that didn't use the less-than-perfect JFileChooser, but rather the standard Windows file opener. Anyone know how to do this, what it was?

  • Missing Components in Flash CS 5.5

    I'm using CS 5.5 in a 64 bit Windows environment.    Clicking on WINDOW>COMPONENTS pops up a window that only has a "video" folder option.   Am missing the "data", "media" and user interface" components.    Where can I access these?  I'm just trying

  • Changing package assigned to EEW Development

    Hello all. One of our developers has assigend an incorrect package when creating an extensing in the easy enhancement workbench.  We cannot re-assign the package to a "Z" one.  When we try to delete the extension in the EEW we get the error message "

  • Fonts not recognized in Dreamweaver

    I have purchased and downloaded Linotype fonts from fonts.com (webfonts) and installed the TTF on my system for mocking up and building out websites. The fonts display in the font list and work just fine in Photoshop and Illustrator, but when I move