Deployable proxy does not provide needed types

Hi everybody,
i have created a deployable proxy with NWDS using this <a href="http://www.webservicex.net/WeatherForecast.asmx?WSDL">WSDL</a>. Now i would love to have a client bean that calls the service via the proxy. I tried to do it like <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/45/029840cf43495195da923f32262911/frameset.htm">this</a>.
Now the problem i have is that when i do the lookup on the initial context i get an object of class WeatherForecast<i><b>Impl</b></i>. The deployable proxy, however, does not create this class in design time. Only after deploying it is available on the j2ee. I thus cannot cast to this type, because the NWDS does not recognize the type.... The standalone proxy on the other hand offers this class and allows me to cast to this type in design time. i still get a run time error though. plus it seems wrong to create a standalone proxy for this purpose, right?
I am really new to this java world, so maybe i am missing something really simple. Any help will be much appreciated.
Cheers, Michael.

hey everyone.
Well, it seems, the point is something else. From what i've read throughout the day, the class WeatherForecastImpl is not supposed to be included in the deployable proxy but it should be downcasted to the interface, in this case WeatherForecast. The is, though, that the cast throws an ClassCastEcxeption. Is it possible that the proxy or the implementation were created incorrectly?
this is what the interface looks like:
package de.sap;
* Service Interface (generated by SAP WSDL to Java generator).
public interface WeatherForecast extends javax.xml.rpc.Service {
  public java.rmi.Remote getLogicalPort(String portName, Class seiClass) throws javax.xml.rpc.ServiceException;
  public java.rmi.Remote getLogicalPort(Class seiClass) throws javax.xml.rpc.ServiceException;
  public String[] getLogicalPortNames();
  public com.sap.engine.services.webservices.jaxrpc.wsdl2java.lpapi.LogicalPortType getLogicalPortConfiguration(String lpName);
thank for helping.
cheers, michael

Similar Messages

  • Recently upgraded to a Canon Mark 3 and now having issues with my RAW files in Bridge and Photoshop. I am operating with CS4. Photoshop produces an error " Could not complete your request because photoshop does not recognize this type of file"

    Recently upgraded to a Canon Mark 3 and now having issues with my RAW files in Bridge and Photoshop. I have operating with CS4. Photoshop produces and error " Could not complete your request because photoshop does not recognize this type of file"

    Assuming you mean 5D Mark III, Photoshop CS4 cannot directly open raw files from your camera.
    Generally speaking, Adobe stopped updating older versions to be able to read raw files from newer cameras when they released a new major version of Photoshop. Photoshop CS4 is no longer receiving Camera Raw updates.
    You can double check this yourself:
    First you need to determine whether Adobe has released support for your new camera in your version of Photoshop. To do that, look at these two pages. You'll want to find out the earliest version of Camera Raw that can support your camera, then what version of Photoshop can run that version of Camera Raw.
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    If you find your camera is supported by your version of Photoshop, you need to download the latest update for Camera Raw. There's more information on how to do that here:
    Keeping Photoshop Up-To-Date
    If your version of Photoshop cannot support your camera, you can download and install the latest version of the free Adobe DNG Converter, which can take your raw files as input and put out DNG format files, which your version of Photoshop can open.
    Photoshop Help | Digital Negative (DNG)
    The DNG converter DOES work, but if you want maximal quality from your raw files (not to mention the convenience and ease of use of directly opening your raw files) you'll want the latest version of Photoshop. Adobe has made substantial improvements in raw conversion quality in recent years.
    -Noel

  • Received unexpected message type does not match expected type

    1.Two Biztalk Applications A,B  one for sending the request(A) and other application will send the response to A.
    2.I have two schema  Request and Response in Aplication A which i have exposed as webservice.
    3. Application B share the same response schema .
    I am using WSBasicHTTP sysnchronous ports to send and receive the message.
    WHen Application B send the response , i get the error  "unexpected message type does not match expected type "
    but i dont know why i get such error when the schemas are share by both application. Please advice
    Regards
    Suresh

    Hi Suresh,
    Whenever you are doing request-response like calling web service etc, i would suggest to use Passthrough pipeline while sending and use XML receive for receiving the message.
    Because when you are sending the message out it doesn't needs any promoted properties so you can use Passthrough this will avoid extra Assembling/Validation etc tasks performed by XMLSend pipeline.
    But when you are receiving response that time it expects MessageType property to be promoted because normally you will have receive shape configured to some Typed Schema. So you will have to use XML Receive pipeline.
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • WARN  [SchemaTypeCreator] JAX-RPC does not allow collection types skipping:

    hi
    I am trying web service,where it returns collection.
    following is the code snippet,
         @WebMethod()
         public Collection<CustomerInfo> getAccountList()
              Query query=em.createQuery("from CustomerInfo c");
              return query.getResultList();
    the problem is at the time of deploying i am getting following warning,
    WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: customer.__JBossWS_CustomerRegisteration_EndpointInterfacePort_getAccountListResponse.result
    i am using JBoss 4.0.5,it supporting JAX-WS RI 2.0_03-b24-fcs version.
    could anybody tell me why this warning?
    is JAX WS not able to resolve the collection type?
    i tested my web service with webservice explorer provided myeclipse5.5 IDE,there web service returns null
    please help me in this?

    Hi,
    I have a serious problem when i deploy a web service in JBoss 4.0.5
    when i invoke the service i can't access to SSSSS222 beacuse in my client don't be created that class SSSSS2222....
    I mapped schemas to java with jaxb2.0.5.
    I'm using:
    JAXB 2.0 .5
    JSR181
    My schema is:
    <xs:schema......>
         <xs:element name="PPPPPP">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="AAAAAAA"/>
                        <xs:element ref="SSSSS111"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="SSSSS111">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SSSSS222" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="SSSSS222">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="DDDDDD"/>
                        <xs:element ref="DEDEDEDE" minOccurs="0"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
    </xs:schema>Error:
    13:24:23,271 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.java.SSSSS111.SSSSS222
    A part of wsdl generated is:
    <complexType name="SSSSS111">
    <sequence/> *****error comparing with schema
    </complexType>My web service is:
         @WebMethod(operationName="WS1")
         @WebResult(name = "Resp",
              targetNamespace = "http://www.example.com/resp")
        @RequestWrapper(localName = "validacionWS",
            targetNamespace = "http://www.example.com/pet",
            className = "com.java.ValidacionWS")
        @ResponseWrapper(localName = "validacionFWSResponse",
            targetNamespace = "http://www.example.com/resp",
            className = "com.java.Respuesta")     
         public Respuesta validacionPeticion(@WebParam(name = "peticion",
                   targetNamespace = "http://www.example.com/pet")
                   Peticion peticion)throws MyException,Please, help me...

  • SAML Credential Mapper does not support credential type

    Has anybody any idea on what could be causing the message below, which is being logged several times?
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <1309285937475> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <1309285937475> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): **SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null**>
    Best regards
    Update: Forgot to mention this is SOA Suite 11G environment
    Edited by: user9501748 on Jun 28, 2011 11:53 AM

    I've got the same issue too.
    My setup is to have one domain acting as both Source and Destination.
    For every 10 seconds, I'm seeing 4 of these logs, and the CPU consumption is 100% consistently.
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials: Subject initiator>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null>
    Does anyone know what's happening? I've got one of the Security Provider = Active Directory, and thus there's no password returning. Could it be the root cause of the problem?

  • UPC_F104 Entry not possible, var does not have replacement type user-spec.

    Hi,
    On of my exit variable keeps issuing me the following message when selecting a value:
    UPC_F104 Entry not possible, var does not have replacement type user-spec. vals
    This exit variable is based on other variables (non-user specific). The indicator 'Restriction of values required by user' is flagged.
    Any idea what might be the issue ?
    Thanks
    David

    David,
    User exit variables won't work if there are multiple rows of values being derived incase 'Restriction of values required by user' is flagged.
    Make sure that derivation of variable value is restricted to only one row.
    if you have a need to derive multiple rows of values, simply uncheck the flag 'Restriction of values required by user' & you will be good to go.
    hope it helps.

  • Where to put my customized formatting that Control Hints does not provide?

    To whom that know or have experience with it:
    The control hints does not provide solutions for all possible formatting needs. For example, I need to display only last four digits of social security numbers (i.e., for "123-45-6789", display "***-**-6789"). Another data table column stores school semesters as YYYYMM, e.g., 200902, where 2009 is the year and 02 is the month that represents Spring (MM can also be 06 and 09 that represent Summer and Fall). I need to display the semester in a more user-friendly way (i.e., for "200902", display "Spring 2009"). Of course, I can not change data format in the table; I only seek to format the display of the data.
    I would think that it takes only a few lines of java code to do these formatting by splitting the string into sub-strings, replace some of them with appropriate new values, then re-assemble them. But where to put such code? Does any documentation cover this topic?
    Newman

    Shay,
    I read the document, tried it, and it worked out nicely.
    There is not the getAttributeName() method in the ViewObjectImpl class in version 10.1.3.4, which is the version I am using. But the EO class has it and it works out all the same.
    I don't know how long it would otherwise take me to read and fumble to find out where to put the custom formatting code. Your experience and familiarity with the technology really saved me a huge amount of time. Thank you so much for your help!
    Newman

  • PS does not Provide WSDL for RTNGTYPE Synchronous Non Blocking

    Hi,
    This particular field has 5 Translate values. Of which PS does not provide an example/entry for RTNGTYPE Synchronous Non Blocking Routing in either FSCM or CRM Demo Database.
    Would like to know, if some one has created a Routing Type of Synchronous Non Blocking and implemented that.
    The reason being, that for Service Ops with the RTNGTYPE as Synchronous Non Blocking, PS does not allow us to generate WSDLs...Also, Not sure how to create a Sync Non Blocking Routing for a Sv Op in PS...
    Any help is appreciated...
    Thanks
    Prashant

    Are you sure you have uploaded everything in the gallery folder to the correct location. It can't find the index.html page.

  • So if Aperture does not provide the ability to burn photos to dvd/cd how do you go about doing that?

    So if Aperture does not provide the ability to burn photos to dvd/cd how do you go about doing that?

    Simply mount a disc in the drive, then in Aperture Export your versions to that location.  Later in the Finder, Burn.  No need for special function.
    Ernie

  • "...does not support this type of alias."

    I just reinstalled the OS 10.4 onto my G5 using the erase and install function. The drive is formatted as a Mac OS Extended (Journaled), which is an HFS+ format. I'm trying to copy some files onto the main hard drive from a DVD. I keep getting an error message that says "[the file name] cannot be copied to the destination, perhaps because the destination does not support this type of alias." I researched the message and the only thing I could find was that the error appears if the destination disk is formatted as a UFS disk. I thought maybe I made a mistake when I reinstalled the OS, so I tried to copy the same files to the secondary internal drive and to an external Firewire drive, and I got the same message both times.
    What should I be looking for so that this will work? I'm going to post in a couple other topics, but any help would be greatly appreciated.
    Thank you in advance,
    Lloyd

    Barry,
    I was trying to make back-up copies of my Adobe CS2 disks by copying the disks to the hard drive then burning them to CDs, but I got the error message when I dragged the contents from the original CD to the HD.
    This worked, but it took a while: I Stuffed each CD to the HD, then unStuffed them and used Toast to burn a new CD. A few steps longer, but at least it worked.
    Now, if I could only figure out why the second internal drive does not have the "Ignore Permissions" check box available, I'd be all set.
    Thanks,
    Lloyd

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • While deploying to another server from RM client using build definition i got below error "Package location does not exist or deployer user does not have access"

    We have installed RM client in the POC  server .
    Installed Deployment Agent in Dev server .
    We created Configuration stages  for POC->Dev.
    We created a template with x copy deployer  and  selected source as build definition.
    While releasing we faced following issue ,
    The release was success in POC (Where RM client is installed), but in  DEV environment (Which is different server)it got rejected because of  the error
    "Package location(Path)  does not exist or deployer user does not have access"

    Hi Dhamayandhi
    There is quite a bit to do to get RM working successfully. I have a soup-to-nuts guide on implementing continuous delivery with TFS and RM
    here.
    Cheers - Graham
    Blog:
    http://pleasereleaseme.net   LinkedIn:

  • Eclipse "selection does not contain main type" - but it does contain a main

    Hi!
    I'm having a strange thing happen to me when using the eclipse IDE in a macintosh envirnment.
    I imported a project, complete with package, and all of my classes. and when I try to run my main class, it tells me "selection does not contain main type".
    Which is entirely untrue, the class I am trying to run contains a public static void main(), does anyone know what's going on here?

    the class is quite large, I don't think that it is a problem with the class, because it runs fine on my windows based pc (also in eclipse)...

  • Selection does not contain main type

    Hi All,
    I am getting the Launch error saying:
    "Selection does not contain main type" while running the program in eclipse.
    Is there any common aspects from where it is being generated?
    Thanks in advance
    regards

    lkarmacharya wrote:
    eclipse launch error: "editor doesn't contain a main type"Hi,
    Please don't resurrect old threads, and this isn't an eclipse forum. I'm locking this thread. Create a new one if you have a specific Java programming related problem.
    Kaj

  • Object does not match target type when raising an event from c# to VB6

    I have a c# .net DLL that I use from a VB6 app. It exposes an event,
    and the VB6 app is sinking it.
    The VB6 app is receiving the event, as long as it is raised from the
    main thread of the .net DLL.
    I have an aync task being handled inside the DLL (delegate BeginInvoke). Any
    attempt to raise the event from within that thread casuses the reported
    error, even from within the AsyncCallback function, when the thread is ending.
    I noticed that the delegate for the event is not declared inside the
    interface. It's in that module, but above the interface definition:
        [ComVisible(false)]
        public delegate void LoggingEventHandler( string logData );
    The event is declared in the class itself as:
        public class Processor : _Processor
            public event LoggingEventHandler        LogNotification;
    Finally, to raise the event:
    if ( this.Completed != null )
        this.Completed( true );
    If I open the tlb with OLEVIEW, I can see the public event just fine. Of course, I expected to, as it's working up until the helper thread kicks in.
    Now for the REAL WIERD PART! This DOES work on several servers that have
    been in production for months. It's just this one server that it won't work
    on. Same code. Resinstalled/registered it 1,000 times. It took me a while to
    find that an error was even occuring, since it was being raised in the
    seperate thread. In other words, I'm receiving the event just fine on a series of servers. This is a new machine we're trying to bring online. I suspect it's environmental, but I can't figure it out.
    I don't understand why the publisher would be expecting a certain type of
    subscriber in the first place... unless the error is really triggered by the client when the event reaches it. I've put logging into the client, though, and the first line of code inside the event is not being executed.
    For the VB6 app, I reference the tlb file that is automatically created when
    I compile (Interop is checked). I unregistered and re-registered the tlb on
    the server. I regasm'd the dll itself. All dlls are in the same folder - not
    in the GAC.
    The stack trace is as follows:
       at System.RuntimeType.InvokeDispMethod(String name, BindingFlags
    invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32
    culture, String[] namedParameters)
       at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
    Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
    CultureInfo culture, String[] namedParameters)
       at System.RuntimeType.ForwardCallToInvokeMember(String memberName,
    BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
    msgData)
       at HPFS.Queue.IProcessorEvents.LogNotification(String logData))

    This is driving me nuts!
    I sure would appreciate any suggestions.
    I got this working on one of the two machines. The other machine had some other issues, so I had it re-imaged. It's been so long since I fixed the first one, that I can't remember exactly how I did it. Plus, I did so many things to it over two weeks, that I never really felt confident, anyway. But ... I could *swear* that the last thing I did back then to get this event to flow was to re-register the DLL's TLB.
    So ... This is win 2k with FW 1.1 + SP1.
    Completed is the delagate I'm trying to invoke.
    this.Completed.Target.GetType().Name = "__comobject"
    I've tried everything. Unregistered the .tlb. Unregistered the .net DLL. Verified that the app completely failed while unregistered. Created the TLB using RegAsm /tlb syntax.
    I tried using CLR SPY. It registers nothing. It only lets me pick an EXE. This is a DLL tring to raise to an EXE.
    I've looked at the TLB in OLE VIEW and I just don't know what I'm looking at.
    Is there any other tool or technique I can use to audit/monitor/trap this? .net is giving me *** for details about what's failing. I wish I could somehow debug into exactly what it's trying to do and get more details on the failure.
    Here's the error I'm getting:
    (Code -1) Object does not match target type.<Source:mscorlib>(Stack:    at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
       at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
       at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
       at HPFS.Queue.IProcessorEvents.Completed(Boolean success)
       at HPFS.Queue.Processor.RequestDone())
    Processor = the DLL I'm trying to raise the event from.
    IProcessor = the event interface that's exposed through COM.

Maybe you are looking for

  • Problem while adding a new field to a Z-table

    My attributes are mater table with maintenance allowed and taken APPl0 as data class. Now i am trying to add another field to this table and it says you have no authorizations in the log. I checked in SU53, actiity is 42 there... how can i no wether

  • Need help, itunes freezing on PC laptop running windows 7.

    I have itunes 10.6 on my pc laptop running windows 7.  today itunes freezes as soon as it opens and doesn't open fully to the itunes store or my music.  what's happening?  how do I fix it?

  • How to Integrate HCM Process with Webdynpro ABAP Application

    hi, I have issue regarding how to integrate HCM Process with Webdynpro abap application. I had created one HCM process for transfer using Hrasr_dt T code and also created form scenario and work flow. How to Integrate HCM Process with Webdynpro ABAP A

  • IMovie nor Final Cut Pro will import video from camcorder

    Both iMovie 10.0.5 and the Final Cut Pro Trial I just downloaded (to test before purchasing) will not import my movie.  The movie plays on my camcorder and it plays in both iMovie and Final Cut but when I click to import, a message appears in the top

  • Please send me the exit name to add my code for AUTLF check box for VA02

    Hi All, My requirement is as follows, 1) The scope of this enhancement is required only for transaction VA02 - Change Sales Order, order-type maintained in table TVARV 2) In the program, if User tries to uncheck the checkbox – Complete delivery (VBAK