Calling a Webservice  from other Webservice

Hi,
am using oracle appserver R3 & oc4j10.1.3 with build in1.5...._b05. I have deployed a webservice as application A .it got deployed and tested successfuly. Now i writen Webservice B which will call the previous webservice A.
am following wsdl to java approch for creating webservice.
But's it failing at the following code execution
_port = ((com.iflex.fcubs.gw.ws.types.FCUBSCustomerService)factory.loadService(com.iflex.fcubs.gw.ws.types.FCUBSCustomerService.class)).getFCUBSCustomerServiceSEI();
Exception is
java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/util/localization/Localizable
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.iflex.adap.GWOC4JWebServiceInvoker.callService(GWOC4JWebServiceInvoker.java:40)
and i downloaded wsclient_extended.zip took the jar file out of that and put in webservice\lib and applib directories.
Now am get in other excepiton in same code..
new Exception Trace is :
java.lang.LinkageError: loader constraints violated when linking oracle/webservices/transport/ClientTransport class
at com.iflex.fcubs.gw.ws.types.runtime.FCUBSCustomerService_Impl.getFCUBSCustomerServiceSEI(FCUBSCustomerService_Impl.java:60)
at com.iflex.adap.GWOC4JWebServiceInvoker.callService(GWOC4JWebServiceInvoker.java:51)
at com.iflex.adap.seibel_wrapper.wrapper(seibel_wrapper.java:52)
line @#60 of FCUBSCustomerService_Impl
com.iflex.fcubs.gw.ws.types.runtime.FCUBSCustomerService_Stub stub = new com.iflex.fcubs.gw.ws.types.runtime.FCUBSCustomerService_Stub(handlerChain);
Please this is very urgent.. look for more help..
please........ help me to come out from the proplem..
Thankfully,
Bogi

I have done this before, essentially all the webservice should have to do is access the generated client stub for the web service it is calling.
Web service #1
+ business logic
+ client stub to Web service ----------------------------------------> Web service #2
I think you need to package all the classes used by the Web service client into the your Web service's EAR.
I tried this in JDev and I was able to do it very quickly. I created a project and generated a Web service client stub to access the target Web Service (#2). After I was satisfied that it worked, I created the JAX-RPC based Web service. In JDev this is fairly simple. Just create an interface that extends java.rmi.remote, and a implementation of the interface. Afterwards right click on the class and JDev will bring up a dialog box, one of the options is to generate a Web service.
I did this all within the context of a single JDev project. This way I didn't have any issues with packaging two separate applications. In one of my methods of my Web service I would call the Web service using the generated client stub.
In a separate project I generated a client to access the Web service (#1).

Similar Messages

  • 3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.Ho can we change this so our phone information isn't visible to each other?

    3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.How can we change this so our phone information isn't visible to each other?

    Use separate Apple IDs for each family member and use Family Sharing features of those things (if any) that you do want to share. https://www.apple.com/ios/whats-new/family-sharing/

  • Canu00B4t call an EJB from other EJB

    Hi developers,
    I need do the next task :
    I have a EJB in an EAR and i need call some functionality from other EJB in diferent EAR , when execute the code show the next message error:
    java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method generaMDMOutput.
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:135)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0p4_Skel.dispatch(CustomerIncObjectImpl0p4_Skel.java:127)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java(Compiled Code))
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java(Inlined Compiled Code))
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: java.lang.ClassCastException: com.sap.engine.interfaces.cross.ObjectReferenceImpl
         at com.sapconsulting.customer.inc.CustomerIncBean.generaMDMOutput(CustomerIncBean.java:141)
         at com.sapconsulting.customer.inc.CustomerIncObjectImpl0.generaMDMOutput(CustomerIncObjectImpl0.java:119)
         ... 11 more
    the code to invoke the EJB is the next:
    ctx = new InitialContext();
    TestEJBLocalHome home = (TestEJBLocalHome) ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");
                   TestEJB servicio=(TestEJB)home.create();
    the EJB are in the same server , please help,
    regards

    Hi Siarhei,
    thank's for your answers , i'll explain the scenario , i think i copied wrong the code that i have ,
    i have two EAR's applications , i want to call one EJB from the other EJB in other EAR , the call have to be remote , my code is the next :
    ctx = new InitialContext();
    Object obj = ctx.lookup("sap.com/TestEJB_ear/TestEJBBean");  
    TestEJBHome home = (TestEJBHome) PortableRemoteObject.narrow(obj,TestEJBHome.class);
    TestEJB servicio= home.create();
    i've confugured the ejb-xml.jar adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.innovativesystems.onl.TestEJBHome</home>
    <remote>com.innovativesystems.onl.TestEJB</remote>
    </ejb-ref>
    I've configured the  ejb-j2ee-jar.xml adding
    <ejb-ref>
    <ejb-ref-name>ejb/TestEJBBean</ejb-ref-name>
    <jndi-name>sap.com/TestEJB_ear/TestEJBBean</jndi-name>
    </ejb-ref>
    I've configured the application-j2ee-engine.xml adding a hard reference
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="application">TestEJB_ear</reference-target>
    </reference>
    with all this configuration still send me the message java.lang.classcast ,
    something is missing????  ,
    regards

  • Call proxy service from other proxy service with attachment

    Hi!
    I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
    But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
    +<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
    So the attachment is really empty...
    I use service callout. I put an insert action in request action of service callout:
    In Variable:
    attachments
    XPath:
    +.+
    Location:
    as first child of
    Expression:
    +<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
    +     <con:Content-Type>application/octet-stream</con:Content-Type>+
    +     <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
    +     <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding>     +
    +     <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
    +</con:attachment>+
    Why cannot I call this email proxy service from other proxy service for sending email with attachment?
    I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
    Thanks!
    Viktor

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • How to call a EJB from other computer

    Hi,
    I'm beginer to EJB, and I take a book and complete an example. The example has a stateless EJB on the server side, and a client class.
    the client code is like this:
    import javax.naming.Context;     
    import javax.naming.InitialContext;     
    import javax.rmi.PortableRemoteObject;     
    import java.math.BigDecimal;     
    //import Converter;     
    //import ConverterHome;     
    public class ConverterClient {     
    public static void main(String[] args) {     
    try {     
    Context initial = new InitialContext();     
         Object objref = initial.lookup ("java:comp/env/ejb/SimpleConverter");//what to do here??
    ConverterHome home =      
    (ConverterHome)PortableRemoteObject.narrow(objref,      
    ConverterHome.class);     
    Converter currencyConverter = home.create();     
    BigDecimal param = new BigDecimal ("100.00");     
    BigDecimal amount =     
    currencyConverter.dollarToYen(param);     
    System.out.println(amount);     
    amount = currencyConverter.yenToEuro(param);     
    System.out.println(amount);     
    System.exit(0);     
    } catch (Exception ex) {     
    System.err.println("Caught an unexpected exception!");     
    ex.printStackTrace();     
    I want to run the client class from other machine.
    how to complete the following piece of code for making the remote connection:
    Context initial = new InitialContext();     
    Object objref = initial.lookup ("java:comp/env/ejb/SimpleConverter"); //what's the string supousing the server machine name is "server"??
    Thanks a lot!!!
    George

    Thanks, but gimme pls. the URL...I've go to J2EE FAQ
    but there are only 13 questions....
    Thanks !The link to all the FAQs is on the left side of this page.

  • Call string/ action from other movieclip?

    on the mainTimeline if have a movieclip.
    inside this movieclip i have a script that loads text from database.
    what important note is:
    var myPageText: String
    now if i place inside this movieclip a other label further in the time, and create a action to call out myPageText like:  my_input_text.htmlText = myPageText;
    this works fine
    now i want this to work inside a other movielip in other scene.
    is it possible to call myPageText???

    if you save your fla as a temp fla (so you don't change the only you're working on), comment out or remove all the actionscript and remove all the components, if any, you should be able to change your publish settings to as2 and use:
    trace("from: "+this);
    on the timeline that you want to use to reference that variable and use the trace("to: "+this) statement on the timeline that contains that variable.  paste the resulting output and i can tell you the path you should use, assuming all your movieclips are created in the authoring environment.

  • Call an action From Other View

    Hi all,
    I have two views view1 and view2. View1 also have an action Action1, View2 have Action2. I wanna call Action1 from view2(action2) . Is it possible ? How can i do that ? View1 and view have different contexts.
    Regards,
    Orhan

    >
    goktasor wrote:
    > there are lots of contextes i need to find a different way.
    You have to consider that you are likely designing your Web Dynpro Components incorrectly.  If you have large views with large local contexts then these should probably be separate Web Dynpro Components.  Otherwise your views should be largely empty, delegating most of their processing to the component controller so that cross view data and eventing is handled there.

  • Calling the RFC from other system.

    Hi Everybody.
    I have two systems.One is ECC and other is SAP R/3.
    I have created one RFC in SAP R/3 system and I am calling this
    RFC fom ECC system.On click of one button,I have to show some
    fields from the RFC onto the screen of WDA .
    How can I achieve it ? Is there any code for that or some link
    available for that.
    Thanks In Advance.

    hi vaibhav...
             using rfc you will be calling a function module in r/3. so it will return some exporting parameters, bind it to the attributes that are created in the context or
           create a destination in ecc6 to call the r/3 system .u se service call and mention that destination while creating it.
    ---regards,
       alex b justin

  • Calling oAf page from Other non OAf pages

    Hi the requirement is to call a specific OAF page from email notification.But when the page is accessed from application few paramters are appended to the page url like &ti,&mi,&oas etc and the value of these parameters keep on changing as and when a new session is opened.
    Thanks

    Hi Sumit ,
    I have requirement where i need to send a notifications to an user with link with parameter like task num and other params when user click on this link it need to open an Custom page based on this parameters. we are generating url link from one database function for the page function such that it generates url for that and user clicks on that it opens the corresponding page but this uis happening when we r not using parameters but we want with parameters.
    Plz reply ASAP.
    Thanks.

  • Calling a dimension from other dimension

    Hi ALL,
    I am creating a repository and i have created 2 dimensions.
    One is Instrument Dimension, second one is Currency dimension.
    Is it possible to call the level of one dimension from the other dimension.
    I am doing like this:
    Instrument Dimension
    Total Instrument-->Instrument type-->Instrument Name
    Currency Dimension
    Total Currency--> Currency
    Now in the Currency Dimension, Could i call the child level of currency to Instrument name level of Instrument Dimension.
    If it is possible then how to do that?
    Thanks

    Hi,
    may be, preferred drill paths could help.
    In administrator edit the logical level object of the dimension from where you want to drill FROM. (I guess in your case it is the Currency)
    Select "Prefered drill path" tab, choose "Add" and select the logical level of the dimension you want to drill TO. (in your case instrument name)
    Good luck - Mike

  • Calling object methods from other objects

    ok im trying to build a little windows application which shows a few thumbnails of pictures in a folder.
    I have a mainForm class that runs all the jFrame and menus, status bar etc, it has 2 jPanes, one with a jTree that browses the directories and the other is set blank and adds a few custom component objects depending on how many images are in the directory it does contains a few objects all from one custom component class that shows an image and a label below it.
    What i want to do is call the mainForm statusbar from within my custom component class. I have tried many things but cant seem to do it.
    How do i do this in java? or can anyone point me in the right direction for some reading material, websites etc?
    thanks

    if i have correctly understood what you are asking (big assumption)...
    you could just pass a reference to the main form into the custom class when you construct it (the custom class) - but this introduces unnessary coupling between the two classes and this approach will quickly get messy and hard to maintain.
    a better approach is to use the Mediuator pattern.
    have a look at
    www.mindspring.com/~mgrand/pattern_synopses.htm for example.

  • Help with GUI (calling one class from other class)

    Hi everybody,
    I am new at GUI and I need your help..
    I have a JPanel, named "holdAll", layout of which is set to BorderLayout. I have implemented all other JPanels in different class files. For example, I have TopPanel, LeftPanel, etc. as shown below
    LeftPanel myLeft = new LeftPanel();
    holdAll.add(myLeft, BorderLayout.WEST);
    RightPanel myRight = new RightPanel();
    holdAll.add(myRight, BorderLayout.EAST);
    TopPanel myTop = new TopPanel();
    holdAll.add(myTop, BorderLayout.NORTH);
    MiddlePanel myMiddle = new MiddlePanel();
    holdAll.add(myMiddle, BorderLayout.CENTER);
    BottomPanel myBottom = new BottomPanel();
    holdAll.add(myBottom, BorderLayout.SOUTH);
    That works well but I have difficulties in ActionListeners.. For example, in my TopPanel class I have the code below:
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() == btnInsert) {
    int returnVal = fc.showOpenDialog(fc);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File file = fc.getSelectedFile();
    myImage newImage = new myImage(file);
    System.out.println(newImage.myHashCode());
    Here, if I have upload new image, then I have to update the listImage in the LeftPanel class.. But, I could not access the lstImage object in the LeftPanel class from the actionListener event in the TopPanel class.
    What should I do? Is my design poor?

    public class TopPanel extends JPanel implements ActionListener { //it doesn't allow "extends JPanel, Observable"
    JFileChooser fc;
    JButton btnInsert;
    JButton btnDelete;
    public TopPanel() {
    setLayout(new FlowLayout());
    setBorder(BorderFactory.createBevelBorder(1, Color.WHITE, Color.GRAY));
    btnInsert = new JButton("Insert");
    btnDelete = new JButton("Delete");
    JLabel myLabel = new JLabel(" Search : ");
    JTextField txtSearch = new JTextField();
    txtSearch.setColumns(20);
    JToolBar searchToolBar = new JToolBar();
    fc = new JFileChooser();
    btnInsert.addActionListener(this);
    searchToolBar.add(btnInsert);
    searchToolBar.add(btnDelete);
    searchToolBar.add(myLabel);
    searchToolBar.add(txtSearch);
    add(searchToolBar);
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() == btnInsert) {
    int returnVal = fc.showOpenDialog(fc);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File file = fc.getSelectedFile();
    *//Here I want to send fc.GetName() to the JList in the LeftPanel*
    my LeftPanel class is below:
    public class LeftPanel extends JPanel{
    public LeftPanel(){
    this.setLayout(new BorderLayout());
    setBorder(BorderFactory.createBevelBorder(1, Color.WHITE, Color.GRAY));
    JPanel pnlButtons = new JPanel();
    JButton btnName = new JButton("Name");
    JButton btnSize = new JButton("Size");
    JButton btnDate = new JButton("Date");
    pnlButtons.add(btnName);
    pnlButtons.add(btnSize);
    pnlButtons.add(btnDate);
    pnlButtons.setBorder(BorderFactory.createLineBorder(Color.BLACK));
    JPanel pnlImage = new JPanel();
    JList lstImage = new JList();
    lstImage.setVisible(true);
    pnlImage.add(new JScrollPane(lstImage));
    add(pnlButtons, BorderLayout.NORTH);
    add(pnlImage, BorderLayout.CENTER);
    Is there any simple way?

  • Call Photoshop Action from other APP?

    Hi Everyone,
    Anybody has any experience to run any Photoshop action using a binary .EXE file?
    For example, I want to let Photoshop execute a filter action from my own application?
    I know that DROPLET can do this, what I did is that I use System("Droplet.exe somefile") to launch the Photoshop action. However, I got enough trouble doing this with the UAC of Windows7, there're intermittently "Droplet couldn't communicate with Photoshop" error showing up, and UAC always prompt you the warning message. I tried lots of ways "Run as Administrators" etc, but the error shows again even though the previous time it worked!
    Finally, I think it's time to give up droplet and thinking of other way of doing this.
    I just simply want a ".exe" or something that can let my application tell Photoshop to run a simple action (with no parameters). I'm not sure whether PostMessage/SendMessage can do this or not on Windows. If anybody has any idea, please let me know.
    Thanks in advance!
    By the way, I also learned that Photoshop API is not thread safe, so that an "inception thread" of a plugin in the Photoshop causes unpridictable crashes, and you cannot do that in a separate thread.

    Check out the vbs samples (Visual Basic) from here: http://www.adobe.com/devnet/photoshop/scripting.html
    Then use "cscript" from the command line.
    http://technet.microsoft.com/en-us/library/ff920171.aspx

  • Calling one component from other

    Hi,
       I want to call a portal component,with in the event handling routine of cellClick.
    Actually what I need is,in cellClickEvent method,I need to store the clicked value in session and then redirect it to another component based on the clicked value.
    Can any one help me in achieving that?
              Thanks in Advance
    Regards,
    Santhosh

    Hi Santhosh,
    You can do that using the EPCF service provided by the Portal.EFCF is used to communicate between Iviews and pass data between them.Exactly what you need.
    Please reward points, if helpfull.
    Regards,
    Vivek

  • Can we call a procedecujre from other procedure as  a form action

    Hi
    I have a procedure which creates a form and action of form I gave as another procedure .
    When I am clicking on the form submit. I am getting page not found error even though I have grant access to PUBLIC
    Regards,
    Radha

    Hi,
    I am creating a dynamic page. In that dynamic page I am creating a form whose action is a procedure customschema.procedure_radhas
    code is below
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <ORACLE>declare
    begin
    htp.formOpen('custom.procedure_radhas','get');
    htp.prn('<table><tr><td>Event Name</td><td>');
    htp.formText('event_name',20,20,:event_name);
    htp.prn('</td></tr><tr><td>Event Date</td><td>');
    htp.formText('event_date',20,20,:event_date);
    htp.prn('</td></tr><tr><td>Event Venue</td><td>');
    htp.formText('event_venue',20,20,:event_venue);
    htp.prn('</td></tr><tr><td>Event Duration</td><td>');
    htp.formText('event_duration',20,20,:event_duration);
    htp.prn('</td></tr><tr><td>Event desc</td><td>');
    htp.formText('event_desc',20,20,:event_desc);
    htp.prn('</td></tr><tr><td colSpan="2" align="center">');
    htp.formSubmit('submit');
    htp.prn('</td></tr></table>');
    htp.formClose;
    end;
    </ORACLE>
    </BODY>
    </HTML>
    In that procedure (custom.procedure_radhas) I am creating one form and the action of the form is agin a procedure
    Create or Replace Procedure CUSTOM.PROCEDURE_RADHAS
    event_name IN VARCHAR2,
    event_date IN DATE,
    event_venue IN VARCHAR2,
    event_duration IN number,
    event_desc IN varchar2)
    as
    begin
    htp.formOpen('custom.proc_calen','GET');
    htp.prn('<table><tr><td>Event Name</td><td>');
    htp.formText('event_name',20,20,event_name);
    htp.prn('</td></tr><tr><td>Username</td><td>');
    htp.formText('username',20,20,portal.wwctx_api.get_User());
    htp.prn('</td></tr><tr><td>Email</td><td>');
    htp.formText('email',20,20,'enter email');
    htp.prn('</td></tr><tr><td colSpan="2" align="center">');
    htp.formSubmit('submit');
    htp.prn('</td></tr></table>');
    htp.formClose();
    exception
    when others then
    null;
    end;
    In that procedure(custom.proc_calen)
    Create or Replace Procedure CUSTOM.PROC_CALEN
    ( event_name varchar2,
    username IN VARCHAR2 ,
    email IN VARCHAR2)
    as
    begin
    insert into calendar_table values(event_name,username,email);
    exception
    when others then
    null;
    end;
    I am tryoing to insert values into a table .
    But i am getting file not found
    pls find out the solution
    Regards
    Radha

  • Calling istance class from other class

    Another step, another problem. I've declared a mySocketDelegate class that contains all the delegate methods of NetSocket and it's the delegate for my extern mySharedSocket. It works without problem, since i've to send a message to another class, in this case to RootViewController. I post the code
    #import "mySocketDelegate.h"
    #import "NetSocket.h"
    #import "GlobalValues.h"
    #import "ContactListController.h"
    #import "ProgettoTesiAppDelegate.h"
    #import "RootViewController.h"
    @implementation mySocketDelegate
    - (void)netsocketConnected:(NetSocket*)inSocket {
    - (void)netsocketDisconnected:(NetSocket*)inSocket {
    - (void)netsocket:(NetSocket*)inNetSocket dataAvailable:(unsigned)inAmount {
    if(headerRecieved){
    if(dataread == drlen && dataRecieved != nil) {
    if([dataRecieved isEqualToString:[[NSString alloc] initWithString:@"Login valido"]]){
    NSLog(@"Chiamo contactList controller");
    ContactListController *clController = [[ContactListController alloc] initWithNibName:@"ContactList" bundle:nil];
    clController.title = @"Contact List";
    [[RootViewController navigationController] pushViewController:clController animated:YES]; //THE PROBLEM IS HERE. IT RISES AN ERROR, BECAUSE
    //RootViewController is not an istance, but a class, how can i access the istance of RootViewController
    dataRecieved = [[NSMutableString alloc] init];
    } else {
    @end
    Then, the problem is there. In RootViewController i set mySocketDelegate as delegate for mySharedSocket (this work fine), then in mySocketDelegate i have to access the istance of RootViewController (it is the controller of my main view)...how to do this?
    Thank you

    I undestand the logic behind this part of code, but it stil doen't work...it rises this error:
    error:Request for memeber 'myRooViewController' in something not a structure or union
    ...and it's ok...probably the semanthic isn't right? How to access a istance variable of an istance?
    This is the code:
    mySharedSocket = [[NetSocket netsocketConnectedToHost:host port:PORT] retain];
    mySharedSocketDelegate = [[mySocketDelegate alloc] init];
    mySharedSocketDelegate.myRootViewController = self; //the error is here
    if([mySharedSocket open]){
    NSLog(@"socket opened");
    [mySharedSocket setDelegate:mySharedSocketDelegate];
    [mySharedSocket scheduleOnCurrentRunLoop];
    dataRecieved = [[NSMutableString alloc] init];

Maybe you are looking for

  • XML publisher output report in excel format

    Hi I have created reports using XML Publisher, the default output preview format was PDF. While submitting the program, in the layout, I changed the format to EXCEL,it give me output in Excel. Now I need to send the output report as an attachment thr

  • ITunes 8.1 works great but killed wireless internet connection

    I installed version 8.1 on both my laptop( PowerBook g4/ OS 10.4.11) and desktop (imac intel / OS 10.5) and after restarting the computer, the wireless internet connection stopped working on both. I would open Safari and it would be a blank page and

  • How to change the manual condition type value in change sales order BAPI

    Hi All, My scenario here is, i want to either add/change the manual condition type value during change of SO. When i'm trying to pass the  order_conditions_in and  order_conditions_inx tables in  'BAPI_SALESORDER_CHANGE'. Condition type is coming at

  • HT1420 why can I not download my iTunes to my Samsung galaxy tablet 10.1?

    I bought a streaming movie but cannot play this without iTunes.   I would have bought this from flixster if I had known it would only go to iTunes and I cannot stream this on my ultraviolet account. I won't buy another movie from iTunes again. I trie

  • Creative media

    hi i seem to have a problem with the .as im recording a cassette a prompt comes up saying ctcms exe has generated problems and that ill have to restart the program.how can i fix this coonsanders