Primavera Web services does not work properly when I move the database.

I am using primavera web services to integrate a winform application (using c#) with primavera. It was successful with my original database, but when I decided to move my database to another server ( It is a sql server 2005 database and I use backup/restore to move database to new server). I changed the database configuration for the webservices so that it refers to the new database on the new server.
I used the following code to login to webservices:
                AuthenticationService authService = new AuthenticationService( );
                authService.CookieContainer = new System.Net.CookieContainer( );
                authService.Url = _P6wsAuthenticationService;
                Login loginObj = new Login( );
                loginObj.UserName = pv_Username;
                loginObj.Password = pv_Password;
                loginObj.DatabaseInstanceId = 1;
                loginObj.DatabaseInstanceIdSpecified = true;
                loginObj.VerboseFaults = true;
                loginObj.VerboseFaultsSpecified = true;
                LoginResponse loginReturn = authService.Login( loginObj );
                cookieContainer = authService.CookieContainer;
               ReadDatabaseInstancesResponseDatabaseInstance[] readdbInstances = authService.ReadDatabaseInstances("");
the loginResponse for the new server is true and it shows the db properties correctly in readdbInstances. But when I try to read projects from database it returns nothing. It doesn't give me any error message just the response message is null.
Could anybody help me with this issue?
Thank you

Thanks Frank for help us, but when I writing this comment we are doing at home. So, we going to test the page in a stand alone weblogic server 10.3.5. We wrote the URL as :
" http://<our ip>:7001/myApp/faces/index.jspx "
this application contains a report desing and compiled with iReport 4.5.1 ( last version in the moment ), we can see the report when I press a commanButton without any problem.
But now, we need try your suggestions in the office, and give you more information about it . Thanks for the moment.
In the Afternoon we gonna give you more information about it .

Similar Messages

  • My iPod does not work properly when plugged into the computer. How to fix?

    I have a 4th generation 40 gigabyte iPod, non-color.
    Today, I plugged it into my computer to update my playlists.
    My iTunes and Windows were lagged down. Eventually, when things caught up, my iTunes didn't show my iPod as being connected. I looked in My Computer, and it didn't say iPod -- it said "Removable Disk". I couldn't disconnect my iPod via Windows, even using the Safely Remove Hardware didn't work.
    After looking around here and trying things like Disk Mode and Resetting the iPod, nothing worked. I can't get the iPod to work with the iPod Updater so I can try restoring it.
    I dunno really what to do. If it's a hardware problem, then I'm not going to bother to get it repaired, since the music that's currently on it plays perfectly fine still.
    I just dunno what else to try.

    you basically are stuck. apple won't do crap for you. i went to the apple store today because my second ipod crashed (the first one they replaced) and they won't do anything for me and told me i had to buy a new one (2 in 1 1/2 years is what happened) so they wanted me to buy a third one when their product obviously *****. and the manager even basically admitted that the ipod that they claim is durable and relible isn't. that people go through 3-4 a year. the supposed "apple genius" told me to send it out to a third party repair. he wouldn't even look at it and lectured me for not getting the extended warranty. if you look at the website below and read you'll find that a lot of people got screwed over like me with the extended warranty;
    http://www.consumeraffairs.com/computers/apple_ipod.html
    put it this way i won't go back to that apple store again or purchase another ipod. ill keep my piece of none working crap

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

  • Application does not work properly when I press a CommanButton

    Hi all, I am having a problem with weblogic 10.3.5.
    It turns out that an application built with JDeveloper 11.1.5, I test it, and everything goes well in the JDeveloper integrated Weblogic.
    But when deploy in a standalone weblogic 10.3.5 server, the application does not work properly when I press a CommanButton to go to another page search (the property "action" is set correctly) , but nothing happens, stays in the same home page. Similarly when a commanButton link to run a task-flow, It do not work , however in the JDeveloper integrated Weblogic it runs correctly.
    How I can solve these problems?
    Thanks.

    Thanks Frank for help us, but when I writing this comment we are doing at home. So, we going to test the page in a stand alone weblogic server 10.3.5. We wrote the URL as :
    " http://<our ip>:7001/myApp/faces/index.jspx "
    this application contains a report desing and compiled with iReport 4.5.1 ( last version in the moment ), we can see the report when I press a commanButton without any problem.
    But now, we need try your suggestions in the office, and give you more information about it . Thanks for the moment.
    In the Afternoon we gonna give you more information about it .

  • My program does not work properly. I run the program but it is not capable of adding any of my ebooks and when I connect my ereader, it recognises the device but  it does not add any ebook either.  I uninstalled the program and reinstalled again but nothi

    my program does not work properly. I run the program but it is not capable of adding any of my ebooks and when I connect my ereader, it recognises the device but  it does not add any ebook either.
    I uninstalled the program and reinstalled again but nothing gone better-
    What should I do?
    Best regards

    Do you have Logitech gaming software installed on the PC? If so, perhaps try the suggestion from the following post:
    Re: Everytime I close Itunes it loads back up

  • I've an iphone 4, its headset jack is not working properly, when i insert the earphone no sound is coming, but when i keep the earphone little out i can hear the sound but very low sound is coming out, I've never dropped my iphone please help...

    I've an iphone 4, its headset jack is not working properly, when i insert the earphone no sound is coming, but when i keep the earphone little out i can hear the sound but very low sound is coming out, I've never dropped my iphone please help...

    bunjamin wrote:
    There is now a new line in BBM that wasn't there before which covers the message that I am typing, so I can't actually see what I am typing.
    Hi bunjamin,
    just go to BlackBerry World, and update all your apps including BBM.
    bunjamin wrote:
    Every time I unlock my phone, my screen enlarges so I can't really see much on the hub/notification screen and it defaults to the hub which it didn't do before).
    you can turn off the magnifying glass :
    device settings >> accessibility >> magnify mode >> OFF
    you can deactivate the "reset to Hub view" :
    hub >> overflow (bottom right button) >> Settings >> Display and actions >> Return to Default View When Idle >> OFF
    bunjamin wrote:
    my ringtone is much softer than it was previously
    yes, BlackBerry has acknowledged this bug in this article from the public knowledge base:
    KB36755 After upgrading BlackBerry 10 OS to version 10.3.1 the volume for notifications is noticed to be significantly lower than in the previous version
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Image display control scrolling does not work properly when zoomed in

    I am using a ROI on an image in the image display control. When zooming into the image to fine-adjust the positioning of the ROI, the image scrolling does not work properly. As far as I understand, the image should scroll automatically when the ROI is leaving the visible area. However, the scrolling behaviour seems to depend on the origin of the Labview panel, not the origin of the image display control, which might require to move the ROI way out of the visible area before the scrolling takes place. In other words: the coordinate system of the image display control is shifted with respect to the true visible image area, depending on where you place it on the front panel. As a consequence, when clicking on a ROI which is in the visible area, but is outside of what Labview thinks is the visible area, it might immediately jump to the left border of the image, making the positioning of the ROI really difficult.
    Has anyone noticed this behaviour, and what would be a reliable solution to avoid this? 
    Dirk

    Hello,
    no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
    I have attached a VI for simplicity (although there is hardly any code in it).
    If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position. 
    I think it is a bug in the implementation of the image display control.
    Thanks,
    Dirk
    Attachments:
    scrolling.vi ‏818 KB

  • Subvi does not work properly when called inside a vi

    Hello Every body
    thanks for your help. i am using a sub vi for sine signal generation. as a vi it works fine. but when i called this subvi inside another VI it gives some problems. for example timer indicator works properly.it reinitializes as well in the sub vi, but in the main VI it does not work properly. means does not count the time.in the sub vi on the fly i can change the values of frequency and amplitude in real time, but when i use as sub vi, it does not reponse as i change the values in the control arrays.similarly pause and continue works properly in the sub vi, but once again in the main VI, it does not work properly.graph indicator also work properly in the sub vi. but here once again it does not work properly in the main VI.the pause resume indicator also does not blink, when it is continue. in the subvi it blinks very well.generally why the sub vi does not work properly inside the VI?i am sending my VI and sub vis.
    any tips would be highly appreciated.
    thanks
    Regards
    Attachments:
    vi.zip ‏87 KB

    I just want to add some more details to Dan's answer. The subVI is acting exactly like you've coded it. The mistake is in understanding how subVIs work. When you call a subVI (or a function in any other language), you pass some parameters to it, the subVI does it's thing and returns values. the subVI does not accept new parameters from the calling VI until it returns to the caller and the caller runs the subVI again. In your case, you have a subVI with a while loop. You have some front panel control wired to the subVI's stop terminal. When first called, the value is false. So the subVI will keep running until the subVI's stop button becomes true but you cannot change it from main until the subVI finishes and returns so the subVI will never stop. As Dan says, the solution is pass references of front panel controls to the subVI and have the subVI monitor those references for changes and to update references to indicators on Main. You subVI does not need any front panel controls or indicators of it's own.

  • My keyboard does not work properly when texting etc

    Hi All
    My keyboard does not work properly on my Iphone 4 when texting, it brings the wrong letter or wont let me choose the one i want.  Anything i can do to correct this or is it a visit to apple?
    Cheers for any support in advance.

    I have rebooted and synchronised it with the mac.  I dont even have to touch the screen now and some letters get picked up.

  • Delphi Client Web Service does not work fine

    I wrote a Hello web service with a method and with a parameter, and import WSDL in delphi, All works very well. But when I add two parameters I receive the error below:
    java.lang.IllegalStateException: Cannot obtain java type for: {urn:CalculatorFacade/types}add
    at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:710)
    at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1187)
    at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1045)
    at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:972)
    Using the google I discovery this tutorial.
    http://www.javapassion.com/planning/handsonbyol/netbeanswebservices
    I wrote a calculator web service with Netbeans and deploy it on jboss-4.0.3.
    So I was change my project parameters to change wscompile parameters: rpcliteral, strict
    When I execute the code: x = calc.add(a, b)
    I receive another error:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: javax.xml.rpc.JAXRPCException: No such operation 'int_1'
    at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:273)
    at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
    at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
    I test this web service in a Java client and it works very fine, but with delphi client it does not work :(
    Can someone help me?
    []s, Welington B. Souza

    Welington,
    Could you post the source of the web service that gives you the error?

  • Dynamic Height in Graphs does not work properly when the graph is in an list

    Help please,
    I have an report in SQL Server 2008 (SP1) Reporting Services which uses Dynamic Height to dynamically increase the size of the graph for the data. For a single dataset this works great!
    When I place this graph in a list/tablix (to display this graph on each group) things go bad... Only the first graph on every page is resized, all other graphs on the same page are equal in size of the first!
    When I place a pagebreak on the lists property all graphs are drawn fine!! But then I will have a page for every question in my data (which can be a lot!)
    What is going on here? Please help.

    Hi Jerry,
    thanks for your reply, but this does not work. The graphs are now all the same size (the size of the first one that is), and on the same page for that matter...
    It looks like the renderer calculates the value of the dynamic height only once on a page in stead of each graph. That's a bug in my opinion.
    Any suggestions on how to fix this?
    The inner workings of the report are like this: The data contains anwers from a survey by question, so i have a unknown count of answers with each question; I placed a list on my report with a groupingproperty on the question asked. On this list i place a horizontal bar-graph which must grow in height when it is too small. The dynamic height should be calculated like this =70 + (CountDistinct(AnswerValue.Value)*10) & "pt".
    When i place this calculation in a textbox, every item in the group is calculated correctly. Each graph is drawn, but the graphs are sized only to the size of the first graph on the page. When I place a pagebreak after each list-repeat (so i get each question on a seperate page) each graph is drawn correctly! This results however in more than 100 pages with all used for just a few centimeters (think about trees!).
    I'm using SQL 2008 / SSRS2008 with SP1 by the way ( without SP1, the behaviour is the same).
    Any more suggestions are appreciated.
    Danny

  • Simple JAX-WS web service does not work on WS7u6

    Hello,
    I am trying to deploy a very simple JAX-WS web service on WS7u6, but it is not working. The same service deployed on Tomcat 6.0.16 works fine.
    The service I'm trying to deploy is from a tutorial on the Netbeans website: [http://netbeans.org/kb/docs/websvc/jax-ws.html] - it is a simple calculator web service that adds two ints and returns an int.
    I follow the tutorial to the letter, but when I attempt to deploy on WS7, it fails as follows:
    [10/Dec/2009:21:21:44] info (25757): CORE3276: Installing a new configuration
    [10/Dec/2009:21:21:44] info (25757): WEB0118: SSO is enabled in virtual server [dadydude.qisc.com]
    [10/Dec/2009:21:21:44] info (25757): WEB0100: Loading web module in virtual server [dadydude.qisc.com] at [/wstest]
    [10/Dec/2009:21:21:44] info (25757): WSSERVLET12: JAX-WS context listener initializing
    [10/Dec/2009:21:21:44] info (25757): wsdl cannot be found from DD or annotation. Will generate and publish a new WSDL for SEI endpoints.
    [10/Dec/2009:21:21:44] failure (25757): WSSERVLET11: failed to parse runtime descriptor: class: org.me.calculator.jaxws.Add could not be found
    class: org.me.calculator.jaxws.Add could not be found
         at com.sun.xml.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:271)
         at com.sun.xml.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:562)
         at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:509)
         at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
         at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.createSEIModel(RuntimeEndpointInfo.java:170)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.init(RuntimeEndpointInfo.java:317)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.createModelAndMetadata(WSServletContextListener.java:200)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:120)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4456)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5113)
         at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:235)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
         at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:70)
         at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:491)
         at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:304)
    [10/Dec/2009:21:21:44] failure (25757): WebModule[/wstest]PWC1275: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
    WSSERVLET11: failed to parse runtime descriptor: class: org.me.calculator.jaxws.Add could not be found
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:131)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4456)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5113)
         at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:235)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
         at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:70)
         at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:491)
         at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:304)
    Caused by: class: org.me.calculator.jaxws.Add could not be found
         at com.sun.xml.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:271)
         at com.sun.xml.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:562)
         at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:509)
         at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
         at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.createSEIModel(RuntimeEndpointInfo.java:170)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.init(RuntimeEndpointInfo.java:317)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.createModelAndMetadata(WSServletContextListener.java:200)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:120)
         ... 11 more
    [10/Dec/2009:21:21:44] failure (25757): PWC1306: Startup of context /wstest failed due to previous errors
    [10/Dec/2009:21:21:44] failure (25757): Null component com.sun.web-3:type=JspMonitor,name=jsp,WebModule=//localhost/wstest,J2EEApplication=null,J2EEServer=none
    [10/Dec/2009:21:21:44] info (25757): CORE3280: A new configuration was successfully installed
    [10/Dec/2009:21:21:44] info (25757): WSSERVLET13: JAX-WS context listener destroyedAm I simply missing something obvious here?
    Thanks,
    Bill

    OK, I've made significant progress.
    As I suspected, JAX-WS was indeed supposed to generate the missing class for me, but while it appears to do so automatically when deploying in Tomcat, it is necessary to hack your build.xml file to add the generated classes to your WAR file for WS7. Reference [http://developers.sun.com/webtier/reference/techart/websvcs_nb.html] for a (rather dated) description of how to deploy a JAX-WS service on WS7 (using Netbeans 5.0!).
    Note that as of NB6.7/6.8 much of the manual process is now done automatically by Netbeans, but curiously, not the part that actually causes the web service code to be generated. For that, we have to manually modify the build.xml to include a "-pre-dist" target that invokes the wsgen Ant task.
    This is the target I added to build.xml for this sample calculator service:
      <target name="-pre-dist">
        <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
          <classpath path="${javac.classpath}:${j2ee.platform.classpath}"/>
        </taskdef>
        <wsgen
          debug="true"
          keep="true"
          destdir="build/web/WEB-INF/classes"
          resourcedestdir="build/web/WEB-INF/classes"
          xendorsed="true"
          sei="org.me.calculator.CalculatorWS">
          <classpath>
            <pathelement path="${javac.classpath}:${j2ee.platform.classpath}"/>
            <pathelement location="${java.home}/../lib/tools.jar"/>
            <pathelement location="build/web/WEB-INF/classes"/>
          </classpath>
        </wsgen>
      </target>That will allow the project to build and deploy successfully, and I am now able to view my WSDL.
    However, at first the service itself was not working. After a bit of casting about, I determined that this was due to the fact that at some point I had added the METRO library to the project rather than simply the JAX-WS 2.2 library. After returning the configuration to just use JAX-WS and doing a clean build and deploy, the simple web service now works!
    One thought does emerge from all this, though: if the built in support for Tomcat runs wsgen for me when I deploy an app to that container, perhaps the Sun WS7 team needs to update their Netbeans plugin to do this for us, too. I should probably open a support case on that...
    OK, now on to real work. ;-)
    Bill

  • Web service does not work in production mode

    Hi!
    I created a small web service with the WorkShop in BEA Weblogiv 7.0.
    If I start the server in production mode, then my service is not visible. It can
    not be accessed, neither its WSDL. In development mode it works. I tried to create
    an EAR file and deploy it, but when I do that in the web console, it all says
    that it is deployed, but I can not access the WSDL or anything else.
    Does the WSDL URL change in production mode ?
    Help !
    Best regards,
    David

    Thanks for reply.
    It seems nothing matters.
    I changed wlw-config file:
         <hostname>localhost</hostname>
         <protocol>http</protocol>
         <http-port>8002</http-port>
         <service>
              <class-name>com.mycom.MyWS</class-name>
              <protocol>http</protocol>
         </service>
    I changed wsdl soap address
    to
    http://localhost:8002/MyWS/com/mycom/MyWS.jws
    I deployed it to managed server at port 8002 and admin server at 7001. but still, admin server works and the other one does not.

  • Keyboard layout switching does not work properly when set to switch per document

    Hello,
    I have two input languages (U.S. / Bulgarian - Phonetic) and I am having problems when using the "Automatically switch to a document's input source" option (available in the Input Sources prefs pane).
    The problem is that when I switch applications (using CMD + Tab) the input is not changed to the correct one, until an input field in the new application is selected. If I don't manually select an input field, the language will remain whatever it was with the previous application I used. As a consequence, none of my shortcuts work, as they are defined in the U.S language, and not in Bulgarian.

    Hi,
    does this problem appear immediately after buying the machine? Maybe its a good idea to recover the machine, perhaps it could be a software issue.
    On the other side it sounds a little bit like a hardware related problem so if the recovery doesnt brought you joy then you should contact a local service partner for help.
    Here you can find the nearest ASP in your country (just click on the link and you will find some):
    http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT
    Nice weekend
    Cheers

  • Calling SAP Web Services does not work

    Hi,
    using this little program, I try to get a simple "Hello World" from a webservice in SAP.
    require 'soap/rpc/driver'
    s = SOAP::RPC::Driver.new('http://server:port/sap/bc/srt/rfc/sap/Z_WS_RUBY/', 'urn:sap-com:document:sap:soap:functions:mc-style')
    s.add_method("Z_WS_RUBY", "StringIn" )
    p s.Z_WS_RUBY("World")
    Unfortunately there is an error:
    in `parse_local': unknown namespace qualifier: xml (XSD::NS::FormatError)
         from D:/rubyy/InstantRails/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:532:in `decode_attrs' ETC
    In the WebService Recorder I find that the call is going through with request:
      <?xml version="1.0" encoding="utf-8" ?>
    - <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <env:Body>
    - <n1:Z_WS_RUBY xmlns:n1="urn:sap-com:document:sap:soap:functions:mc-style" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <StringIn xsi:type="xsd:string">World</StringIn>
      </n1:Z_WS_RUBY>
      </env:Body>
      </env:Envelope>
    but response ist like:
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Client</faultcode>
      <faultstring xml:lang="en">Operation not supported</faultstring>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>
    What am I mssing here ?
    Any help is appreciated.
    Regards
    Marcus
    Message was edited by:
            Marcus Schiffer

    Hi,
    I am using SAP WAS Rel. 7.0. SAPWAS is of 0.11.
    Couldnt retype your exact example, but I hope it works with my simple program too.
    I activated the trace, here the result:
    ignored element: Feature
    ignored element: useFeature
    Wire dump:
    = Request
    ! CONNECT TO myserver:myport
    ! CONNECTION ESTABLISHED
    POST /sap/bc/srt/rfc/sap/Z_WS_RUBY?sap-client=800&sap-language=EN HTTP/1.1
    SOAPAction: "urn:sap-com:document:sap:rfc:functions"
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic gzhtfzu=
    User-Agent: SOAP4R/1.5.5 (/146, ruby 1.8.6 (2007-03-13) [i386-mswin32])
    Date: Thu, 14 Jun 2007 08:14:05 GMT
    Content-Length: 332
    Host: myserver:myport
    <?xml version="1.0" encoding="utf-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <env:Body>
        <n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:rfc:functions">
          <STRINGIN>dd</STRINGIN>
        </n1:ZTestWsRuby>
      </env:Body>
    </env:Envelope>
    = Response
    HTTP/1.1 500 Internal Server Error
    set-cookie: sap-usercontext=sap-language=EN&sap-client=800; path=/
    set-cookie: sap-recorder_sid=%2cc%3dID6-95D8115601C54670F9E2221A00000000--1%2co%3jhggz; path=/; domain=mydomain
    content-type: text/xml; charset=utf-8
    content-length: 264
    sap-srt_id: 20070614/101842/v1.00_final_6.40/466FCFE5847D01C50000000095D81156
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Operation not supported</faultstring></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    The call does not ecven go through to the Function Module in SAP.
    Here is the call that worked from my VB  Program:
    <?xml version="1.0" encoding="utf-8" ?>
    - <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <env:Body>
    - <n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:soap:functions:mc-style" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <STRINGIN xsi:type="xsd:string">wert</STRINGIN>
      </n1:ZTestWsRuby>
      </env:Body>
      </env:Envelope>

Maybe you are looking for

  • Envio do XML

    Olá pessoal. Estamos pensando em fazer o envio automático do XML para os clientes, no momento do retorno aprovado da NFe. Gostaria de saber se alguém já fez isso, e se tem alguma dica / receita de bolo sobre o assunto. Vamos ver se o que eu tenho em

  • Question about warranty extension

    Hi I got my satellite pro from UK, but I am not residing there. I am trying to buy warranty extension, but all the sites require UK credit card address. I contacted reseller in Egypt who said that I have to buy it from UK not Egypt, is it true? and h

  • TS2771 why my iPod touch is not turning on

    why is that my iPod touch does not turning on???

  • HR ABAP : Need more information for Import/Export files in HR

    Hi Everybody, I have been in ABAP programming for pretty long but very new to ABAP HR.I am making a Self-Learning attempt in ABAP HR where I have been able to acheive a fair understanding of Infotype,LDB,Screen Modifications,RMAC macros... But presen

  • JMS Listener Bug??

    I am implementing SIM 7.0 and have enabled a JMS Listener resource. The resource works well and we have no issues with it. The problem is when you try to edit the Synchronization policy for the JMS Listener and then cancel it without saving i.e. 1. S