Error in Getting Response From Server

Hi,
I am getting the following error when i call a remote method of java class using lcd's:
RPC Fault faultString="[MessagingError
message='Destination 'loginService' either does not
exist or the destination has no channels defined(and the
application does not define any default channels.)']"
faultCode="InvokeFailed" faultDetail="Couldn't establish
a connection to 'loginServlet'"
Can anybody resolve this problem.
Regards,
Naveen.

Hi,
I am getting the following error when i call a remote method of java class using lcd's:
RPC Fault faultString="[MessagingError
message='Destination 'loginService' either does not
exist or the destination has no channels defined(and the
application does not define any default channels.)']"
faultCode="InvokeFailed" faultDetail="Couldn't establish
a connection to 'loginServlet'"
Can anybody resolve this problem.
Regards,
Naveen.

Similar Messages

  • Webstart error: missing version response from server

    We deploy our application by Java Webstart. This works most of the time, but at the last update one client got an error when trying to update.
    The jnlp-file looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File -->
    <jnlp spec="1.0+" codebase="http://xyz/webstart/app/" href="webstart.jnlp"> 
    <information>   
      <title>xyz</title>   
      <vendor>xyz</vendor>   
      <homepage href="http://xyz"/>   
      <description>xyz</description>   
      <description kind="short">xyz</description>   
      <icon href="images/rvicon.gif"/>   
      <icon kind="splash" href="images/rvicon.gif"/>   
      <offline-allowed/> 
    </information> 
    <security>     
      <all-permissions/> 
    </security> 
    <resources>   
      <j2se version="1.5+"/>   
      <jar href="webstart.jar" version="0.52"/> 
    </resources> 
    <application-desc main-class="UseWebStartWithIsiplan"/>
    </jnlp>The webstart__V0.52.jar is located in $CATALINA_HOME/webapps/webstart/app.
    The user gets the following error:
    Exception:
    com.sun.deploy.net.FailedDownloadException: Ressource konnte nicht geladen werden: (http://xyz/webstart/app/webstart.jar, 0.52)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)Nested Exception:
    java.io.IOException: missing version response from server
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)The client is running Windows XP SP2 and Java version 1.6.0_03-b05.
    The Server is Apache Tomcat 5.5.23, Java version 1.5.0_12-b04.
    Has anybody an idea what might cause this error?

    We've gotten that error when the servlet runs out of memory. The out of memory error happens when it is building the jardiff file, which can require a lot of memory to do. The servlet caches any jardiffs that it builds, so most users won't see the problem because they are requesting prebuilt jardiffs.
    We've found that the servlet runs best with 256mb of max heap. But I'd imagine we are more heavy weight users than most.
    I've done some stress testing on the 1.5 servlet and did not find any real memory leaks.
    Based on the open source version of the servlet (which I believe is pretty much the same as the one distributed with java 1.5).
    It is keeping objects in memory to track which jardiffs it has built and to track any accessed resource (jar or jnlp). If your server has enough different jars and jnlps then you need to give it enough memory to keep all these small objects in memory.
    If you want be 100% sure you've given it enough memory, then you can write a script which does a HEAD request on every possible jar and jnlp inside of the servlet. That should max out its memory usage.

  • Why im getting too long time in getting response from server in RMI???

    I'm using RMI architecture. On my server side I put this method getRubricHierarchy() which returns the ArrayList of Test class objects. everything is working properly fine.
    Im getting response properly, problem is its taking very long time in getting the response. method populate and create ArrayList in 0 second at server side but its taking more than 20 seconds to get response at client side.
    My arraylist size is 30,000.
    Any suggestions to reduce the time.
    below you can see the code.
    public List<Test> getRubricHierarchy(String strTree,String gblCombinedRepSectionID,String gblCompleteRepSectionID,String gblCompleteRepertoryID,Map authMap) {
            Connection con=null;
              ResultSet rs = null;
              List<Test> l = new ArrayList<Test>();
              List allList = new ArrayList();
              con = createDBCon();
              rs = con.createStatement().executeQuery("select * from rubric where sectionid='"+gblCombinedRepSectionID+"' order by orders");
              Map parentMap = new HashMap();
              while (rs.next()) {
                   Test rNode = new Test();
                String rubrid = rs.getString("id");
                   final String desc = rs.getString("name");
                   rNode.setRubricName(desc);
                   rNode.setRubricID(rubrid);
                   rNode.setAuthor(rs.getString("repid"));
                   final int levlId = rs.getInt("levelid");
                   rNode.setRubLevel(levlId);
                   rNode.setCrossRef(rs.getString("CROSSREFERENCE"));
                   final String parentID = rs.getString("PARENTID");
                   rNode.setParentID(parentID);
                   rNode.setSectionID(rs.getString("sectionid"));
                   if (parentID.equals("0")) {
                        l.add(rNode);
                   allList.add(rNode);
                   List rmdyLst = (List) parentMap.get(parentID);
                   if (rmdyLst == null) {
                        rmdyLst = new ArrayList();
                        parentMap.put(parentID, rmdyLst);
                   rmdyLst.add(rNode);
              rs.close();
              for (Iterator iterator = allList.iterator(); iterator.hasNext();) {
                   Test rNodes = (Test) iterator.next();
                   List remdyLst = (List) parentMap.get(rNodes.getRubricID());
                   if (remdyLst != null) {
                        rNodes.setChildren(remdyLst);
                        for (Iterator iterator2 = remdyLst.iterator(); iterator2.hasNext();) {
                             Test rn = (Test) iterator2.next();
                             rn.setParent(rNodes);
            }catch(Exception e){
                e.printStackTrace();
              return l;
         }here is my Test Class
    public class Test implements  Serializable,Cloneable , MutableTreeNode{
            private String strRubricID,strOldRubricID,strRubricName,strCrossRef,Author,strParentID,strSectionID;
            private int rubLevel;
            private List remedyList;
            private List children = new ArrayList();
            private Test parent;
            private int order;
            private String AuthorName="";
            private String abbr;
            private String treeType="";
            private int noRem=-1;
            private boolean isAddAsChild=false;
            private String strRubricHie="";
            private String user="";
            public static final Enumeration<TreeNode> EMPTY_ENUMERATION = new Enumeration() {
                public boolean hasMoreElements() {
                    return false;
                public TreeNode nextElement() {
                    throw new NoSuchElementException("No more elements");
            public Test(){
            public void setUser(String user){
                this.user = user;
            public String getUser(){
                return user;
            public void setRubricHierarchy(String s){
                this.strRubricHie=s;
            public String getRubricHierarchy(){
                return strRubricHie;
            public Test(String treeType){
                this.treeType = treeType;
            public void setAddAsChild(boolean b){
                this.isAddAsChild=b;
            public boolean isAddAsChild(){
                return isAddAsChild;
            public Test getUserObject(){
                return this;
            public  void setRubricID(String id){
                this.strRubricID = id;
            public  String getRubricID(){
                return strRubricID ;
            public  void setOldRubricID(String id){
                this.strOldRubricID = id;
            public  String getOldRubricID(){
                return strOldRubricID ;
            public  void setParent(Test r){
                this.parent = r;
            public  Test getParent(){
                return parent;
            public  void setParentID(String id){
                this.strParentID = id;
            public  String getParentID(){
                return strParentID;
            public  void setSectionID(String id){
                this.strSectionID= id;
            public  String getSectionID(){
                return strSectionID;
            public  void setRubricName(String name){
                this.strRubricName = name;
            public  String getRubricName(){
                return strRubricName;
            public  void setAuthorName(String name){
                this.AuthorName = name;
            public  String getAuthorName(){
                return AuthorName;
            public  void setAuthorAbbrivation(String a){
                this.abbr = a;
            public  String getAuthorAbbrivation(){
                return abbr;
            public void setRubLevel(int rubLevel) {
                this.rubLevel = rubLevel;
            public int getRubLevel() {
                return rubLevel;
            public void setCrossRef(String strCrossRef) {
                this.strCrossRef = strCrossRef;
            public String getCrossRef() {
                return strCrossRef ;
            public void setRemedyList(List remedyList) {
                this.remedyList = remedyList;
            public List getRemedyList() {
                return remedyList;
            public void setAuthor(String Author) {
                this.Author = Author;
            public String getAuthor() {
                return Author;
            public void setChildren(List list) {
                this.children = list;
            public List getChildren() {
                return children;
            public void setOrder(int o){
                this.order = o;
            public int getOrder(){
                return order;
            public void setNumberOfRemedies(int no)
                this.noRem = no;
            public int getNumberOfRemedies()
                return noRem;
            public String toString() {
                String value="";
                value=strRubricName+ " ("+abbr+")";
                return value;
            public Object clone(){
                Test rubric = new Test();
                rubric.Author = Author;
                rubric.children = children;
                rubric.order = order;
                rubric.parent = parent;
                rubric.remedyList = remedyList;
                rubric.rubLevel = rubLevel;
                rubric.strCrossRef = strCrossRef;
                rubric.strParentID = strParentID;
                rubric.strRubricID = strRubricID;
                rubric.strRubricName = strRubricName;
                rubric.strSectionID = strSectionID;
                return rubric;
         @Override
         public TreeNode getChildAt(int paramInt) {
              if (this.children == null) {
                   throw new ArrayIndexOutOfBoundsException("node has no children");
              final TreeNode node = (TreeNode) children.get(paramInt);
              return node;
         @Override
         public int getChildCount() {
              if (this.children == null) {
                   return 0;
              return children.size();
         @Override
         public int getIndex(TreeNode paramTreeNode) {
              // TODO Auto-generated method stub
              return 0;
         @Override
         public boolean getAllowsChildren() {
              return true;
         @Override
         public boolean isLeaf() {
              return children.isEmpty();
         @Override
         public Enumeration children() {
              if (this.children == null) {
                   return EMPTY_ENUMERATION;
              Vector v = new Vector(this.children);
              return v.elements();
         @Override
         public void insert(MutableTreeNode newChild, int paramInt) {
              if (newChild == null) {
                   throw new IllegalArgumentException("new child is null");
              MutableTreeNode oldParent = (MutableTreeNode) newChild.getParent();
              if (oldParent != null) {
                   oldParent.remove(newChild);
              newChild.setParent(this);
              if (children == null) {
                   children = new ArrayList();
              children.add(paramInt, newChild);
         @Override
         public void remove(int childIndex) {
              MutableTreeNode child = (MutableTreeNode) getChildAt(childIndex);
              children.remove(childIndex);
              child.setParent(null);
         @Override
         public void remove(MutableTreeNode aChild) {
              if (aChild == null) {
                   throw new IllegalArgumentException("argument is null");
              if (!isNodeChild(aChild)) {
                   throw new IllegalArgumentException("argument is not a child");
              remove(getIndex(aChild)); // linear search
         public boolean isNodeChild(TreeNode aNode) {
              boolean retval;
              if (aNode == null) {
                   retval = false;
              } else {
                   if (getChildCount() == 0) {
                        retval = false;
                   } else {
                        retval = (aNode.getParent() == this);
              return retval;
         @Override
         public void setUserObject(Object paramObject) {
              // TODO Auto-generated method stub
         @Override
         public void removeFromParent() {
              MutableTreeNode parent = (MutableTreeNode) getParent();
              if (parent != null) {
                   parent.remove(this);
         @Override
         public void setParent(MutableTreeNode paramMutableTreeNode) {
              parent = (Test) paramMutableTreeNode;
          * Returns the path from the root, to get to this node. The last element in
          * the path is this node.
          * @return an array of TreeNode objects giving the path, where the first
          *         element in the path is the root and the last element is this
          *         node.
         public TreeNode[] getPath() {
              return getPathToRoot(this, 0);
          * Builds the parents of node up to and including the root node, where the
          * original node is the last element in the returned array. The length of
          * the returned array gives the node's depth in the tree.
          * @param aNode
          *            the TreeNode to get the path for
          * @param depth
          *            an int giving the number of steps already taken towards the
          *            root (on recursive calls), used to size the returned array
          * @return an array of TreeNodes giving the path from the root to the
          *         specified node
         protected TreeNode[] getPathToRoot(TreeNode aNode, int depth) {
              TreeNode[] retNodes;
               * Check for null, in case someone passed in a null node, or they passed
               * in an element that isn't rooted at root.
              if (aNode == null) {
                   if (depth == 0)
                        return null;
                   else
                        retNodes = new TreeNode[depth];
              } else {
                   depth++;
                   retNodes = getPathToRoot(aNode.getParent(), depth);
                   retNodes[retNodes.length - depth] = aNode;
              return retNodes;
        }

    You have an O(N**2) algorithm at the end that is rather ill-considered. It seems to me at first glance that it could be combined int the previous loop.

  • Socket Programming-Not getting response from server.

    Hi,
    I am trying to communicate with server using java socket programming, I am getting the response for first two times third time when I am trying to write some thing I am not getting any response from the server,
    I am writing to migrate the vb code to Java the vb is using a c++ dll to communicate with the server and we tried accessing the dll from java using JNI then it is working fine, this dll is dependent on windows so we want to avoid the dependency with windows that is why we are going for socket programming, Please help on this.

    Hi,
    I am writing the data in forms of string
    like
    Socket sockt = new Socket(ipAddress, portNo);     
    out= new DataOutputStream(sockt.getOutputStream());
    in = new DataInputStream(sockt.getInputStream());
    out.writeBytes("Serv");
    out.writeBytes("Serv,32");
    out.writeBytes("home,serv32,run.prg,sucess");
    these are the strings to communicate with server.
    I am trying to read the same
    StringBuffer buf = new StringBuffer();
              byte b = '\0';
                        try {
                   while ((b = in.readByte()) != '\0')
                        char ch = (char) b;
                        buf.append(ch);
              } catch (Exception e) {
                   System.out.println(e.getStackTrace());
    we are getting the response for the first two strings, but for the third string it is getting stucked for some time and returing some junk values like '???' we are sending the same string using JNI and it is working.

  • Edge Animate - Sending To Then Getting Response From Server (XML)

    Hi,
    I’m very new to Edge animate, and I’m trying to send some things to a server, which would send a response back. XML.
    I’m trying:
    jQuery.ajax({
        type: "POST",
        datatype: "xml",
        url: "http://www.pandorabots.com/pandora/talk-xml",
        data: {botid: 'cb1f78b4fe36bf6d', input: 'test'},
        success: function(xml) {
             //jQuery(xml).find('result').each(function(){
                      //var tts = jQuery(this).find('that').text();
                      sym.$("xmlOutput").html('Pandorabot success.');    
        error: function() {
            sym.$("xmlOutput").html('Pandorabot error.');
    But can’t seem to get it working.
    The logs indicate that it does send, but I don’t receive an answer.
    What am I doing wrong, and where should I start?
    Thanks for any help, or links.

    Did you put  some trace or alert in your success function and check if its hit?

  • Response from server contained an error

    halo
    i've got problem, while working with dashbords, an error occures 'Response from server contained an error', have any one has an idea what can cause such error?
    thanks for all hints
    ana

    Can you be a little more specific? Please post the full error message that you are getting.
    Looks like this is related to obiee server response to the presentation server. Make sure your OC4J and BI server service is on while running a request.
    Thanks
    Prash

  • Error: Request failed. unexpected response from server. the status code of response is '0' in safari browser

    Hi,
    I am using Javascript serializer to send server side code to javascript.
    This works in IE 9, Mozilla, chrome. But fails with error in Safari as "request failed. unexpected response from server. the status code of response is '0' . status text of the response is ". null
    My code is as below:
    <asp:UpdatePanel ID="panLayout" runat="server">
    <ContentTemplate>
    <div id="divloadingImage" >
    <br />
    <asp:Image ID="imgLoading" runat="server" ImageUrl="/images/rotate.gif" ImageAlign="Middle" />
    <br />
    </div>
    <div id="banner-fade" >
    <ul id="carousel" class="bjqs">
    </ul>
    </div>
    <asp:Timer ID="timerRSS" Interval="1" runat="server" ontick="timerRSS_Tick"></asp:Timer>
    </ContentTemplate>
    </asp:UpdatePanel>
    In CS:
    protected void timerRSS_Tick(object sender, EventArgs e)
    DisplayImages();
    divloadingImage.Visible = false;
    bannerfade.Visible = true;
    timerRSS.Enabled = false;
    private void DisplayImages()
    List<SharePointListItem> allImages = GetallImages();
    JavaScriptSerializer serializer = new JavaScriptSerializer();
    string json = serializer.Serialize(allImages);
    string script = string.Format("<script type=\"text/javascript\">var allSliderImages={0}</script>", json);
    if (!this.Page.ClientScript.IsClientScriptBlockRegistered("clientScripts"))
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScripts", script, false);
    string scriptRegister = string.Format("<script type=\"text/javascript\">FetchData();</script>");
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScriptData", scriptRegister, false);
    In Javascript:
    function FetchData() {
    if (typeof allSliderImages !== "undefined") {
    for (var i = 0; i < allSliderImages.length; i++) {
    Imagesuccess(allSliderImages[i].fileleafref, allSliderImages[i].filedirref, allSliderImages[i].caption1);
    var rota = $("#bannerfade");
    rota.css("display", "block");
    function Imagesuccess(fileLeaf, fileDir, UserCaption1) {
    var ul = $('#bannerfade > ul');
    var li;
    var filename = fileLeaf;
    var dir = fileDir;
    var caption1 = UserCaption1;
    var sfils = filename;
    filename = dir + '/' + filename;
    var imageCaptionData;
    if (caption1 != null && caption1 != "") {
    imageCaptionData = '<div class="HeadlineDiv">' + caption1 + '</div>';
    li = $('<li>' + imageCaptionData + '<div class="SubHeadline" style="color:white;">' + '<br/></div>' + '<img src="' + filename + '"/>' + '</li>');
    ul.append(li);
    $('#bannerfade').bjqs({
    height: 354,
    width: 970,
    responsive: true
    Below is the data I get:
    <script type="text/javascript">
    var allSliderImages=[{"id":"1","Title":"Scenic","caption1":"scenic","fileleafref":"02.jpg","filedirref":"/s/Test/Library"},
    {"id":"2","Title":"nature","caption1":"scenic2","fileleafref":"C034.jpg","filedirref":"/s/Test/Library"},
    {"id":"3","Title":"Tiff","caption1":"Tiff","fileleafref":"test_tiff.tif","filedirref":"/s/Test/Library"}]</script>
    The data is shown in all browsers except Safari. How to fix this?
    Update: I have checked this link: http://sharepoint.sureshc.com/2013/07/unexpected-response-data-from-server-in.html
    but that did not help.
    Thanks

    Hi,
    From
    this documentation, though SharePoint 2013 supports several commonly used web browsers including Apple Safari (latest released version), it is not guarantee
    that SharePoint 2013 can run perfectly on all these browsers, “certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps”.
    According to the code provided, it seems more relate to ASP.NET, therefore, a suggestion is that you can open a thread in ASP.NET forum, communities there will be more familiar
    with this issue:
    http://forums.asp.net/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Error:- "Response from server contained an error"

    Hi,
    I'm getting an error while running the dashboard Report.
    It works find for two times but third time the error message comming up in dashboard Top left below dashboard prompts saying "Error:- Response from server contained an error"
    I'm accesiing OBI dashboard from EBS.
    Appreciate your help.
    Thanks

    Hi,
    We also faced the same error some time back when clciking on dashboard items is logging us out.Finally we moved the dashboard pages from that dashboard to newly created dashboard and the problem is resolved.
    Please check below step also .
    1) When you are clicking on Dashboard was all services are up and running ,oc4j?
    2. check your dashboard link also might be having symbols like &????.
    Hope this help's
    Thanks
    Satya

  • Getting response from a server

    im working on a simple smtp mail sender and i want to get responses to the commands that i post to the DataOutputStream. in all examples on java.sun.com and the net, there is a while block used for reading response from the server.
    while((c=is.read()) != -1)
    sb.append((char)c);
    this code did not work on my application, i changed a bit like below:
    /**Get a response from server */
    private String getResponse() throws IOException {
    int CR = 0, LF = 0;
    int c;
    char ch;
    int count = 0;
    StringBuffer sb = new StringBuffer();
    while (true) {
    c = is.read();
    count++;
    ch = (char) c;
    if (c == -1) {
    break;
    else if (ch == '\r') {
    CR = count;
    else if (ch == '\n') {
    LF = count;
    if (LF - 1 == CR) { //CRLF seen
    sb.append(ch);
    break;
    sb.append(ch);
    return sb.toString();
    and i use this function in my code as
    os.write( ("QUIT\r\n").getBytes());
    System.out.println("QUIT : " + getResponse());
    this works, because it returns a single line that has a CRLF at the and of line, but if i want to read multi-line responses like greeting messages, i tried to change the code as on the examples like:
    /**Get a response from server */
    private String getResponse() throws IOException {
    int c;
    StringBuffer sb = new StringBuffer();
    while((c=is.read()) != -1)
    sb.append((char)c);
    return sb.toString();
    this code does not work, because i cannot reach the end of stream. i want to post one command and get one response for that command.
    how an algorithm i can develop to solve this problem?
    thanks for all help.

    i changed the code and it's working well now:
    /**Get a response from server */
    private String getResponse() throws IOException {
    int c;
    if((c=is.read()) != -1) {
    byte[] b = new byte[is.available()];
    StringBuffer sb = new StringBuffer();
    is.read(b);
    sb.append((char)c);
    for(int i=0; i<b.length; i++) {
    sb.append((char)b);
    return sb.toString();
    return "";
    if you directly use is.available() when there is no response currently available, it returns 0. we wait for the first character of server response, and then use is.available(). thanks to Kay_Kadner for the idea.
    (im a newbie, and dont know how to convert byte[] to String, tried b.toString() but only got meaningless values)

  • No response from server error when transferring files

    Hi, I just changed my website over from a windows based server to a linux one. I wasn't having any problems and now I can't get my files to load onto the server. I contacted the server provider who has tested things on their end and say the problem is with dreamweaver. This is the message I have been getting...
    no response from server while transferring file.... reconnecting.
    It says that it is putting the file, and then I receive this message again..
    no response from server while transferring. 2 attempts made.  try again or cancel?
    if I hit cancel, then it starts putting the file and sometimes it goes through, sometimes not.
    Now if I manage to get the file through, when I post it on the web and click on the link it says the file is damaged or corrupted.
    Anyone have any idea how to correct this? I am new to dreamweaver and web design and I thought maybe the problem has to do with my site definition, but I can't see that there is a problem. I have noticed that before I changed the site definition for the linux server I could easily preview my pages in the browser without having to post it to the site. Now when I try to preview my pages it says that I have to put it to the site in order to view it. Could that be related?
    I am working on a Mac and haven't installed a firewall.
    Any help is much appreciated!!!
    Thank you!

    In the Site Settings (Advanced Mode) there is an option where you set up the remote connection for Passive FTP.  Try checking that box and see if you are able to connect.

  • Missing version field in response from server when accessing resource

    HY
    I have a problem to use the version option of the webstart. All files are included into a war file (created with jar cvf xx.war *). This file is in the webapps folder of the Tomcat 5. The jar files from the dev. kit (jnlp-servlet.jar, jaxp.jar, parser.jar are in the WEB-INF/lib folder).
    Every time I get the same message:
    Category: Download Error
    Missing version field in response from server when accessing resource: (http://localhost:8080/version/ademo.jar, 1.1)
    Do I need a aditional file or must Iwrite a servlet???
    Whats wrong
    my JNLP file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File fuer HJP3 WebStart Demo-Applikation -->
    <jnlp codebase="http://localhost:8080/version/" href="wstest.jnlp">
    <information>
    <title>HJP3 WebStart Demo Application</title>
    <vendor>Guido Krueger</vendor>
    <homepage href="http://www.javabuch.de"/>
    <description>HJP3 WebStart Demo Application</description>
    <icon href="wstest.gif"/>
    <offline-allowed/>
    </information>
    <information locale="de">
    <description>HJP3 WebStart Demo-Applikation</description>
    <offline-allowed/>
    </information>
    <security>
    <!-- <all-permissions/> //-->
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="ademo.jar" version="1.1"/>
    </resources>
    <application-desc main-class="Listing3813"/>
    </jnlp>
    my version.xml file
    <jnlp-versions>
    <resource>
    <pattern>
    <name>ademo.jar</name>
    <version-id>1.1</version-id>
    </pattern>
    <file>application.jar</file>
    </resource>
    </jnlp-versions>
    my web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>

    The log file (jnlpdownloadservlet.log) would show the calls for the jar files if the servlet is called for the jar files (did you correct the url mapping ?). Here are a few lines from a log file
    JnlpDownloadServlet(4): Initializing
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfeguiv.jnlp
    JnlpDownloadServlet(3): User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfeguiv.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfeguiv.jnlp lastModified=Tue Mar 23 17:06:56 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfeguiv.jnlp
    JnlpDownloadServlet(4): lastModified: 1080058016000 Tue Mar 23 17:06:56 CET 2004
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.gif
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.gif isPlatformRequest=false]
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.jar
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.jar isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfegui.jar lastModified=Tue Mar 23 17:06:30 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfegui.jarYou should see all the resources (including jar files) being requested, and whether a specific version was requested or not (in above sample, not).
    I put my problems down to my application server (Orion) as other people seem to have this working. The deployment in Orion keeps the original timestamps of the jars, so I explicitly set the timestamps in my build so that the unchanged jars do not have to be downloaded all the time. This is not really a good solution, so maybe someone else can give further advice.
    Brendan

  • Missing version filed in response from server when accessing resource

    Hello all,
    I am getting the following error when trying to do jar version download in webstart.
    Missing version field in response from server when accessing resource(http://lo alhost:8080/jdc/jnlp/new/SimpleGUI.jar,1.0)
    I am using Tomcat 5.5.
    My web.xml looks like this,
    <web-app>
    <display-name>Tomcat Examples</display-name>
    <description>
    Tomcat Example servlets and JSP pages.
    </description>
    <servlet>
    <servlet-name>
    JnlpDownloadServlet
    </servlet-name>
    <servlet-class>
    jnlp.sample.servlet.JnlpDownloadServlet
    </servlet-class>
    <init-param>
    <param-name>
    logLevel
    </param-name>
    <param-value>
    DEBUG
    </param-value>
    </init-param>
    <init-param>
    <param-name>
    logPath
    </param-name>
    <param-value>
    c:\logs\jnlpdownloadservlet.log
    </param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>/jdc/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jar</url-pattern>
    </servlet-mapping>
    </web-app>
    My version.xml file.
    <jnlp-versions>
    <resource>
    <pattern>
    <name>SimpleGUI_v1.0.jar</name>
    <version-id>1.0</version-id>
    <locale>en_US</locale>
    <locale>en</locale>
    </pattern>
    <file>SimpleGUI_v1.0.jar</file>
    </resource>
    <resource>
    <pattern>
    <name>SimpleGUI_v2.0.jar</name>
    <version-id>2.0</version-id>
    <locale>en_US</locale>
    <locale>en</locale>
    </pattern>
    <file>SimpleGUI_v2.0.jar</file>
    </resource>
    </jnlp-versions>
    My jnlp file is as follows,
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/jdc/jnlp/new" href="SimpleGUI.jnlp">
    <information>
    <title>SimpleGUI</title>
    <vendor>Java Developer Connection</vendor>
    <homepage href="/jdc/jnlp/new/index.html" />
    <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <resources>
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+ " />
    <jar href="SimpleGUI_v1.0.jar" version="1.0"/>
    <jar href="AddLogic_v1.0.jar"/>
    <jar href="SimpleGUI_v2.0.jar" version="2.0"/>
    <jar href="AddLogic_v2.0.jar"/>
    </resources>
    <application-desc main-class="com.logic.SimpleGUI" />
    </jnlp>
    For the codebase if I use $$codebase then it reports an error showing,
    The field <jnlp> codebase has an invalid value:$$codebase
    I think the JnlpDpwnloadServlet is not getting invoked. I cant figure out my mistake. I am tired searching in forums and there is no proper answer to this problem. Any help is appreciated.
    Thanks in advance.
    Regards,
    robi

    Thanks for including all your code. I've ran into version download problems before also. In the jar reference don't include the actual __V.jar file name, just include all pre __V.jar. <jar href="AddLogic_v1.0.jar"/> would become <jar href="AddLogic.jar"/>. Now I haven't done it with the version.xml before I just did it with making file named *__V.jar.
    I just re-read all that you did, if you title your files with the __V.jar notation you don't need a version.xml file.
    <jar href="SimpleGUI_v1.0.jar" version="1.0"/>
    Should become
    <jar href="SimpleGUI.jar" version="1.0"/>
    And you would have SimpleGUI_v1.0.jar on your server. Also might need it to be a capital "V" not sure.
    Message was edited by:
    javaunixsolaris

  • No response from server HTTP 500

    Hi all,
    I am new to Widget world (in fact this is the first one). I am trying to implement Job Monitoring widget as explained in the weblog:
    /people/sergio.cipolla/blog/2007/02/19/widgets-benefits-jobs-monitor-video
    I have created wrapper function module : ZBP_JOB_SELECT_SM37B
    Created Webservice called:  ZBP_JOB_SELECT_SM37B
    I tested this web service (via web browser providing WSDL url in web services navigator) and it is working fine.
    When i specify the web service URL in Widget prefernces and click on search, i m getting error "No response from server". I have followed all the steps mentioned in the web log but still i am getting errors.
    I am accessing internet via proxy. Can this be a issue?
    Also i read other posts regarding the same issue, which suggested to Enable all logons in SICF. Can some one give details as how to enable all logons in SICF?
    Correct answers will be rewarded.
    Thanks a lot.
    Rashmi

    Hi Sergio,
    The WSDL is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:simpleType name="RfcException.Message.Number">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char12">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="12" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char128">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="128" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char18">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char20">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="20" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char32">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="32" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char40">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char64">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="64" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char70">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char8">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="clnt3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="time">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      <xsd:pattern value="\d\d:\d\d:\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:complexType name="TBTCJOB">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="INTREPORT" type="tns:char40" />
      <xsd:element name="STEPCOUNT" type="xsd:int" />
      <xsd:element name="SDLSTRTDT" type="tns:date" />
      <xsd:element name="SDLSTRTTM" type="tns:time" />
      <xsd:element name="BTCSYSTEM" type="tns:char32" />
      <xsd:element name="SDLDATE" type="tns:date" />
      <xsd:element name="SDLTIME" type="tns:time" />
      <xsd:element name="SDLUNAME" type="tns:char12" />
      <xsd:element name="LASTCHDATE" type="tns:date" />
      <xsd:element name="LASTCHTIME" type="tns:time" />
      <xsd:element name="LASTCHNAME" type="tns:char12" />
      <xsd:element name="RELDATE" type="tns:date" />
      <xsd:element name="RELTIME" type="tns:time" />
      <xsd:element name="RELUNAME" type="tns:char12" />
      <xsd:element name="STRTDATE" type="tns:date" />
      <xsd:element name="STRTTIME" type="tns:time" />
      <xsd:element name="ENDDATE" type="tns:date" />
      <xsd:element name="ENDTIME" type="tns:time" />
      <xsd:element name="PRDMINS" type="tns:numeric2" />
      <xsd:element name="PRDHOURS" type="tns:numeric2" />
      <xsd:element name="PRDDAYS" type="tns:numeric3" />
      <xsd:element name="PRDWEEKS" type="tns:numeric2" />
      <xsd:element name="PRDMONTHS" type="tns:numeric2" />
      <xsd:element name="PERIODIC" type="tns:char1" />
      <xsd:element name="DELANFREP" type="tns:char1" />
      <xsd:element name="EMERGMODE" type="tns:char1" />
      <xsd:element name="STATUS" type="tns:char1" />
      <xsd:element name="NEWFLAG" type="tns:char1" />
      <xsd:element name="AUTHCKNAM" type="tns:char12" />
      <xsd:element name="AUTHCKMAN" type="tns:clnt3" />
      <xsd:element name="SUCCNUM" type="xsd:int" />
      <xsd:element name="PREDNUM" type="xsd:int" />
      <xsd:element name="JOBLOG" type="tns:char20" />
      <xsd:element name="LASTSTRTDT" type="tns:date" />
      <xsd:element name="LASTSTRTTM" type="tns:time" />
      <xsd:element name="WPNUMBER" type="xsd:int" />
      <xsd:element name="WPPROCID" type="xsd:int" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="BTCSYSREAX" type="tns:char32" />
      <xsd:element name="JOBCLASS" type="tns:char1" />
      <xsd:element name="PRIORITY" type="xsd:int" />
      <xsd:element name="EVENTCOUNT" type="tns:char8" />
      <xsd:element name="CHECKSTAT" type="tns:char1" />
      <xsd:element name="CALENDARID" type="tns:char2" />
      <xsd:element name="PRDBEHAV" type="tns:char1" />
      <xsd:element name="EXECSERVER" type="tns:char20" />
      <xsd:element name="EOMCORRECT" type="xsd:int" />
      <xsd:element name="CALCORRECT" type="xsd:int" />
      <xsd:element name="REAXSERVER" type="tns:char20" />
      <xsd:element name="RECLOGSYS" type="tns:char10" />
      <xsd:element name="RECOBJTYPE" type="tns:char10" />
      <xsd:element name="RECOBJKEY" type="tns:char70" />
      <xsd:element name="RECDESCRIB" type="tns:char10" />
      <xsd:element name="TGTSRVGRP" type="tns:char40" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TBTCJOB_BK">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="INTREPORT" type="tns:char40" />
      <xsd:element name="STEPCOUNT" type="xsd:int" />
      <xsd:element name="SDLSTRTDT" type="tns:date" />
      <xsd:element name="SDLSTRTTM" type="tns:time" />
      <xsd:element name="BTCSYSTEM" type="tns:char32" />
      <xsd:element name="SDLDATE" type="tns:date" />
      <xsd:element name="SDLTIME" type="tns:time" />
      <xsd:element name="SDLUNAME" type="tns:char12" />
      <xsd:element name="LASTCHDATE" type="tns:date" />
      <xsd:element name="LASTCHTIME" type="tns:time" />
      <xsd:element name="LASTCHNAME" type="tns:char12" />
      <xsd:element name="RELDATE" type="tns:date" />
      <xsd:element name="RELTIME" type="tns:time" />
      <xsd:element name="RELUNAME" type="tns:char12" />
      <xsd:element name="STRTDATE" type="tns:date" />
      <xsd:element name="STRTTIME" type="tns:time" />
      <xsd:element name="ENDDATE" type="tns:date" />
      <xsd:element name="ENDTIME" type="tns:time" />
      <xsd:element name="PRDMINS" type="tns:numeric2" />
      <xsd:element name="PRDHOURS" type="tns:numeric2" />
      <xsd:element name="PRDDAYS" type="tns:numeric3" />
      <xsd:element name="PRDWEEKS" type="tns:numeric2" />
      <xsd:element name="PRDMONTHS" type="tns:numeric2" />
      <xsd:element name="PERIODIC" type="tns:char1" />
      <xsd:element name="DELANFREP" type="tns:char1" />
      <xsd:element name="EMERGMODE" type="tns:char1" />
      <xsd:element name="STATUS" type="tns:char1" />
      <xsd:element name="NEWFLAG" type="tns:char1" />
      <xsd:element name="AUTHCKNAM" type="tns:char12" />
      <xsd:element name="AUTHCKMAN" type="tns:clnt3" />
      <xsd:element name="SUCCNUM" type="xsd:int" />
      <xsd:element name="PREDNUM" type="xsd:int" />
      <xsd:element name="JOBLOG" type="tns:char20" />
      <xsd:element name="LASTSTRTDT" type="tns:date" />
      <xsd:element name="LASTSTRTTM" type="tns:time" />
      <xsd:element name="WPNUMBER" type="xsd:int" />
      <xsd:element name="WPPROCID" type="xsd:int" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="BTCSYSREAX" type="tns:char32" />
      <xsd:element name="JOBCLASS" type="tns:char1" />
      <xsd:element name="PRIORITY" type="xsd:int" />
      <xsd:element name="EVENTCOUNT" type="tns:char8" />
      <xsd:element name="CHECKSTAT" type="tns:char1" />
      <xsd:element name="CALENDARID" type="tns:char2" />
      <xsd:element name="PRDBEHAV" type="tns:char1" />
      <xsd:element name="EXECSERVER" type="tns:char20" />
      <xsd:element name="EOMCORRECT" type="xsd:int" />
      <xsd:element name="CALCORRECT" type="xsd:int" />
      <xsd:element name="REAXSERVER" type="tns:char20" />
      <xsd:element name="RECLOGSYS" type="tns:char10" />
      <xsd:element name="RECOBJTYPE" type="tns:char10" />
      <xsd:element name="RECOBJKEY" type="tns:char70" />
      <xsd:element name="RECDESCRIB" type="tns:char10" />
      <xsd:element name="TGTSRVGRP" type="tns:char40" />
      <xsd:element name="PROGNAME" type="tns:char40" />
      <xsd:element name="XPGPROG" type="tns:char128" />
      <xsd:element name="EXTCMD" type="tns:char18" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="BTCSELECT">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="USERNAME" type="tns:char12" />
      <xsd:element name="FROM_DATE" type="tns:date" />
      <xsd:element name="FROM_TIME" type="tns:time" />
      <xsd:element name="TO_DATE" type="tns:date" />
      <xsd:element name="TO_TIME" type="tns:time" />
      <xsd:element name="NO_DATE" type="tns:char1" />
      <xsd:element name="WITH_PRED" type="tns:char1" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="PRELIM" type="tns:char1" />
      <xsd:element name="SCHEDUL" type="tns:char1" />
      <xsd:element name="READY" type="tns:char1" />
      <xsd:element name="RUNNING" type="tns:char1" />
      <xsd:element name="FINISHED" type="tns:char1" />
      <xsd:element name="ABORTED" type="tns:char1" />
      <xsd:element name="ABAPNAME" type="tns:char40" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="RfcException.Message">
    - <xsd:sequence>
      <xsd:element name="ID" type="xsd:string" />
      <xsd:element name="Number" type="tns:RfcException.Message.Number" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="ZBP_JOB_SELECT_SM37B.RfcException">
    - <xsd:sequence>
      <xsd:element name="Name" type="tns:ZBP_JOB_SELECT_SM37B.RfcExceptions" />
      <xsd:element name="Text" minOccurs="0" type="xsd:string" />
      <xsd:element name="Message" minOccurs="0" type="tns:RfcException.Message" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TableOfTBTCJOB">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:TBTCJOB" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TableOfTBTCJOB_BK">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:TBTCJOB_BK" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:simpleType name="ZBP_JOB_SELECT_SM37B.RfcExceptions">
    - <xsd:restriction base="xsd:string">
      <xsd:enumeration value="INVALID_DIALOG_TYPE" />
      <xsd:enumeration value="JOBNAME_MISSING" />
      <xsd:enumeration value="NO_JOBS_FOUND" />
      <xsd:enumeration value="SELECTION_CANCELED" />
      <xsd:enumeration value="USERNAME_MISSING" />
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:element name="ZBP_JOB_SELECT_SM37B.Exception" type="tns:ZBP_JOB_SELECT_SM37B.RfcException" />
    - <xsd:element name="ZBP_JOB_SELECT_SM37B">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="ENDDATE" minOccurs="0" type="tns:date" />
      <xsd:element name="ENDTIME" minOccurs="0" type="tns:time" />
      <xsd:element name="JOBSELECT_DIALOG" type="tns:char1" />
      <xsd:element name="JOBSELECT_JOBLIST" minOccurs="0" type="tns:TableOfTBTCJOB" />
      <xsd:element name="JOBSELECT_JOBLIST_B" type="tns:TableOfTBTCJOB_BK" />
      <xsd:element name="JOBSEL_PARAM_IN" minOccurs="0" type="tns:BTCSELECT" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="ZBP_JOB_SELECT_SM37BResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="JOBSELECT_JOBLIST" type="tns:TableOfTBTCJOB" />
      <xsd:element name="JOBSELECT_JOBLIST_B" type="tns:TableOfTBTCJOB_BK" />
      <xsd:element name="JOBSEL_PARAM_OUT" type="tns:BTCSELECT" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="ZBP_JOB_SELECT_SM37B">
      <wsdl:part name="parameters" element="tns:ZBP_JOB_SELECT_SM37B" />
      </wsdl:message>
    - <wsdl:message name="ZBP_JOB_SELECT_SM37BResponse">
      <wsdl:part name="parameters" element="tns:ZBP_JOB_SELECT_SM37BResponse" />
      </wsdl:message>
    - <wsdl:message name="exception00">
      <wsdl:part name="exception00" element="tns:ZBP_JOB_SELECT_SM37B.Exception" />
      </wsdl:message>
    - <wsdl:portType name="ZBP_JOB_SELECT_SM37B">
    - <wsdl:operation name="ZBP_JOB_SELECT_SM37B">
      <wsdl:input message="tns:ZBP_JOB_SELECT_SM37B" />
      <wsdl:output message="tns:ZBP_JOB_SELECT_SM37BResponse" />
      <wsdl:fault name="exception00" message="tns:exception00" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZBP_JOB_SELECT_SM37BSoapBinding" type="tns:ZBP_JOB_SELECT_SM37B">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="ZBP_JOB_SELECT_SM37B">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="exception00">
      <soap:fault name="exception00" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ZBP_JOB_SELECT_SM37BService">
    - <wsdl:port name="ZBP_JOB_SELECT_SM37BSoapBinding" binding="tns:ZBP_JOB_SELECT_SM37BSoapBinding">
      <soap:address location="http://bladecx1.vshodc.lntinfotech.com:8000/sap/bc/srt/rfc/sap/ZBP_JOB_SELECT_SM37B?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    The Web Service URL specified in Widget Prefernces is:
    http://bladecx1.vshodc.lntinfotech.com:8000/sap/bc/srt/rfc/sap/ZBP_JOB_SELECT_SM37B?sap-client=100&wsdl=1.1
    The only thing that i I have modified in the original widget is the name of Function Module in the main.js file. The function Module created by me is  'ZBP_JOB_SELECT_SM37B'.
    Regards,
    Rashmi

  • How to get response from an asynchronous BPEL process in Java

    I'm experimenting with BPEL and doesn't seem to be able to get response from an asynchronous BPEL process. Here's the deal:
    I have a BPEL process that takes a string as input, and gives another string as output. This is a asyncronous process.
    I want to initiate this BPEL process as a web service so I generate a Webservice Proxy in JDeveloper 10g (10.1.3.0.4). The function to call the process is now called "initiate" and takes three arguments: the input string, a "org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo" and a
    "org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID".
    HTTP-Analyzer shows that invoking the BPEL process with initiate("somestring", null, null) results in sending a SOAP message to the BPEL process, which returns a "202 Accepted". How do I get the response from the process? My intuition tells me that I have to use that second argument, that EnpointReferenceType thing. How do I use that?
    Another question: If a asynchronous BPEL process does not exists (so the endpoint does not exist) the Java proxy does not throw an error when runned. It does not even sends a message. It exits with status 0! (This happens for example when deploying a new version of a process and when the "old" version is undeployed). Calling a non-existing synchronous BPEL process, the Java proxy DOES throw an error.

    Clemens,
    That all sounds logical. But somehow it is still a mystery for me ... Somehow I don't see what should be done.
    To call the async BPEL process I have the following procedure:
    initiate(String input, org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo, org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID)
    The first argument is the input for my BPEL process. The second is the address to a webservice that should handle the callback, right? The third is a messageID (makes sense, but why of the type AttributedURI?).
    Here lies my problem. It is not clear to me how these EndpointReferenceType & AttributedURI work. I can't find anything on the net about it. The AXIS examples as where mentioned earlier use other types (namely the "org.xmlsoap.schemas.ws.addressing.MessageID" and "org.xmlsoap.schemas.ws.addressing.ReplyTo") which are completely different.
    What I did so far:
    - I created an webservice proxy that listens on the onResult endpoint of the BPEL process.
    - I created an webservice proxy that calls the BPEL process through the initiate procedure, but it is not completely clear to me how to construct the EndPointreferenceType replyTo, and the MessageID. I did something like this:
    EndpointReferenceType replyTo = new EndpointReferenceType();
    // callback service running on local machine
    // This URI class is the java.net's version
    URI replyToURI = new URI("http://vaccinatie:8988/syncro-callback-context-root/stringconcatCallbackBindingPort");
    // This AttributedURI is the org.xmlsoap.schemas.ws._2003._03.addressing's version
    AttributedURI address = new AttributedURI();
    // the only public methos that made sense to me:
    address.set_value(replyToURI);
    replyTo.setAddress(address);
    // call the BPEL process
    myPort.initiate("test123", replyTo, address);
    But the above doesn't work (largely because I don't know what I'm doing here prob.:-) ) It does send the "test123" message, and the BPEL process does process it, but I don't seem to get the callback right.
    I hope this makes my problems somewhat clearer. I hope someone can help me, because I'm just a beginner in this whole "web service area" and seems to do something terribly wrong here, because it should be very simple. Thx.

  • Socket Problem, Problem about printing the response from server

    Or even I am not sure if there is a response from server. My code is like that
                   //Connection between, httpProxy and target adress
                   Socket clientSocket= new Socket("some host", 80);
                   DataOutputStream outToServer= new DataOutputStream(clientSocket.getOutputStream());
                   BufferedReader inFromServer= new BufferedReader(new     InputStreamReader(clientSocket.getInputStream()));
                   //The first way
                   //outToServer.writeBytes("GET http://www.somehost.com/ HTTP/1.1"+ '\n');
                   //System.out.println("FROM SERVER: "+inFromServer.readLine());
                   //The second way
                   PrintWriter out_writer = new PrintWriter(outToServer, false);
                   out_writer.println("GET http://www.somehost.com/ HTTP/1.1");
                   out_writer.println("Host: localhost:80");
                   out_writer.println("Connection: Close");
                   out_writer.println();
                                        //The second way cont.
                   String s = null;
                   while ((s = inFromServer.readLine()) != null)
                   System.out.println(s);
                   inFromServer.close();There are the two ways that I tried, and both of them didn't work. Why they are not working ? How can I solve it ?

    problem is solved, the reason it doesn't work is i didn't write the parts correctly. I mean it should be exactly the same packetIf you mean that the entire request must be sent in a single IP packet, this isn't true.
    and host name must also be exactly sent to server.Of course.
    They must be like in the wireshark.No. The actual data you send must be the same, but the server has no way of telling about what the IP packet looks like or how many there were.
    One of your problems is that newlines in HTTP are defined as \r\n. In one case you're just using \n and in the other case you're using whatever the platform line terminator is. Neither is correct.

Maybe you are looking for

  • Mac Client Certificate not found

    Hey all, i'm trying to install the ConfigMgr client on a mac system. The site is 2012 SP1 RTM however since there is no release yet of the mac client i'm using the mac client install from the SP1 beta install folder (Suggested by Microsoft) I followe

  • Inserting the picture

    Hi, I want insert the picture into the table through PL/SQL program or through DML Please help me in this issue. Thanks Reddy.

  • Importing from desktop issues

    Wheneve i try to import songs from the desktop, itunes freezes and i get the spinning beachball, (or what ever it is). I then have to force quite itunes. THis happens whenever i try to import anything that is not coming off a cd any ideas? thanks

  • Premiere Elements reports low disk space error right at the end

    Ok, so I wait for 5 hours for a 3 hour long video to get saved to my computer.  It goes to 99% and then I get a low disk space error.  After I clear up space, and click Ok, it starts all over again.  Firstly, why doesn't PrE calculate/predict how muc

  • I send to be apple developer,and put the credit details,and more than 3 days passed and no reply

    i send to be apple developer,and put the credit details,and more than 3 days passed and no reply