Schema validator issue #686
Replies: 5 comments 7 replies
-
Hello, Your code is only vaguely related to your xml request. The following is not tested but you should get the gist: class SObjectType(ComplexModel):
__namespace__ = 'urn:sobject.enterprise.soap.sforce.com'
Id = Integer64
Company_ID__C = Integer64
Company_Size_Text__c = Unicode
class NotificationType(ComplexModel):
Id = Integer64
sObject = SObjectType
class SomeService(ServiceBase):
__tns__ = 'http://soap.sforce.com/2005/09/outbound'
@rpc(Intege64, Integer64, Unicode, NotificationType)
def notifications(ctx, OrganizationId, ActionId, SessionId, Notification):
# ... |
Beta Was this translation helpful? Give feedback.
-
Sorry I cant fix your code for you. the error messages are quite clear, you don't understand what they say? |
Beta Was this translation helpful? Give feedback.
-
this means "I never heard of the tag you are talking about". Is there a schema with tns = "http://soap.sforce.com/2005/09/outbound" ? |
Beta Was this translation helpful? Give feedback.
-
Hey Burak! <?xml version='1.0' encoding='UTF-8'?>
<soap11env:Envelope xmlns:soap11env="http://schemas.xmlsoap.org/soap/envelope/"><soap11env:Body><soap11env:Fault><faultcode>soap11env:Client.ResourceNotFound</faultcode><faultstring>Requested resource '{http://soap.sforce.com/2005/09/outbound}notifications' not found</faultstring><faultactor></faultactor></soap11env:Fault></soap11env:Body></soap11env:Envelope> |
Beta Was this translation helpful? Give feedback.
-
I am not sure If there is an internal issue or if I am doing something wrong, but I can't get the proper schema for this XML. I appreciate it if someone could let me know how to build it.
Issue:
My code:
XML(request):
XSD:
Beta Was this translation helpful? Give feedback.
All reactions