You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sameer Tiwari (JIRA)" <ji...@apache.org> on 2012/05/01 16:13:53 UTC
[jira] [Commented] (AXIS2-5306) No schemaLocation for import of
http://rmi.java/xsd
[ https://issues.apache.org/jira/browse/AXIS2-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265828#comment-13265828 ]
Sameer Tiwari commented on AXIS2-5306:
--------------------------------------
Can somebody please have a quick look and respond on this issue?
> No schemaLocation for import of http://rmi.java/xsd
> ---------------------------------------------------
>
> Key: AXIS2-5306
> URL: https://issues.apache.org/jira/browse/AXIS2-5306
> Project: Axis2
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.6.2
> Reporter: Sameer Tiwari
> Priority: Critical
> Attachments: notification-service.wsdl
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org