B1WS Smart Device Soap Error

Hello Experts,
I am trying to create a b1ws client for 8.8 PL10 on using cf.net 3.5 (VS 2008, emulator Pocket PC 2003 SE) and connecting is fine. I get the connection string which I pass to glbdata.sessionID.
However, when I try to logout, I get "Error in SOAP command 'Logout'"
logout code:
        Try
            Dim l_login As LoginService = New LoginService
            l_login.Url = "http://192.168.0.250/B1WS/Service.asmx"
            Dim _msgHeader As MsgHeader = New MsgHeader()
            _msgHeader.SessionID = GlbData.SessionID
            l_login.MsgHeaderValue = _msgHeader
            l_login.Logout()
        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.DefaultButton2)
        End Try
This code works fine on a normal windows application (only difference being that the URL property is unncessary due to app.config).
Any ideas?
P.S. Am I likely to encounter many problems trying to consume b1ws services with cf.net?

This is from the log of the DI server:
<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-1</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Error in SOAP command 'Logout'</env:Text></env:Reason><env:Detail><Command>Logout</Command><SessionID>6471E63C-7214-434B-A911-3097CC2C9564</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>
24/08/2010  17:01:28  Response (Fault)
Unfortunately it is not very helpful in isolating the problem.
I also tried a basic stock transfer (this code works in a standard forms application):
  Public _Service As StockTransferService
    Public Sub New()
        _Service = New StockTransferService
        _Service.Url = "http://192.168.0.250/B1WS/Service.asmx"
        Dim msgHeader As MsgHeader = New MsgHeader()
        msgHeader.SessionID = GlbData.SessionID
        msgHeader.ServiceName = MsgHeaderServiceName.StockTransferService
        msgHeader.ServiceNameSpecified = True
        _Service.MsgHeaderValue = msgHeader
    End Sub
    Public Function Add() As StockTransferParams
        Dim _transferParams As StockTransferParams = Nothing
        Try
            Dim _transfer As StockTransfer = New StockTransfer
            _transfer.StockTransferLines = New StockTransferStockTransferLine(1) {}
            _transfer.StockTransferLines(0) = New StockTransferStockTransferLine
            _transfer.StockTransferLines(0).ItemCode = "A0001"
            _transfer.StockTransferLines(0).WarehouseCode = "02"
            _transfer.Comments = ",jhgljhkjhjkh"
            _transferParams = _Service.Add(_transfer)
        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.DefaultButton2)
        End Try
        Return _transferParams
    End Function
But this threw out an error too:
25/08/2010  09:57:24  Response (Fault)
<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-1</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Error in 'StockTransferService' during command 'Add'</env:Text></env:Reason><env:Detail><Command>Add</Command><SessionID>BE88D57D-6669-4036-8F33-63F51CF18CA3</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>
Any assistance would be greatly appreciated.
Edited by: L Soyer on Aug 25, 2010 9:16 AM

Similar Messages

  • SAP B1 on Windows Handheld Smart device

    Dear Experts,
    The following is my requirement...
    I have Windows based smart devices (Barcode scanner integrated), they run on Windows CE, I want to write an application which can be installed on these devices and Users can post transactions (Inventory Transfer, GR, GI).
    I have started a windows Smart Devic+e project in VS 2005, And I have added the SAP B1 DI API 8.8 as a reference. Now when I am trying to connect in the Emulator, I am getting the error. "Class is not Registered".
    This is my first smart device project. Please advice on how to proceed further.
    Thanks In advance,
    Vasu Natari.

    Hi Vasu
    Download B1WSSourceCode_1.1 - it has the source for B1WS and includes samples.
    The services default to localhost and in the sample, you have to change the app.config file to point them to your web server (if indeed it is not your localhost).
    In a smart device application, which has not app.config, set the URL property.
        Public Sub New()
            _Service = New StockTransferService
            _Service.Url = "http://192.168.0.250/B1WS/Service.asmx"
            Dim msgHeader As MsgHeader = New MsgHeader()
            msgHeader.SessionID = GlbData.SessionID
            msgHeader.ServiceName = MsgHeaderServiceName.StockTransferService
            msgHeader.ServiceNameSpecified = True
            _Service.MsgHeaderValue = msgHeader
        End Sub
    That is the typical example of a service you will find in the samples - note the _service.url setting.
    Hope this helps.
    Regards

  • Can I use the NI DAQmxbase C functions to develop a Smart Device application using a NI USB or NI ENET 9234 C module with Visual Studio for an iMX31 (ARM 11) embedded computer running Win CE 5.0 or 6.0?

    I have an embedded application running on a iMX31 (ARM 11) that does fairly high performance analog input (24 bit, 50K samples/second).  I use Microsoft Visual Studio 2005 C/C++ for the develoment environment and have currently built versions of the application for Win CE 5.0 and 6.0 without Labview or NI hardware.  I have used the NI 9234 with great success on several Labview applications in the past and I'd like to use the 9234 on this embedded application with VS2005 C/C++. The NI documentation hints that I should be able to do this (maybe I'm overly optimistic) and I'm wondering if anyone else has?   I've tried the Evaluation versions of Labview Mobile and Labview Touch panel to build a C application using the NI DAQmx base C function inside Visual Studio without success.  I can compile and link the ContAcq IntClk LV example project for an x86 platform using NIDAQmx but not for a ARM platform using NIDAQmxbase.lib.  I get the same linker error   error LNK2019: unresolved external symbol referred to in Knowledge Base Document ID 4HAEE7QQ  even though I've set up (or think I've set up ) VS2005 as the KB article indicates.
    If anyone has used the C functions and NIDAQmxbase library inside a VS2005 Smart Device project, I'd greatly appreciate your comments.
    Thanks 

    Hello Gene,
    I have been checking into this for you and have found out that what you are trying to do cannot be done.  At least not in the current manner you are hoping for.  The internal architecture of DAQmx Base requires the cross-compiling capability of the LabVIEW Mobile Module. While a stand-alone compiler can compile DAQmx Base calls for desktop processors, it cannot compile DAQmx Base calls for ARM.
    If your application requirements exclude the LabVIEW toolchain, then the remaining option is the USB Driver Development Kit which is avaliable here, but you will have to contact your local field sales representative to discuss support
    options as standard phone and e-mail support are not available for the
    NI Measurement Hardware DDK. 
    NI Measurement Hardware Driver Development Kit
    http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument&lang=en&node=seminar_US
    ColeR
    Field Engineer

  • SMART Hard Disk Error after replacing HD

    Hi!
    I SOOO hope that someboidy is able to help me.
    I am NOT a novice but I am stumped.
    I replaced the HD with the same model HD that the COMPAQ CQ58 came with because the old HD was shot - how that happend eludes me.
    Anyhoo, after screwing a new HD in I wanted to put OS on it but I get the following error right after pushing gthe power button on:
    SMART Hard Disk Error
    The SMART hard disk check has detected an imminent failure. To ensure not data los, please backup the content immediately and run Hard Disk Test in System Diagnostics.
    Hard Disk 1 (301)
    F2 System Diagnostics
    ENTER - Coninue Startup
    For more information, please visit: www.hp.com/go/techcenter/startup
    I'll get back to the LINK later.
    First I pushed ENTER. What appeared is:
    Boot Device Not Found
    Please install an operating system on your hard disk
    Hard Disk (3FO)
    F2 System Diagnostics
    For more information, please visit: www.hp.com/go/techcenter/startup
    I pressed F2 and this is what happens:
    I get the diagnostics Menu.
    Version 1.6.0.0 - BIOS
    For more information, please visit: www.hp.com/go/techcenter/PCDiags
    Memory Test
    Hard Drive Check
    Language
    Exit
    I pressed Hard Drive Test did the "Quick Check" and this is the message I get:
    SMART Check : NOT AVAILABLE
    Short DST : NOT AVAILABLE
    ==============================
    For more information, please visit: www.hp.com/go/techcenter/PCDiags
    I tried the LINK, it doesn't exist.
    I also went to the Boot Options in BIOS in order to start from a USB stick and put the USB HD in first place.
    When I reboot it does not recognise any USB stick. I tried Windows 8 and UBUNTU which ususally  works on all machines I recoverd so far.
    No whatsoever luck.
    As I mentioned before:
    I am stumped.
    I have no recovery CDs and can't make one since I don't run Win8 on any of my PCs.
    So, any suggestions????
    Please HELP
    Thank you in advance
    Kai Henry
    This question was solved.
    View Solution.

    Plug the usb flashdrive into one of the notebooks's usb ports  Press the power button and then immediately tap the Esc key to invoke the startup menu. Choose F9 (boot opions) instead of F10 (BIOS setup) in the startup menu and then select the usb flashdrive. 
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Windows 7 64bit has an MTP USB Device Failed error message when I attach my Ipad1

    I keep getting an MTP USB Device Failed error message when I plug in my USB cable into my Ipad1.  Can someone help?

    This is NOT resolved.  The "Upper..."Key in the registry editor doesn't exist as you can see below in the image I am providing.  This is still an OUTSTANDING issue, can someone please help with resolving this issue, super frustrating.
    This is not just an iPAD issue, I get the same problem with my iPhone as well, both (iPhone and iPad) have the latest iOS 6.1.3 installed as well.

  • Smart hard drive error

    "everytime when i'll open my netbook hp mini 110-3500 is showing this message " Smart Hard Drive Error ". imminent failure, i'm trying tohe hard drive test but its still error...please help me..!

    Sorry to say it means what it says. Your hard drive needs to be replaced. There is no workaround.

  • How can I get a SOAP Error message in ABAP ?

    Dear all.
    I'm trying to get SOAP Error message during XI Interface.
    I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.
    I used
    CATCH CX_AI_APPLICATION_FAULT.
    CATCH CX_AI_SYSTEM_FAULT.
    but couldn't get the error message.
    The Error occured as below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I exactly need 'BOLD' style message.
    Any help is appreciated.
    Thanks!

    Hi,
      This is an application fault,
      error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.
      these are specific to interfaces, in order to handle those
    u need to configure apllication log at 'SLG1' t.code.
    i mean, u have to use following function moules to handle application log in ABAP Proxy .
    i.e
    APPL_LOG_WRITE_HEADER
    APPL_LOG_WRITE_MESSAGES
    APPL_LOG_WRITE_DB.
    warm regards
    mahesh.

  • Error message on reading device saying error dialog user not activated

    error message on reading device saying     error dialog  user not activated.  unable to open book to read

    I had Adobe upgraded to from 1.2. to 4.1 on my Glow Light Nock at Barnes and Noble yesterday. I use a  MacBook Pro 2011 upgraded to 10.10.1. I have never had a problem download a book from the library to my nook in the past. By the time I get this issue resolved, my 2 week book will be overdue and my book club discussion 1/21. I have been to the genius bar at Apple store--not their problem. Two trips to B&N and
    the tech guy said he could fix the problem on a PC but not a Mac. It is not a Mac or Nook world.

  • SOAP error!! while activating or running an existing Adobe form

    Hi,
    I am working on Adobe forms in ECC6.0 server.
    I am getting a SOAP error while I run existing forms or trying activating a Z* form.
    <i>Error: ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)</i>
    I am trying to run an existing form in 800 client. It is running fine in 001 client.
    ADS installed on 001 client but basis team is not able install it on 800 client.
    How to install ADS on 800 client also. Is it a problem with ADS installation??
    Thanks in advance.
    Thanks,
    Sreekanth Gollamudi

    Pradeep,
    You are right. This time I could bind the context from my interface (even though it was ABAP based).
    I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
    The runtime error that i am encountering now says :
    Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
    the source text of error is:
    get result
    m_pdf_object->get_document ( importing pdfdata = pdf ).
    catch cx_fp_exception into lr_fpexc.
    raise exception type cx_wd_general
    exporting
    previous = lr_fpexc
    and this exception is not caught ! I am still lost
    thanks again for your help!
    Liz

  • HT1339 hi i reset the settings on my ipod and when i connected it to my laptop its not recognized. It shows unknown device code error 43, and its not recognized when i connect to itunes.

    Hi I went into settings on my ipod and reset it, when i connected it to my laptop afterwards itsays USB unrecognized unknown device, code error 43. Its also unrecognized in itunes. All my music is still on the ipod, How can I sync it itunes??

    Try:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    Also try change the DNS to Google's servers. See:
    Public DNS — Google Developers

  • Device instance error, vista can't see media card

    hello,
    I have a pearl 8110, with desktop 6 and vista.  After upgrading to version 6 I get this device instance error and specifically can't load any media onto the memory card via usb. 
    USB\VID_0FCA&PID_8001\5&3100FCC1&0&5
    been through the forums for months tracking this down on how to clear it.  Downloaded the calfix.exe program as that was the only clue that related to the 8001 error, ran it and nothing, did not work.  Fix was for versions 4.7 to ver 5.
    I can sync, load and upgrade BB software without any problems, tried two different memory card manufacturers, formatted card, pulled battery so many time don't ask me to do it again.  mass storage mode is on, but software keeps telling me to turn it on even though its already on, been on since day one!  Everything works via bluetooth, pictures, video, mp3, but windows just can't see the memory card.
    Also went through the computer management to loocate the drive, but no luck?
    Does anyone have any ideas on how to fix?

    Greetings, and welcome to the BlackBerry.com Support Forums.
    Are you attempting the format or looking at the Media Card from the BB WHILE you are plugged to the USB?
    Unplug and try it all again.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Windows 8.1 Installed now I received a Fatal Device Hardware Error

    Windows 8.1 kept popping up to install update.  I would refuse it.  Then recently it updated itself.  After that, i noticed it took a little longer for my laptop to boot.  It would show a blue screen for a little bit then it would boot.  Yesterday, I received an error (can't remember what it said) needed to restart because of an error.  I ran the Hard Disk Test and Quick and then the extensive test.  it stops at one sec remaining and noting happens.  I did get a fatal device hardware error.  Can the update to Windows 8.1 cause this to happen?
    This question was solved.
    View Solution.

    Hi,
    That's what it looks like to me too.
    You may be able to find a replacement drive for your notebook from the HP Parts Store.
    I worked on behalf of HP.

  • Can't boot into bios due to SMART Hard Disk Error

    My hard drive failed and now im getting constant pop ups to replace it
    I'm thinking about transfering windows to an external drive until I can replace the internal one but I need access to the bios to set the boot priorty options anytime I use f10 to boot into the bios it's like it's skipped over and gives me the smart hard disk error screen where my only options are to boot into windows or run diagnostics.
    I tried running diagnostics but each test resulted in an instant failure.

    Yes take out hard drive and connect it to another PC. Get help from your service manual for procedure for taking it out:
    http://h10032.www1.hp.com/ctg/Manual/c02659236
    Adapter, something like this: http://www.amazon.com/Anker®-Converter-Adapter-Cable-included/dp/B005B3VO24
    For configuring boot order, try this:
    http://support.hp.com/in-en/document/c00364979
    Tap f9 key soon after powering on notebook, if the above don't work.
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • HP G62 Notebook has Smart Hard disk error

    My HP G62 Notebook PC just stopped in the middle of my doing homework the other day and came up with an error code on the screen. I have went in through the BIOS and ran a hard disk test. It passes the first 2 tests and then fails on the third one.
    I have tried to back it up over a month, just in case it was a virus but that doesn't seem to make a difference. Now upon start up it says the following:
    "SMART Hard Disk Error
    The SMART Hard disk check has detected an imminent failure. To ensure not data loss, please backup the content immediatly and run the Hard Disk Test in System Diagnostics.
    Hard Disk 1 (301)"
    Does this mean my computer is done? Do I need a new hard drive? I'm definetly not the most tech savvy person. I did see another board where they suggested removing the hard drive and then reinstalling it. This doesn't seem to make a difference. HELP!!

    Hi,
    The Smart error would indicate that the Hard Drive is failing and needs to be replaced.
    If your notebook is still under warranty, contact HP and arrange to have the drive replaced - you can check your warranty status Here.
     If you live in the US, contact HP Here.
    If you are in another part of the world, start Here.
    If you are out of warranty and would like a guide on replacing the Hard Drive yourself, please let me know - include the full Model No. and Product No. of your G62 series notebook - see Here for a further explanation.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Device removal error.....   The card reader ejects itself

    Hello, I'm new to macs and purchased a Mac Mini a week ago. Things were going well until I needed to move pictures from a digital camera to my mac.
    I purchased a GE 19 in 1 card reader which is built for mac os x. I hook it up to a usb port and try and look at some pictures. After a few seconds, the card reader ejects itself and I get the "device removal" error. The error will then continue to appear over and over again. When I try to eject the reader using by clicking eject, the reader ejects and only reappears a minute later and ejects itself again. I've tried using another usb port and I know for sure that its not the cable.
    If I can't get any prompt answer here, I'm going to call the Genius bar tomorrow morning and ask about the problem. <Edited by Moderator>

    More often than not, when a card reader or other similar device disconnects from the USB bus because it is drawing too much power. In a card reader, that would not unusually be triggered not by the card reader itself, but by the insertion of a card causing it to read the content and mount the volume on the Mac's desktop. Part of the problem is that while everything is invariably quoted as USB compatible, many such devices don't entirely comply with the USB standard, resulting in conflicts or load demands which may be borderline, or worse.
    You may be able to get more reliable performance from your reader by disconnecting other USB devices when you are trying to use it, or by using it with a powered USB hub. Occasionally, borderline problems can be temporarily resolved by connecting the device to a different port, if necessary switching devices around. Alternatively, it may be that in an attempt to produce a device with the greatest flexibility in terms of media compatibility, they have compromised on components.
    I would generally recommend a card reader designed for the specific card type you need. These are typically far more reliable. If you need to use different types of card media, then be prepared to spent on a well established brand with a reputation in this sector of the market, such as SanDisk.

Maybe you are looking for

  • How to Play videos on my TV iPhone 4S

    My new 4S will not stream video to my tv. I am using a HDMI dock. My other iPhone 4 works perfectly. The new 4S works for a minute then video starts to scramble picture and then stops. Looks like it should work says "sending video to TV". Also my new

  • Error in AUC Settlement (Urgent)

    Hello Every body, I got an error while posting the AUC Capitalization in the settlement rule i have given 100% and amount which needs to be capitalized can also be seen in the Asset Explorer ....the error is as follows.. <u><b>Error:</b></u> Line Ite

  • What type of firewire cable for 2006 iMac?

    I asked at Best Buy and they gave me 4pin, didn't work. I looked online and got 9 pin, it fits the MBPro we're trying to connect the iMac to but not the iMac. So I know I need a 9pin for the MBPro but what should the other end be? Everything I saw on

  • Server based Office 2013 - New template, template not showing header content in one work station only

    This is for Server based Office 2013 - using Word  All computer work stations are running Windows 7 professional I have Word 97 - 2003 templates saved on the shared drive on the server. I have these templates "pinned" to the opening page on all serve

  • N80 dialing bug

    I've experienced a bug with my N80 since I got it -- after a while (can't tell how long, differs) it refuses do dial. No matter what I try -- select a name from the contact list, dial a number directly, dial someone from the log -- it does nothing, a