Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5306

No schemaLocation for import of http://rmi.java/xsd

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 1.6.2
    • None
    • databinding
    • None

    Description

      I have attached a wsdl (notification-service) used by me

      Axis2 version details: Axis2 1.6.1
      I am using following command to generate server side classes "wsdl2java.sh"

      *./bin/wsdl2java.sh -uri notification-service.wsdl -d adb -s -ss -sd -ssi -o samples/notification-service-adb/src*

      On doing so i get following error:

      *[WARN] No schemaLocation for import of http://io.java/xsd; compilation may fail*
      [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail
      [WARN] No schemaLocation for import of http://response.types.functions.xyz.abcwer/xsd; compilation may fail
      [WARN] No schemaLocation for import of http://service.notification.nbi.xyz.abc.com; compilation may fail
      *[WARN] No schemaLocation for import of http://rmi.java/xsd; compilation may fail*
      [WARN] No schemaLocation for import of http://notification.dto.nbi.service.xyz.abc.com/xsd; compilation may fail
      [WARN] No schemaLocation for import of http://dto.nbi.service.xyz.abc.com/xsd; compilation may fail

      From ant build i prepare aar file and copy it to repository\services folder and start axis2 server, after this when i send request from my application to axis2 i get following error:
      <faultstring>Prohibited package name: java.rmi.xsd</faultstring>

      Could you please provide me any pointer on how to get over this issue without having to modify WSDL file!!

      Thanks,
      Sameer

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kishanthan Kishanthan Thangarajah
            sameerti Sameer Tiwari
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment